lukas-tr / vscode-materialdesignicons-intellisense

Provides intellisense, search and hover preview for Material Design Icons
https://marketplace.visualstudio.com/items?itemName=lukas-tr.materialdesignicons-intellisense
MIT License
35 stars 7 forks source link

Autocomplete for @mdi/js destructive #3

Closed mririgoyen closed 5 years ago

mririgoyen commented 5 years ago

Using the latest of VSCode and your (awesome) extension, I found an issue that has been troubling me.

This should illustrate the issue: broked

Thank you!

lukas-tr commented 5 years ago

I fixed this by adding the following settings:

Just add the languages where this occurs to one of these arrays.

The reason for adding these settings is that vscode automatically replaces the current word with the text to insert only for some languages (like JavaScript). Additionally, when the typed text contains characters like : or - in JavaScript, vscode just inserts the completion instead of replacing mdi: or mdi-.

paritel99 commented 4 years ago

I can’t understand at all where to install it.

andyfensham commented 4 years ago

I also don't know where to install it.

lukas-tr commented 4 years ago

Open settings via F1 and enter preferences: open settings json. You can then add those 3 entries.

image

If you don't know the language identifier, you can list all languages by pressing F1 and entering change language mode. The identifier will be in parentheses.

image