-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
Randomly stops working #35
Comments
Hmm, someone raised a similar issue before but I couldn't repro. Can you tell me: |
I'm also experiencing this issue with Groovy files, both with and without a workspace. Same configuration, and both with and without folders (e.g., just a top-level folder named |
I think I had something similar happen to me just now. I'm working on Pebble SDK C files, with lots of Better Comments tags being used, and at some points it seemed like the editor was failing to properly discern what lines were supposed to be changed in color or not. It would seem to make certain sections of the code (by line) render in the incorrect color. I had some other files open in the same window but reside in a folder in the workspace root. Moving them to the same folder, the workspace root, solved the issues. |
Hey thanks for the info. Were the files quite large? To confirm: having files open in the editor from outside your workspace root and moving to ones inside seemed to cause issues? |
The one that was in the workspace root ('main.c') is fairly large sized, I think maybe ~150 lines, while the one that was in the folder ('main_old.c') is over 400 lines. I'm rewriting a Pebble watch app manually to make the code cleaner, less redundant, etc., and I have both files open at the same time in two panes, in the same VSC window. The issue occurred when 'main.c' was in the workspace root folder, and 'main_old.c' was in a folder named 'old' in the workspace root. Moving the files in the 'old' folder to the workspace root solved the problem. Very interesting behavior, but figured I'd share it because it seems to be a rare case. |
Thanks for the suggestions here @nickprivalov - mentioning the two open files at once was enough to get me onto the right track to chase down the bug. That one's been giving me the run around for a while now, so thanks :) |
Sometimes it works, then it stops working for no reason and it stays like this, only way i to get it back is to keep reloading, disabling and enabling shit, until it eventually pops back again when it feels like it.
this is my code from user settings
The text was updated successfully, but these errors were encountered: