facebook

CodeMix Preferred Editors not saving selected options

  1. CodeMix & Angular IDE
  2.  > 
  3. Getting Help
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #601119 Reply

    eric.r.glass
    Participant

    After 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.
    #601123 Reply

    timwebb
    Keymaster

    Odd! 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.prefs

    Thanks!

    #601128 Reply

    eric.r.glass
    Participant

    I 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.

    #601158 Reply

    Hi 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!

    Attachments:
    You must be logged in to view attached files.
    #601176 Reply

    eric.r.glass
    Participant

    Hi 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.

    #601177 Reply

    eric.r.glass
    Participant

    Sorry, needed to zip the files before uploading.

    Attachments:
    You must be logged in to view attached files.
    #601180 Reply

    timwebb
    Keymaster

    Thanks 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

    #601184 Reply

    eric.r.glass
    Participant

    Here 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.

    #601186 Reply

    eric.r.glass
    Participant

    I 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.
    #601189 Reply

    timwebb
    Keymaster

    Would 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.

    #601190 Reply

    eric.r.glass
    Participant

    I 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.

    #601192 Reply

    Aaron Lara
    Member

    Eric, 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.
    #601195 Reply

    eric.r.glass
    Participant

    I 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.
    #601197 Reply

    Aaron Lara
    Member

    Eric, 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

    #601199 Reply

    timwebb
    Keymaster

    Eric, 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.
Viewing 15 posts - 1 through 15 (of 17 total)
Reply To: CodeMix Preferred Editors not saving selected options

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in