Feature Request: CSS Intellisense
I realize this may be extremely difficult or impossible, but the one feature I would like is to have is the same auto complete that Visual Studio provides if you are on a style sheet.
My CSS knowledge is growing over the years, but as I use BlazorStyled I find myself switching over to my site.css to ensure I have the correct syntax, and then switching back to my .razor page.
If you can come up with any way to do this for Version 3, it would be a useful feature for everyone I would think.
I have created some Visual Studio Extensibility packages, but never looked at extending CSS menus.
If you are interested, here is a link that talks about Intellisense towards the bottom:
https://docs.microsoft.com/en-us/visualstudio/extensibility/language-service-and-editor-extension-points?view=vs-2019
The hard part is the where does Visual Studio pull the information from if you are on a style sheet page.
Have you considered something like this?
Thanks
I think of something similar, my idea was a VS Extension to colorize the CSS inside of a <Styled /> tag - intellisense is even better though!
I will read the article you sent and give it some thought. It will be out of band update if I can even get it working as it is not directly tied to the same package. If I get anything working, I will start a new repo and update this issue page wit the link. Thanks!
PS I am putting the help wanted tag on this issue - anyone that wants to help make a VS extension (And VS Code!) please reach out to me.
Mads' extension is open source. Might be useful to lift the code for stylesheet intellisense from there: http://vswebessentials.com/features/stylesheets