- This topic has 9 replies, 3 voices, and was last updated 4 years, 4 months ago by Aaron Lara.
-
AuthorPosts
-
eric.r.glassParticipantAfter the Eclipse upgrade to 2020-06 4.16.0, every time I open the workspace and want to work on JavaScript I have to recreate the editor association. I even went through the process of installing a complete new install of Eclipse 2020-06 and all of the plugins, not that many, including CodeMix, and still have the same issue. I would set up the editor association to *.js with the CodeMix JavaScript editor as the default; and the next time I reopen the Workspace it is totally gone. I am at a lost on why this is happening. Of course the work around is to constantly redefine it. Any help in this would be appreciated.
eric.r.glassParticipantAdditional information, running Windows 10 with jdk1.8.0_241. Went into Preferences -> General -> Content Types. Under ‘Text’ is ‘JavaScript Source File’, it too did not have the CodeMix JavaScript Editor added. After adding it to the list of editors in Content Types, then it was added as the default editor for the file associations. This too is being lost every time I reopen the workspace!
support-swapnaModeratorEric,
We could replicate the issue at our end with Eclipse 2020-06 and from our investigation it looks like Wild Web Developer plugin is resetting the default editors and taking precedence over CodeMix editors.
If you are not working with Generic Editors, then please go ahead and uninstall the Wild Web Developer plugin, restart the IDE and check if the CodeMix default editors are being retained. You can uninstall the plugin from Help > About Eclipse > Installation Details > Installed Software tab.
I ran few tests without that plugin on Eclipse 2020-06 and the editor association with CodeMix looks fine.The dev team is working on the fix and we will keep you posted when the fix is out.
Apologies for the inconvenience caused.
–Swapna
Genuitec Support- This reply was modified 4 years, 4 months ago by support-swapna.
eric.r.glassParticipantSadly to say. I already uninstalled the Wild Web Developer plugin that is part of the distribution. I tried this plugin earlier in the year and it was throwing errors all of the time. It does not come close to what CodeMix provides. I did install the original WST JavaScript Developer Tools plugin, thinking I needed it. So I have uninstalled it also and it did not fix the issue. I guess the next thing to try is another reinstall of Eclipse and all of the plugins I use. I will make sure to uninstall the Wild Web Developer plugin before I install the CodeMix plugin.
support-swapnaModeratorEric,
Sorry that you are still seeing the issue post uninstalling Wild Web Developer.
Can you please clear the contents of the .log file located at workspace dir/.metadata/.log, replicate the issue with editor association and send us the .log file to help us investigate further? Rename the .log to .txt and attach it here.
Please also share with us the list of other third party plugins that are installed.
–Swapna
Genuitec Support
eric.r.glassParticipantHere is the .log file from the Eclipse workspace. I could not see anything in it, but maybe you will see something that is causing this issue.
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorEric,
Thank you for the file. You are right, no related errors logged.
Can you please check if you see the issue in a new workspace, now that Wild Web Developer is uninstalled.
We are looking at releasing the fix sometime next week.–Swapna
Genuitec Support
Aaron LaraMemberHello Eric, the good news is that we already have a fix for this issue. It would be cool if you could give the fix a try just to make sure it also solves your case. To test the fix, please follow the instructions:
0. Make sure you are in the latest version of CodeMix (Help > Check for updates).
1. Shut down Eclipse
2. Download and extract the attached plugins.zip file
3. Copy over the jar file into your eclipse/plugins/ directory and make sure you override the other one with the same name.
NOTE: If there was no existing jar with the same name the patch won’t work. If you installed Eclipse using the oomph installer the default location for the plugins folder is/.p2/pool/plugins/.
3. Edit the eclipse/eclipse.ini file by adding -clean as a new line at the very top.
4. Start Eclipse. By this point, it should already take the fixes.
5. Remove the -clean line from eclipse.ini as it will no longer be needed (slows down startup).Please let us know your observations.
Cheers!
Aaron LaraAttachments:
You must be logged in to view attached files.
eric.r.glassParticipantSorry, I just got done recreating the workspace by deleting the .metadata; and it fixed the issue. I did try a new Eclipse install, and of course it did not fix the issue, so it was something left over from the Wild Web Developer plugin in the workspace .metadata. I will give the plugins a try. I wish I would of kept the previous .metadata, so I could give it a try. I guess I can install Wild Web Developer again; and install it to give the plugin fix a try.
Aaron LaraMemberIt’s great that your installation is now working correctly. If you are already good there’s no need for you to install WWD and test the fix, it should be just fine. I appreciate it.
Thanks!
Aaron Lara -
AuthorPosts