- This topic has 14 replies, 6 voices, and was last updated 19 years, 4 months ago by garyp.
-
AuthorPosts
-
Sasha LapeiraMemberHi I recently upgraded to MyEclipse 3.8.1 (a clean install) running on Eclipse 3.0.1. I can no longer see the Code Snippets for HTML and Javascript which I used to have. When I click in the body of the snippets section and click “Customize” the only libraries I have available are:
JSF-F
JSF-H
Struts-Bean
Struts-HTML
Struts-Logic
Struts-TilesHow do I access the other libraries or import them?
Riyad KallaMemberIf you navigate (using Windows explorer) to <myeclipse install dir>\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.2\snippets, what files do you have there? You should have 11 XML files…
Also you might consider upgrading to 3.8.2 and applying the latest quickfix as it knocks out all the known JSP indexer out of memory exception issues that people were continuing to have problems with (along with a myriad of other bug fixes, enhancements, etc.)
Sasha LapeiraMemberI have all 11 xml files. I see the javascript, html and css xml snippet files, why can’t I see them in the IDE? I will upgrade to 3.8.2, do you recommend that I also revert back to eclipse 3.0 instead of 3.0.1?
Riyad KallaMemberI suggest you go with Eclipse 3.0.1, there were some 289 bug fixes over Eclipse 3.0 and it runs nicely with MyEclipse.
reza shahbaziMemberI had same problem, when I upgrage my eclipse to 3.1M6.
While I tried to import the snippets I got this exceptionUnhandled event loop exception Reason: Failed to execute runnable (java.lang.IllegalArgumentException)
I realizded the xml file problem for missing snippets.
Then I opened files with Notepad copy(cntrl+c) it and then reopened file with another editor (I am using Crimson) then paste (ctrl+v) to it.
Then import worked fine.
PS. to import an snippet file, while you are in snippets window, right click and select customize and then click import icon.
tenjinMemberHi,
I’m having exactly the same problem.
I have 3.0.2 of Eclipse with the 3.8.4 GA release of the IDE.
I have tried editing the files as the last poster suggested, but that didn’t work.
I only have the JSF and STRUTS snippets available; none of the others, although the files are present in the folder.
Any ideas?
Regards
D.
Riyad KallaMembertenjin,
Can you walk me step-by-spte through what you are doing so I can reproduce this problem locally?
tenjinMemberHi,
I have MyEclipse installed and working fine (see versions in earlier post).
The snippets tab at the bottom of the screen doesn’t show all of the snippets in the:
<myeclipse install dir>\eclipse\plugins\com.genuitec.eclipse.wizards_3.8.2\snippets
– folder.
As per the other tester I tried opening one of the files in notepad and cutting and pasting it back into the file using another editor. That had no effect. I guess he was thinking about possible bad characters, UTF problems etc.
When I try to import the snippets using [snippet window]->customise->import the process just fails silently.
Interestingly enough on my home machine I have all the snippets available, but I am running an earlier version of Eclipse (3.0.1) and 3.8.2 of MyEclipse. I’ll try upgrading both now and see if I get the same problem.
Cheers
D.
tenjinMemberHi,
I’ve just upgraded my home machine and everything worked fine.
No idea why my work machine has lost the snippets.
Any ideas?
Cheers
D.
Riyad KallaMemberStrange, could have been a corrupt workspace, but I’m glad it is working now.
tenjinMemberHi,
My home machine is fine, but my work machine is still broken, so any help you could give me would be appreciated.
What do you think could be wrong with the workspace?
Regards
D.
Riyad KallaMembertenjin,
try this: File > Switch Workspace > C:\tempworkspace > Hit OK to restart, now try and use the snippets, are they there? If not, then your workspace is fine and I would suggest a clean reinstall of Eclipse and MyEclipse, as long as you use the old workspace you won’t loose any information or need to setup anything new.
MMMMemberFor the 3.8.4 GA release we do have two XML files with description of the F and H snippets. That is the reason why we see just only JSF-F and
JSF-H tags. I would like to modify the question as how to add another snippets like JSF-C?
Riyad KallaMemberCurrent snippets are not user defineable, you CAN do it by editing the plugin files but this isn’t officially suppprted. We may look into opening this up in the future.
garypMemberI am having the same problem with missing snippets. I see all the xml files in the com.genuitec.eclipse.wizards_3.9.210/snippets directory, but I do not see the javascript,html form or list snippets in eclipse. I installed this on both a Windows and Linux box with the same results. For both of these installations, i removed the 3.8.4 release before installing the 4.0M2 release. i did have success in being able to see those missing snippets when I installed the 4.0M2 release over the top of the 3.8.4 release – that is, I did not uninstall the 3.8.4 release before installing the 4.0M2 release
-
AuthorPosts