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

CSS intellisense in Visual Studio Code #423

Open
RothAndrew opened this issue Feb 21, 2016 · 4 comments
Open

CSS intellisense in Visual Studio Code #423

RothAndrew opened this issue Feb 21, 2016 · 4 comments

Comments

@RothAndrew
Copy link

Is there a way to get CSS intellisense when using ngbp in Visual Studio Code?

Intellisense for things like FontAwesome and Bootstrap would be extremely helpful.

@atolchinsky
Copy link

Couldn't agree more.

@JasonHanson77
Copy link

JasonHanson77 commented May 19, 2017

In the latest version of VS Code the IntelliSense in comments and strings have been disabled by default. Below are the two options to bring back "24/7 IntelliSense" functionality or customize it to your own liking.

First make sure you have installed the HTML CSS Support Extension mentioned by dwonisch above.

Control + ',' to go to settings or click File -> Preferences -> Settings.

Click workspace settings tab and enter the following JSON code:
{ "editor.quickSuggestions": { "comments": false, // <- no 24x7 IntelliSense in comments "strings": true, // but in strings and the other parts of source files "other": true } }

The other option is to hit ctrl + space within the CSS quotes to activate the intelliSense. Example:

<div class="(ctrl+space)"> </div>

@bariscanyilmaz
Copy link

adsiz

@bariscanyilmaz
Copy link

"ctrl" + "," opening settings.json page paste code

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

4 participants