vuejs / vetur

Vue tooling for VS Code.
https://vuejs.github.io/vetur/
MIT License
5.75k stars 594 forks source link

Color Picker support for Stylus #856

Open octref opened 6 years ago

octref commented 6 years ago

Color Picker support for Stylus.

This would be onDocumentColor for Stylus, similar to https://github.com/Microsoft/vscode-css-languageservice/blob/47e6f7e4d09de7142f5275658037eda39008b661/src/services/cssNavigation.ts#L180-L187

@ThisIsManta Would you have time to take a look?

ThisIsManta commented 6 years ago

I'm not familiar with the language server APIs. Hence, I would not give you any promises, but I will take a look on this on weekends.

Let me know if you have people handling this, so I can step away.

kevinmarrec commented 6 years ago

@octref @ThisIsManta Is it related to this issue ? (Color preview not displayed if lang="stylus")

screenshot_3

If not, please tell me, I'll open a new one.

This one has been closed : https://github.com/vuejs/vetur/issues/374 :/

octref commented 5 years ago

Yes, Stylus does not have documentColor support so it does not show the color preview.