Comments (2)
You've mentioned there the perfect scenario. What about a less perfect scenario: input[name=bar]
. This will solve to <input name="bar" />
which is exactly the same output as if you typed input
, solved this into a tag and then typed the attribute (you only maybe save one key stroke, the one time you have to press the double quotes to print out the pair of double quotes of the value of the attribute).
What will help in your case is what I've described in #16 : after you solve a block tag, first put the cursor just in place to enter attributes (properties) for the solved tag and then pressing tab again to jump you in place to type the tag content.
If you feel necessary, please reopen the issue.
from selector-to-tag.
PS: #16 will help achieve what you needed here. Coming soon :)
from selector-to-tag.
Related Issues (20)
- Emmet HOT 3
- Creating tag out of nothing
- Allow user-defined file extensions HOT 5
- Multiple tags at once HOT 3
- Invalid tag solved in middle of string
- Place cursor for attributes first then content
- Uncaught InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name pro...
- Doesn't work for me HOT 2
- Attribute selector completion HOT 3
- Nested elements HOT 1
- tag with upper case HOT 1
- support .vue HOT 3
- selector-to-tag not working in Atom 1.24.0 x64 version HOT 1
- Allow namespace prefix as valid tag name
- Can't use snippet in html tags anymore HOT 2
- Can't solve tag if another tag is preceding
- [Idea] Add attributes support to selector-to-tag HOT 1
- Expand block tags to multiple lines HOT 3
- When snippet ends with . results in empty class HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selector-to-tag.