Does Rubymine have the feature code snippet and all auto-complete

I'm used to the sublime  text 3 editor.

It has many handy features.

take the code snippets for example,

Once you type

begin
then press TAB

It will generate the corresponding code block
begin

rescue Exception => e

end
 
The plugin All Autocomplete

It can show the auto-complete hint for all opened files.


For example, if you have a variable name called

taiwan_is_awesome


then you can get the autocomplete in other files.

Does Rubymine has the above features ?

If yes, what's the corresponding keymap ?

It's important for me to use those features.

THanks

1 comment
Comment actions Permalink

Hi,

the first feature is called "Live Templates" in RubyMine see https://www.jetbrains.com/ruby/webhelp/live-templates-2.html for more details
As for code completeion, it is supposed to work for everything you have in the project and we do not care if the file is opened or not.

Shortcuts for the actions depend on the keymap RubyMine is configured to use, see menu Code|Insert Live Template and Code|Completion to find out the shortcuts.

Hope I've answered your questions.

Regards, Oleg.

0

Please sign in to leave a comment.