Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Clang CC
yvesdm3000:
--- Quote from: ollydbg on November 09, 2015, 01:58:58 pm ---You may look at this plugin: Semantic highlight which also uses clang.
--- End quote ---
Maybe I should make a merge from this plugin into the CC-plugin, just to make sure the same file is not parsed twice...
In any case this is very low on my own priority list.
I'll look into setting up a VM that could make a binary out of the plugin automatically after each push. I guess it should follow the weekly nightly builds and on what wxWindows version should it be built ? And I guess people will want Linux+Windows? And then also a binary of Clang I suppose ?
For Linux maybe an Ubuntu 15.10 with the distro's version of Clang?
-Yves
yvesdm3000:
--- Quote from: oBFusCATed on November 03, 2015, 08:37:44 pm ---
--- Quote from: scarphin on November 03, 2015, 11:51:05 am ---Also people may opt for different syntax highlighting for different languages making cc plugins for different languages less responsive in terms of colors. I think at least cc plugins for different languages should define their own colors.
--- End quote ---
If you ask me this is not a good idea.
Generally I try to make all languages look roughly the same.
What error color are we talking about, because I've not tried this plugin yet?
--- End quote ---
For now I see that the inline Clang warning/error annotations have unconfigurable colours, style number 50. I guess Alpha0010 just chose a number ?
-Yves
ollydbg:
--- Quote from: yvesdm3000 on November 09, 2015, 02:45:59 pm ---I'll look into setting up a VM that could make a binary out of the plugin automatically after each push. I guess it should follow the weekly nightly builds and on what wxWindows version should it be built ?
--- End quote ---
Currently, Windows C::B nightly build use wx2.8.12, see here:
The 31 October 2015 build (10553) is out.
Which describe the compiler(currently tdm gcc) killerbot use to make the nightly build)
--- Quote ---And I guess people will want Linux+Windows? And then also a binary of Clang I suppose ?
For Linux maybe an Ubuntu 15.10 with the distro's version of Clang?
-Yves
--- End quote ---
I think a binary of Clang is necessary. (At least under Windows OS)
l_inc:
ollydbg
--- Quote ---I'd like to help on this issue.
Is the test code you supplied only works under Linux system?
--- End quote ---
Thanks for taking a look. Unfortunately I am able to reproduce the bug in Fedora only.
--- Quote ---You may look at this plugin: Semantic highlight which also uses clang.
--- End quote ---
Well, thank you for the hint. Though this would make up already two plugins doing the same intensive background parsing. It's much more preferable to have this functionality in a single one. But I see... the same thought is already present in the topic. :-)
oBFusCATed:
--- Quote from: yvesdm3000 on November 09, 2015, 02:45:59 pm ---Maybe I should make a merge from this plugin into the CC-plugin, just to make sure the same file is not parsed twice...
--- End quote ---
Nope don't do it. This is something that should be done in the sdk and the cc plugins should only feed it with data.
As far as I know scintilla doesn't have easy way to implement this, so this is why we've not investigated much time.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version