>I want to program in C or C++
Why? It just reads scripts for motor commands. Just write it in python like a sane person or use a retard blocks program. https://lab.open-roberta.org/
However, answering your question, I believe the preferred editor is Atom. Never used it but I see it mentioned lots by ev3dev devs.