- This topic has 18 replies, 5 voices, and was last updated 6 years, 6 months ago by louispepin.
-
AuthorPosts
-
louispepinParticipantHi guys,
I’m liking codemix a lot so far.
My problem is: sometimes after I save a file, the syntax highlighting disappears completely. It just goes back to black text on a white background. If I edit a line, the highlighting will come back but only for that line.
Any way to avoid this? Thanks!
This topic was linked to an Issue on April 20, 2018 at 2:24 pm
jonnnyParticipantI’m also experiencing this. But it seems intermittent now
Wojciech GalanciakParticipantHey Guys,
I am really happy that you like CodeMix so far. It is still under an intensive development and we appreciate any feedback, especially like this. Here are some questions which can help us in fixing this issue:
1) Have you noticed any specific pattern or any steps how to get into such state?
2) Does it happen after a long time spent in the same editor or more randomly?
3) Does it happen only only on save?Any help will be very welcomed. We are going to look at this issue closer and provide a solution as soon as possible.
Kind regards,
Wojciech Galanciak
Applications Development Manager
louispepinParticipant1) It seems to happen only on save. When I open a new file, the highlighting is back until I save again.
2) It doesn’t seem to matter. It happens even if I just opened codemix.
3) So far I only notice this behavior after saving the file, yes.Good luck!
Wojciech GalanciakParticipantSeveral more to narrow the issue:
1) What is your OS?
2) Can it be specific to a language/type of file?Kind regards,
Wojciech Galanciak
Applications Development Manager
Wojciech GalanciakParticipantSeveral more to narrow the issue:
1) What is your OS?
2) Can it be specific to a language/type of file?Kind regards,
Wojciech Galanciak
Applications Development Manager
jonnnyParticipantMine was Windows 7 and PHP.
My issue does seem reduced currently. But on my first downloading it was in every file. I’m yet to see it happen for about a day now.
louispepinParticipant1) I’m using Linux Mint 18.2, I haven’t tried codemix yet on windows.
2) It happens on HTML, Typescript and CSS files – I haven’t tried codemix on other languages yet. To reproduce, I can add a space at the end of any line in the file, press CTRL + S, and the file will save but the highlighting will disappear.Adding a screenshot of the typescript file I’m currently working on. You can clearly see the black lines at the top of the screen where the highlighting was lost, and then the highlighting being functional for the lines I was currently editing!
Attachments:
You must be logged in to view attached files.
Brian FernandesModeratorCan both of you share the list of extensions you have installed? If you could take a few screeenshots of the extensions listed at Help > CodeMix Extensions, that might point us to an extension that may be responsible for these issues.
louispepinParticipant
Brian FernandesModeratorThank you for the screenshots – unfortunately, nothing in that extension list that is unusual, we internally run with more or less the same set of extensions too.
I will say we have seen this problem as well, so we know it exists – but it has been occurring very rarely and we haven’t found a reliable way to reproduce it yet. Rest assured, our team is working on it, anything else you can think of will help a great deal.
—
The reported issue has been logged in our issue tracker – see the top of this thread for a link. Feel free to vote-up this issue, as well as others you find important!
https://www.genuitec.com/go/codemix-top-issues
louispepinParticipantHi guys,
I noticed that the issue seemed to coincide with when the editor tries to remove trailing whitespace for you as you save. For me that’s when the syntax highlighting is usually lost (for example, add a space at the end of a code line, press CTRL + S, trailing space is removed but syntax highlighting is also lost).
I went to Settings > General > Editors > AnyEdit Tools and I unchecked “remove trailing whitespace” and I haven’t had the problem since.
Hope this helps
jonnnyParticipantSimilar to this, I’m finding weird characters as of today pop up sometimes.
Attachments:
You must be logged in to view attached files.
Brian FernandesModeratorLouis,
I went to Settings > General > Editors > AnyEdit Tools and I unchecked “remove trailing whitespace” and I haven’t had the problem since.
This is a GREAT lead, thank you! This will definitely help us track down what is hopefully the only source for this problem. We’ll let you know when it’s fixed.
Jonny, this looks like the cursor is being left behind somehow. Has this started happening only today? Any changes to your environment or are you using any new keybindings?
jonnnyParticipantHi Brian
Only started today and no changes on my end. Unless there was an update that loaded in the background.
-
AuthorPosts