enyancc / vscode-ext-color-highlight

Extension adds colored border around css/web colors in the editor
GNU General Public License v3.0
261 stars 83 forks source link

@import in scss file seems stop this plugin rendering #39

Open rluiten opened 7 years ago

rluiten commented 7 years ago

I am using a trick to pull in the bootstrap defaults so can then create derived values in a different scope and force export my variables as !global as need. For trick see https://stackoverflow.com/a/38225564/103491.

It appears that the @import in the scss file stops hilighter from working in the file.

I am on windows 10 in vscode 1.16.1

image

Without the @include

image

jamesMcMeex commented 5 years ago

Hi,

I am seeing this behavior as well, and made a few more observations that might help:

The screenshot following screenshot shows the observations as above:

color-highlight-import-bug

Some system info: Version: 1.35.0 (system setup) Commit: 553cfb2c2205db5f15f3ee8395bbd5cf066d357d Date: 2019-06-04T01:17:12.481Z Electron: 3.1.8 Chrome: 66.0.3359.181 Node.js: 10.2.0 V8: 6.6.346.32 OS: Windows_NT x64 6.1.7601

I'm also have the followng extensions enabled:

alefragnani.project-manager be5invis.vscode-custom-css christian-kohler.npm-intellisense christian-kohler.path-intellisense dbaeumer.vscode-eslint dracula-theme.theme-dracula eamodio.gitlens EditorConfig.EditorConfig HookyQR.beautify mrmlnc.vscode-pugbeautify ms-vscode.vscode-typescript-tslint-plugin naumovs.color-highlight sallar.vscode-duotone-dark Shan.code-settings-sync shinnn.stylelint streetsidesoftware.code-spell-checker vincaslt.highlight-matching-tag wesbos.theme-cobalt2 Zignd.html-css-class-completion

megclaypool commented 4 years ago

I'd like to add on my hopes that this bug will be addressed soon -- it is definitely making this extension much less useful to me 🙁