theron-wang / VS2022-Editor-Support-for-Tailwind-CSS

Unofficial VS2022 Tailwind CSS extension for IntelliSense, linting, sorting, and more to enhance the development experience in Visual Studio 2022.
https://marketplace.visualstudio.com/items?itemName=TheronWang.TailwindCSSIntellisense
MIT License
89 stars 5 forks source link

Error message when removing double quotes from the class attribute #54

Closed jan-franek closed 2 months ago

jan-franek commented 3 months ago

When you have a class attribute, for example: <div class="col-start-2">some content</div> and remove either the first double quote or you select the second double quote with some text before it you get "Microsoft Visual Studio error" - "Object reference not set to an instance off an object". This happens every time on Visual Studio 2022 17.9.6

theron-wang commented 3 months ago

and remove either the first double quote or you select the second double quote with some text before it you get "Microsoft Visual Studio error" - "Object reference not set to an instance off an object".

I wasn't able to reproduce this exact error, but an ArgumentOutOfRangeException also occurred with the same behavior. That error is fixed in 1.4.4, but I'm not sure about this exception. If this issue persists, could you provide the file type and full file (if possible)? Thanks.

theron-wang commented 2 months ago

If you still encounter this issue, feel free to let me know or just re-open this issue!