- This topic has 16 replies, 4 voices, and was last updated 6 years ago by eric.r.glass.
-
AuthorPosts
-
eric.r.glassParticipantAfter the latest update of CodeMix the Preferred Editors is not saving when the Apply button is selected. We prefer to use the HTML5 editor that comes with Eclipse for *.xhtml file types. We try to remove the selection to use the CodeMix editor as the default, but it will not save. Right now we have to remember when opening a workspace to always set the default editor back our preferred editor. Let me know what additional information you might need. Thanks.
Attachments:
You must be logged in to view attached files.
timwebbKeymasterOdd! One of our engineers is taking a quick look now.
Mind sharing this file from before and after clicking Apply?
.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.code.ui.prefsThanks!
eric.r.glassParticipantI thought I would try restarting Eclipse for the third time and see if it had the preferred settings saved and the default editor was still set correctly; and it did this time, so I do not now why the other times it did not work. I do know corporate has the file system jacked up with a product called Digital Guardian that watches all file access, so maybe something with it. It has caused issues in the past with Eclipse. Thanks for responding and trying to take a look at this.
Bartłomiej ŁączkowskiModeratorHi Eric!
Could you possibly replace the com.genuitec.eclipse.code.ui_2.0.0.201810231532 plug-in from your <codemix-install>/plugins directory with the one attached (you need to unzip it first) and let us know if that helps? Please also check if the plug-in id in your plugins directory matches the attached one before doing that, if not please let me know and I will generate the one with correct id for you.
Thanks!
- This reply was modified 6 years ago by Bartłomiej Łączkowski.
Attachments:
You must be logged in to view attached files.
eric.r.glassParticipantHi there,
After restarting with the com.genuitec.eclipse.code.ui_2.0.0.201810231532 plug-in provided, which did replace the existing one with the same version, still having the issue were the file type *.xhtml is being set back to using the CodeMix editor. Can not get it to stop setting this back. The only thing that I can see is that it is setting it to the CodeMix Nunjucks editor as the default. I have attached the before and after of the com.genuitec.eclipse.code.ui.prefs file as requested previously. Let me know if you need anything else. Thanks.
eric.r.glassParticipantSorry, needed to zip the files before uploading.
Attachments:
You must be logged in to view attached files.
timwebbKeymasterThanks Eric for the files. Mind confirming some quick information about your environment?
What version of Eclipse & flavor of Eclipse? (eg. Eclipse 2018-9 JEE)
Any key additional plugins you have installed?Cheers
eric.r.glassParticipantHere is my eclipse configuration. I was working fine with this configuration until the latest CodeMix update, and then started to have all kinds of issues. The latest I just came across in the last hour was with using the CodeMix SASS editor I can not copy and paste anymore, so I am reverting back to using the CSS editor.
eric.r.glassParticipantI was hoping to upload a simple text file, but here is the eclipse configuration file zipped.
Attachments:
You must be logged in to view attached files.
timwebbKeymasterWould it be possible to get a quick screencast/video showing the editors misbehaving, using the editor that does work and/or jumping onto a quick GoToMeeting?
Nothing else from the configuration jumps out re: other plugins, strange paths, etc. from how we are normally testing CodeMix.
eric.r.glassParticipantI restarted Eclipse again, and now the CodeMix SASS editor is working properly. Before the restart, besides me noticing that the copy and paste would not work, the color and formatting in the editor was not working, all the text was the same font black color. I can do a GoToMeeting with you all. I am going to be at work until 4:30 PM EST today; and starting tomorrow at 8:30 AM EST.
Aaron LaraMemberEric, we are still looking at what could cause such issues. I don’t think a GoToMeeting will help right now if the issue is not replicable, however it would be really helpful if you can send us some extra information regarding communication between eclipse and the CodeMix engine. For that it’s required to add a couple lines into your eclipse.ini (after -vmargs) and restart eclipse:
-Dcom.genuitec.eclipse.engine.log=true -Dcom.genuitec.eclipse.engine.log.verbose=true
It will generate some log files like
<home>/.codemix/codemix-<date>.log
with helpful information for us.If you hit the SASS editor issue again just send us the latest log you have.
Feel free to remove the lines from eclipse.ini if no more issues are noticed in editors.
Thanks!
Aaron Lara- This reply was modified 6 years ago by Aaron Lara.
eric.r.glassParticipantI captured both the CodeMix and the eclipse logs hoping you can see something. The CodeMix SASS editor is working fine now, but I am still having an issue with the Preferred Language not allowing me to turn off using the CodeMix editor for the *.xhtml file types.
Attachments:
You must be logged in to view attached files.
Aaron LaraMemberEric, I forgot to mention we managed to replicate the *.xhtml issues and we are working on a fix for it, sorry about that. Regarding the communication logs, they are helpful in the context of the SASS editor issue. Please send us the logs if you manage to replicate issues with the editor not responding.
Sorry about the confusion.
Aaron Lara
timwebbKeymasterEric, regarding the XHTML issue, could you please just confirm what you see when you do Open With on your XHTML file? For instance, this is what I see (attached).
The interesting ones are the HTML Editor and HTML :: CodeMix for my install. Do you see others?
It turns out that we already should give preference to XHTML if there is an editor present. From your install, it looks like you should be getting it from:
org.eclipse.wst.html.ui (1.1.0.v201803282043) “HTML UI Source Editor” [Active]Attachments:
You must be logged in to view attached files. -
AuthorPosts