JoleMile
JoleMile

Reputation: 87

Pycharm-like autocompletion in Vim

Is there a way to make "Vim's autocomplete" act like Pycharms?

I tried YouCompleteMe but it doesn't show all the possible functions and variables after the first letter typed. I find this extremely useful because I'm still a beginner.

I'm looking for the same thing for C++. The reason I don't want to use Pycharm and Clion is hardware limitation and I really like Vim.

Can it be done somehow?

Upvotes: 8

Views: 1635

Answers (1)

mo1ein
mo1ein

Reputation: 615

I use deoplete . first install it then install deoplete-clangx for cpp and deoplete-jedi for python . If you have plugin manager, add these lines to your ~/.vimrc :

Plug 'Shougo/deoplete.nvim'
Plug 'Shougo/deoplete-clangx'
Plug 'deoplete-plugins/deoplete-jedi'

Then save file and type :PluginInstall for install plugins . ( if your plugin manager is Vundle , you must use Plugin instead of Plug )

Another way

You can use ultisnips .

Upvotes: 1

Related Questions