-
Notifications
You must be signed in to change notification settings - Fork 511
New syntax coloring doesn't work correctly (preview) #2850
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
Comments
One thing I spot in the logs seems to be an error in Pester here. Don't think it's related to the syntax highlighting though |
Thanks @PrzemyslawKlys if this happens again could you see if you are able to get feedback from the extension in any other way (like completions)? |
I'm pretty sure it's related to a known issues that I'm having quite often when everything stops working (completions etc). With this new approach is much easier to spot when there are issues with performance. |
In less than 30 minutes - I didn't even run the code, did like 3 edits, and looked away. When I came back adding anything to code would not highlight properly (check lines 22,23,24). Here are the logs: We really need improvement in stability because more and more features are reliant on it. Maybe consider adding an option to use "old" highlighting and new highlighting so people can switch/choose? I know you're hard at work with it, but as it stands I have to restart my session every 30 minutes or less if I want to have things running. |
@PrzemyslawKlys when you sent those last logs, did you capture the logs while the extension was running or did you close vscode and then copy the logs? The reason I ask is because it looks like the language server was asked to shut down and I wanna know if that was intentional or not. Also, this was an odd thing I spotted in the log: 2020-08-07 09:23:51.101 +02:00 [VRB] Loaded 'pf50wdtn, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' from '' It's also odd that I only see queuing of the Semantic Token request and not handling. Probably need to add some logging somewhere. |
The last one was "intentional" sort of. I went to Open Logs Folder and clicked Restart session by accident. |
1596894776-765f03f3-0486-43d7-9e74-5a2f57e7ef801596891995787.zip This is like 2 minutes into session. |
It seems when this happens all other functionality is in place. As in completion works. |
We've updated to the latest Semantic Highlighting changes so it's possible that this will be addressed in the next preview (probably next week) |
I started using the following configurations
Honestly I don't understand way bother adding new features to this extension, it just make it even slower and unstable so the overall experience worst. |
I believe that's what @rjmholt is doing right now, and a reason why we didn't see new releases for a while now. That they are working on making it more robust. I guess it's so much you can do in current implementation that they need to rewrite huge portions of it, in which case things take time. I feel your pain every day and I restart PowerShell instance every X minutes because something stops working. Right now intellisense stops working, highlighting stops working, types completion stops working but there's not much I can do. |
This issue was closed automatically as repro info was indicated as needed, but there has been no activity in over a week. Please feel free to reopen with any available information! |
I know the bot closed this automatically, but I wanted to add that we intentionally disabled semantic highlighting by default a while back in #3377 because it was too buggy. Eventually when the rest of the backlog is cleared out I plan to work on stabilizing that feature and re-releasing it with proper test coverage. |
Issue Description
I am experiencing a problem with... coloring syntax.
I know Monokai is not yet working properly (I saw a PR fix for this) but it was showing more or less consistently. But now I noticed that something is weird
I can continue adding new lines:
And it seems like it stopped working. Restarting PS session fixes this issue.
Attached Logs
1596304553-9b1c68c9-c15f-43c6-9739-e1b537cd361b1596304549455.zip
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: