Posts

Showing posts from January, 2018

VSCode

I've been trying out VSCode for golang at work. It's super fast, and gives the same experience on Mac and Linux, so I'm going to try adopting it for a few different purposes. I'm pretty unhappy with Eclipse CDT for Chibios development: I want to index to be separate for each project. Without that, it doesn't work out any of the conditional compilation, and reports lots of spurious errors. No problem doing that in VSCode, so I decided to try that first. You do seem to be expected to write a JSON config file with the include path by hand, however. Rather than do that, I wrote a little script which parses the build output and generates the file. Once that's done, IntelliSense works perfectly.