[ANN] eSnippet plugin 1.0 Released

eSnippet contains a snippet repository and IDE plugin. Snippet repository maintains all snipets and supply services for browser users and the plugin. Snippet repository adopts ExtJS to create UI and it is very convenient. eSnippet plugin can search the central code repository and other snippet sites, such as DZone snippets, regexlib.com and so on. You can add or edit snippet in central code repository, and you can share you code much easy. Each snippet contains a mnemonic string, such as 'hibernate-config', if you input mnemonic string in the editor then press CtrlAlt/, and the snippet will be filled in current editor, just like live template. You can also create file according to mnemonic.
BTW, thanks Anki R Nelaturu(the author of iSnippet plugin), and I use your code to create plugin's UI and some functions. I have put all the code in Google Code, and site is http://code.google.com/p/esnippet. You can use these code to create your owner snippet repository. snippets.intellij.net should be ok for all fans :) and code share can make us happy during coding.
Snippet Repository Site is http://snippet.mvnsearch.org



Attachment(s):
snippet_code_completion.png
repository_ui.png
eSnippet_plugin.png
4 comments
Comment actions Permalink

Doesn't work for #8940 on Mac, compiled with 1.6?

java.util.Properties.stringPropertyNames()Ljava/util/Set;
java.lang.NoSuchMethodError: java.util.Properties.stringPropertyNames()Ljava/util/Set;
at jsyntaxpane.DefaultSyntaxKit.initKit(DefaultSyntaxKit.java:118)
at jsyntaxpane.DefaultSyntaxKit.(DefaultSyntaxKit.java:44) at org.mvnsearch.snippet.plugin.actions.SearchPanelForm.]]>(SearchPanelForm.java:87)
at org.mvnsearch.snippet.plugin.SnippetProjectComponent.projectOpened(SnippetProjectComponent.java:42)
at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:23)
at com.intellij.openapi.project.impl.ProjectImpl.access$300(ProjectImpl.java:44)
at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:6)
at com.intellij.openapi.project.impl.ProjectManagerImpl$2.projectOpened(ProjectManagerImpl.java:13)
at com.intellij.openapi.project.impl.ProjectManagerImpl.d(ProjectManagerImpl.java:337)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:265)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:17)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:154)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:53)
at com.intellij.ide.RecentProjectsManager.doOpenProject(RecentProjectsManager.java:5)
at com.intellij.ide.RecentProjectsManagerBase$MyAppLifecycleListener.appStarting(RecentProjectsManagerBase.java:9)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:101)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:182)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:174)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:166)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:40)
at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:106)
at $Proxy34.appStarting(Unknown Source)
at com.intellij.idea.IdeaApplication.b(IdeaApplication.java:57)
at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:51)
at com.intellij.idea.IdeaApplication$IdeStarter$3.run(IdeaApplication.java:14)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:27)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:99)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0
Comment actions Permalink

According to the JavaDoc (now included free with each purchase of a Sun JDK!!) that method was indeed introduced in Java 1.6.


RRS

0
Comment actions Permalink

Yes, compiled by Jdk 1.6. Maybe I should compile the code with jdk 1.5.

0
Comment actions Permalink

Be prepared: you will have to come up with replacements for the 1.6-only library classes and / or methods you're currently using.

Randall Schulz

0

Please sign in to leave a comment.