Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
New code completion remarks/issues
MortenMacFly:
Guys, I've added testing projects (and a workspace) into trunk. If you find functionality to test, feel free to enhance this.
In the CC plugin folder there is now a "testing" sub-folder with a workspace called... erm... TESTING. This will open (so far) 3 projects that test a specific functionality of CC. Ifyou want to enhance this (or provide new tests), please do the following:
- create a new project named like what you are testing (missing is for example "defines", "inheritance" etc.)
- create the files needed *all* having the same prefix like the test
- if you need additional stuff, place it in a sub-folder named like the test.
- provide a main function (named like the test ;-)) and comment lines where a user should do a certain test
MortenMacFly:
--- Quote from: ollydbg on October 06, 2009, 09:04:23 am ---I would like Morten could give some explanation on the above two reply (reply#125, reply#126).
--- End quote ---
I can't because I don't recall exactly. This code snippet was part of a patch that enabled parsing of typedefs correctly at all (it was not possible before). Probably it's obsolete now. I am testing CC without this snippet atm (you can do the same, if you like). If I don't see any issues I'll simply remove that portion.
blueshake:
In the thread ,http://forums.codeblocks.org/index.php/topic,11187.msg76812.html#msg76812
for the latest cc,the issue can not be solved.
I believe the std:: int the actualtype cause it.
By the way,how to insert a picture,not as a attachment. :?
[attachment deleted by admin]
ollydbg:
--- Quote from: blueshake on October 06, 2009, 01:40:57 pm ---By the way,how to insert a picture,not as a attachment. :?
--- End quote ---
Google: image sharing site
Then choose one, and register an ID, and upload your image, then copy the image link, and add to your post.
ollydbg:
--- Quote from: MortenMacFly on October 06, 2009, 10:24:50 am ---
--- Quote from: ollydbg on October 06, 2009, 09:27:01 am ---
--- Code: ---#define TOKENIZER_DEBUG_OUTPUT 1
#if TOKENIZER_DEBUG_OUTPUT
#define TRACE(format, args...)\
Manager::Get()->GetLogManager()->DebugLog(F( format , ## args))
#else
#define TRACE(format, args...)
#endif
--- End code ---
Any comments? Thanks.
--- End quote ---
Sure this looks nice. But keep in mind that this should be in implementation files only, or rename TRACE into a more specific TRACE_NATIVEPARSER or alike. Otherwise you might define the macros also for other files (debug outputs). Patches against trunk are welcome.
--- End quote ---
Thanks for the hint.
For now, I would prefer still useing the name "TRACE", then, add these macros in every implementation files, such as tokenizer.cpp , parserthread.cpp and nativeparser.cpp.
Patches will be uploaded soon. :D
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version