my current workflow when developing apps or programs java or c/c++ follows:
i don't use ide intellij, visual studio, ... using linux or os x, use vim code editor. when build makefile or (when in java) gradle, :!make
, wait compiler , linker create executable, run automatically.
in case of compilation errors, output of compiler can long , lines exceed columns of console. gets messy, , takes time find out, first error ist (often causing following compile errors).
my question is, workflow c++ developer? example there way, generate nicely formatted local html file, can view / update in browser window. or other ideas?
yes, know. use xcode or other ide. don't want.
compiling in vim :!make
instead of :make
doesn't make sense -- it's 1 of features of vim. former expect have eyes. latter display compilation errors quickfix window, can navigate. in other words, no need use auxiliary log file: can navigate compilation errors in (a coupled of) editors run console.
i did expand on related topic in https://stackoverflow.com/a/35702919/15934.
regarding compilation, there few plugins permits compile in background. i've added facility in build-tool-wrapper lately (it requires vim 7.4-1980 -- , it's still in development branch @ time). plugin permits me filter errors in standard library venerable stlfilt, , manage several build configurations (each in separate directory).
Comments
Post a Comment