I'm now in a file, I want to hit and it will go to next compilation error in my file i fix it, then hit again the shortcut will go to next error and so forth... i'm already in my text file i cant find how to navigate to next error while editing my text file.
I am just starting using intellij (changed from Eclipse) recently. For your question:
Right click the scroll bar, in the popup menu, choose the one (radio button) you need.
then in editor, press F2
to jump to next error/problem. shift-F2
back.
btw, this is not a ideavim
shortcut.
You can set shortcuts for intellij actions in ideavim. Below lines set gn
and gp
for next and previous errors.
% cat ~/.ideavimrc
nnoremap gn :action GotoNextError<CR>
nnoremap gp :action GotoPreviousError<CR>
More details: Useful customizations in .ideavimrc
Actionlist: https://gist.github.com/zchee/9c78f91cc5ad771c1f5d
Docs: https://github.com/JetBrains/ideavim#executing-ide-actions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With