12 ms·
Hi. It can parse C/C++ and perform auto completion correctly, it does partially support LSP, I'm finishing the full integration but in the meanwhile it's using
by giovannicar04 7mo ago
Hi. It can parse C/C++ and perform auto completion correctly, it does partially support LSP, I'm finishing the full integration but in the meanwhile it's using my own C/C++ parser which works up to the latest MSVC standard, it is written in C because it's the main language I use and I'm comfortable with... It renders text using the WinAPI functions.
- Panzerschrek 7mo agoIn order to perform correct C++ parsing you need to handle includes properly. In order to do this your IDE needs to communicate with some build system (CMake, MSBuild, Make) to retrieve include directories. Is it implemented somehow? Or maybe you use your own some-sort-of build system?
- giovannicar04 7mo agoI don't really like complex build systems like CMake or Ninja, I just use a build.bat file which works for basically all projects I use it for. The IDE does not communicate with any build system whatsoever. It stores .h and .c files in a ".trprj" file (just a text file with info on the project and saved data) and upon loading it, it retrieves all .h files and basically recursively walks and find other includes. It is not a complex system, but that's exactly the design choice I was going for. When LSP support is ready, that will be much simpler, altough, it really defies the purpose I am building it for, so I'm not really 100% sure about that choice.