-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add HTML autocomplete to backticks #800
Comments
Emmet support with inline templates would be even more great |
@Emnalyeriar, I actually have this setup in mine. One of the cool things about the Emmet package is that you can easily tell it other grammars to expand in. I have this in my keymap.cson: 'atom-text-editor[data-grammar="source ts"]:not([mini])': It'd be nice to find a way to only make Emmet work inside of the template tags, but I'm not sure if that's possible without actually adding something specific to the Emmet package itself. |
@jbarket Thanks I'll try this! |
Hi, for me it doesn't work :/ keymap : |
there is greate extension for that https://marketplace.visualstudio.com/items?itemName=jakethashi.vscode-angular2-emmet |
This issue has been marked as stale because it did not have any activity for the last 90 days or more. Remove the stale label or comment or this will be closed in 14 days |
Following up on #221 (shout out to @jbarket for implementing this!), it would be great to also add support for HTML element autocompletion. Perhaps this is only relevant for use with Angular, or there could be an option to toggle this feature.
Currently, it has autocomplete options but pretends to be in the global typescript context. This can lead to confusing autocomplete suggestions such as:
(Note how the term "directives" is used as part of Typescript in line 27 and therefore suggested in line 33 even though we're in HTML land at that point.)
Ideally the autocompletion would also auto-close tags, tab through attributes, etc, just like in any other
.html
file.The text was updated successfully, but these errors were encountered: