3 ms·
> I've found for Nim and Crystal I have to run the compiler in the terminal, look where the errors were, and then find those lines in my editor. I pretty much
by hellofunk 6y ago
> I've found for Nim and Crystal I have to run the compiler in the terminal, look where the errors were, and then find those lines in my editor.
I pretty much do this with any language I use, including C++ or even Java and Kotlin. I just use vim for everything, it makes it easy to switch around between languages without dealing with a new IDE, and I haven't used any autocompletion in any language in probably 10 years -- that aspect is over-rated.
- omaranto 6y agoIn Vim I don't recommend running the compiler in the terminal, instead set makeprg and errorformat appropriately, and use the :make command and the quickfix list.
- Ancapistani 6y agoI’d appreciate a link describing this more fully if you have one handy.
- omaranto 6y agoUsually with Vim the manual is better written and more accurate than any external source of information, so I recommed using the command ":help quickfix". It explains usage of the quickfix list, the :make and :grep commands and how to configure the errorformat and makeprg variables.