Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Clang CC
scarphin:
Oh, one more thing I forgot about. I had to add:
--- Code: ---#include <iostream>
--- End code ---
to 'clangplugin.cpp' and 'translationunit.cpp' to build the plugin. I don't know why iostream were missing in those 2 files initially.
yvesdm3000:
I'll add those includes. I guess my compiler (GCC 4.8) probably doesn't need them to be there.
I'm going to try the plugin on a 800mb sourcecode project tomorrow, a lot of files with over 5000 lines, big amount of defines+template code etc and see what happens. The builtin codecompletion plugin doesn't have any issue with the project, but it doesn't like the templating code at all, and I don't start about the defines...
Yves
yvesdm3000:
--- Quote from: scarphin on November 02, 2015, 01:32:44 pm ---What do you think? I'll submit patches using the name 'Clang Code Completion' under color settings in 'settings->environment->colors'.
--- End quote ---
No problem for me as long as Alpha0010 and the other nice C::B guys approve.
-Yves
Alpha:
--- Quote from: scarphin on November 02, 2015, 02:38:23 pm ---Oh, one more thing I forgot about. I had to add:
--- Code: ---#include <iostream>
--- End code ---
to 'clangplugin.cpp' and 'translationunit.cpp' to build the plugin. I don't know why iostream were missing in those 2 files initially.
--- End quote ---
Erm... why do we need iostream? Logging/debug logging should be directed through C::B's log manager.
--- Quote from: yvesdm3000 on November 02, 2015, 09:06:06 pm ---
--- Quote from: scarphin on November 02, 2015, 01:32:44 pm ---What do you think? I'll submit patches using the name 'Clang Code Completion' under color settings in 'settings->environment->colors'.
--- End quote ---
No problem for me as long as Alpha0010 and the other nice C::B guys approve.
--- End quote ---
I believe the main CC plugin already registers some colors; if possible, reuse those first.
oBFusCATed:
--- Quote from: scarphin on November 02, 2015, 01:32:44 pm ---I may contribute some changes starting with the coloring of the information boxes but I'm not sure if each code completion plugin needs to have its own set of colors. I think they do because of the different coloring schemes for different languages. What do you think? I'll submit patches using the name 'Clang Code Completion' under color settings in 'settings->environment->colors'.
--- End quote ---
Can you give better details what colour do you need to define?
If you can make them generic it will be best.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version