che icon indicating copy to clipboard operation
che copied to clipboard

How to use code snippets with the Java Plug-in

Open wgbeckmann opened this issue 7 years ago • 2 comments

Hi, I want to create my own code snippets for auto completion in Java.

In the VSCode Documentaition I can read: Create your own snippets You can easily define your own snippets without any extension. To create or edit your own snippets, select User Snippets under File > Preferences (Code > Preferences on macOS), and then select the language (by language identifier) for which the snippets should appear, or the New Global Snippets file option if they should appear for all languages. VS Code manages the creation and refreshing of the underlying snippets file(s) for you. https://code.visualstudio.com/docs/editor/userdefinedsnippets

But I cannot find a similar thing in Theia. How do I create code snippets?

Thanks!

wgbeckmann avatar Sep 11 '19 16:09 wgbeckmann

cc @tolusha and @tsmaeder : This is a question for you.

slemeur avatar Sep 12 '19 07:09 slemeur

I don't think that is implemented, but there is a feature request: https://github.com/eclipse-theia/theia/issues/3686.

tsmaeder avatar Sep 12 '19 08:09 tsmaeder