Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Where are the code snippets?
Where are the code snippets? [message #898756] Fri, 27 July 2012 09:02 Go to next message
c.sileo is currently offline c.sileo
Messages: 10
Registered: July 2010
Junior Member
I've been working until now with eclipse indigo, where I used the code snippet view. It was located in the "general" section when opening a new view.

Now, in Juno, it's not there anymore. I found a view called "templates", and though having the same icon it doesn't work at all.

Is it a plugin I can install? If so, where can I find it?
Re: Where are the code snippets? [message #898851 is a reply to message #898756] Sat, 28 July 2012 00:09 Go to previous messageGo to next message
Enrico R. is currently offline Enrico R.
Messages: 43
Registered: July 2009
Location: Germany
Member

Hello,

The snippets view is available after you have installed the "Eclipse Java Web Developer Tools".

I must apologize, I had to correct my previous statement.

best regards
Rico

[Updated on: Sat, 28 July 2012 00:22]

Report message to a moderator

Re: Where are the code snippets? [message #899035 is a reply to message #898851] Mon, 30 July 2012 05:45 Go to previous messageGo to next message
c.sileo is currently offline c.sileo
Messages: 10
Registered: July 2010
Junior Member
Thank you very much, that's it!

I installed those web developer tools, and all my old snippets are there again. Meaning I can work now with the latest eclipse version.

Thanks a lot!
Re: Where are the code snippets? [message #899113 is a reply to message #898851] Mon, 30 July 2012 11:19 Go to previous messageGo to next message
Joseph Carroll is currently offline Joseph Carroll
Messages: 174
Registered: May 2012
Location: Milwaukee, WI
Senior Member

The 'Snippets' view should be available with every distribution.
Window -> Show View -> Other -> General -> Snippets
The default location for the view will be in the lower part-stack with the console and related views.

JD
Re: Where are the code snippets? [message #1001852 is a reply to message #899113] Thu, 17 January 2013 07:56 Go to previous messageGo to next message
Valentin Despa is currently offline Valentin Despa
Messages: 2
Registered: January 2013
Junior Member
@Enrico R., thank you very much, worked like a charm.

@Joseph Carroll It seems that the 'Snippets' are not inside the Classic distribution I was using.
Re: Where are the code snippets? [message #1001855 is a reply to message #899113] Thu, 17 January 2013 07:58 Go to previous messageGo to next message
Valentin Despa is currently offline Valentin Despa
Messages: 2
Registered: January 2013
Junior Member
@Enrico R., thank you very much, worked like a charm.

@Joseph Carroll It seems that the 'Snippets' are not inside the Classic distribution I was using.
Re: Where are the code snippets? [message #1244926 is a reply to message #1001855] Wed, 12 February 2014 22:44 Go to previous message
Cristiano Ghersi is currently offline Cristiano Ghersi
Messages: 1
Registered: February 2014
Junior Member
Hi, why don't you try Snip2Code plugin?

http://marketplace.eclipse.org/node/478177

It is a snippets manager that allows you to store your snippets on a cloud service so that your snippets are automatically synced in all your Eclipse installations. You may also share them with your team-mates, as well as find cool stuff from other coders of Snip2Code community.

Previous Topic:Workbench.xmi fails to load
Next Topic:How can I trace KeyBindings in RCP 4.3.1
Goto Forum:
  


Current Time: Fri Apr 18 10:20:35 EDT 2014

Powered by FUDForum. Page generated in 0.01881 seconds