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

Request: Add ability to selectively turn off or specify priority of emmet auto suggestions in Svelte files #677

Closed
saikatdas0790 opened this issue Nov 17, 2020 · 1 comment
Labels
feature request New feature or request Fixed Fixed in master branch. Pending production release.

Comments

@saikatdas0790
Copy link

saikatdas0790 commented Nov 17, 2020

Is your feature request related to a problem? Please describe.
I'm always frustrated when I'm trying to write CSS in the style block of Svelte components and the CSS autosuggest comes up with two entries for the style I'm trying to write. The first one is from Emmet and the 2nd one is from autocomplete.

Describe the solution you'd like
I would like either or both if possible:

  • A VSCode setting that disables emmet selectively in sections, for example, turn off emmet for CSS but keep it enabled for HTML
  • A VSCode setting to specify the order of the autosuggest being suggested where I can prioritize autocomplete over emmet

Describe alternatives you've considered
I've tried to mess around with VSCode settings but these settings are specific to the Svelte VSCode extension

Additional context
Here's an example

image

I want to use the 2nd "padding" autosuggest as compared to the first which comes from emmet

To clarify why this is a problem, when I write a style like "position" with "pos", I want to just have autosuggest autocomplete the "position" part but emmet also adds the "relative" value when completed. Check here

image

@dummdidumm dummdidumm added the feature request New feature or request label Nov 17, 2020
@dummdidumm dummdidumm added the Fixed Fixed in master branch. Pending production release. label Dec 11, 2020
@dummdidumm
Copy link
Member

You can now turn off css emmet completions through this setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request Fixed Fixed in master branch. Pending production release.
Projects
None yet
Development

No branches or pull requests

2 participants