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

Feature Request: CSS Intellisense #77

Open
DataJuggler opened this issue Mar 16, 2020 · 2 comments
Open

Feature Request: CSS Intellisense #77

DataJuggler opened this issue Mar 16, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@DataJuggler
Copy link

DataJuggler commented Mar 16, 2020

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

@chanan chanan added enhancement New feature or request help wanted Extra attention is needed labels Mar 16, 2020
@chanan
Copy link
Owner

chanan commented Mar 16, 2020

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.

@chanan
Copy link
Owner

chanan commented Mar 16, 2020

Mads' extension is open source. Might be useful to lift the code for stylesheet intellisense from there: http://vswebessentials.com/features/stylesheets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants