Skip to content
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

Remove snippet support in <style> tag #17

Closed
Reedo0910 opened this issue Nov 4, 2016 · 6 comments
Closed

Remove snippet support in <style> tag #17

Reedo0910 opened this issue Nov 4, 2016 · 6 comments

Comments

@Reedo0910
Copy link

CSS code completion has returned in VSCode 1.7.1,but html snippet still works in <style> tag, and it's being chosen by default.
htmlsnippet

@abusaidm
Copy link
Owner

abusaidm commented Nov 4, 2016

Hello,

can you check to see what the "editor.snippetSuggestions" value is in your user settings?
try to put it to "bottom".

I haven't seen this one before so will need to investigate this issue further.

@Reedo0910
Copy link
Author

That's weird. I didn't change the "editor.snippetSuggestions" value, it is "bottom" by default.

@abusaidm
Copy link
Owner

abusaidm commented Nov 4, 2016

vs code seems to have improved its intelisense algorithm for finding the best match.
example:

"col" is only 3 letters and its a snippet you enabled for HTML, when you type co the engine is showing you the most relevant and that will be "col" followed by "color" ... as "col" is closer to "co" than "color" in the number of letters. And this only shows to things that are similar in snippet and the css.

let me know if that cleared things up.

@Reedo0910
Copy link
Author

Yes, that's what the new vscode has shown me.

@abusaidm
Copy link
Owner

abusaidm commented Nov 4, 2016

I think we will see what the vscode team will say about this, if its the way going forward or if this is a bug in the algorithm.

@Reedo0910
Copy link
Author

OK. Thanks for your reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants