-
Notifications
You must be signed in to change notification settings - Fork 6
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
Colour previews squares give inconsistent behaviour and are buggy. #59
Comments
Color boxes are handled by the base LSP package but the issue has more to do with how ST handles "phantoms" than with anything being wrong in LSP code. You can see various related issues in sublimelsp/LSP#2007 (the |
I just attached a video to better showcase what is happening: |
Hello @JamesDelph, I hoped that once sublimehq/sublime_text#6098 is fixed, Unfortunately, the 6098 fix still hasn't fixed this issue. I would suggest you to open a dedicated issue at the sublime text repo https://github.com/sublimehq/sublime_text/issues |
Closing this, the reason is specified in my last comment. |
If you have aligned lines like this;
the cursor alternates between sitting on the left and the right of the colour preview square. When multi-line editing, each cursor will alternate, which is rather misleading.
When word wrap causes a break between the colour preview and the class name, cursor movement breaks. Trying to use Shift+arrow keys over a line like this will cause the cursor to skip a massive chunk of code (I think it goes down to the closing tag of the parent element).
In the interim if these things annoy you you can turn them off by adding;
to your LSP-tailwindcss.sublime-settings
The text was updated successfully, but these errors were encountered: