Device bug fix day
FIXME, TODO, XXX the standard way to indicate in the comments: “Hey! There will be time - fix this dirty hack! ” For example, the beloved (and not beloved) by many Eclipse has a wonderful window where all TODOs for the project are displayed.
What prevents us from doing this in vim? What is needed for this? grep and quick fix window. By executing the
command : grep or : vimgrep in vim , the list of matches will be available in the quick fix window, available by : copen or : cw.
I hung this miracle on the hotkey:
Change the extensions to the ones you need, F6 and finally start fixing!
What prevents us from doing this in vim? What is needed for this? grep and quick fix window. By executing the
command : grep or : vimgrep in vim , the list of matches will be available in the quick fix window, available by : copen or : cw.
I hung this miracle on the hotkey:
map: vimgrep / fixme \\ | todo / j *. [c, cpp, h, hpp, py] : cw
Change the extensions to the ones you need, F6 and finally start fixing!