How to automatic generate variable in neovim like in Jetbrains IDEA

68 views Asked by At
  1. when new a ArrayList in Jetbrains IDEA , like:

      new ArrayList<String>()
    
  2. then write '.var' at last

     new ArrayList<String>().var
    
  3. then press Tab,IDEA automatic generate the local variable

     ArrayList<String> strings = new ArrayList<>();
    
  4. Question: if use neovim, is there any plugin for this scene? now i use Luasnip plugin and friendly-snippets plugin

0

There are 0 answers