The new Release 20.03 is out! You can download binaries for Windows and many major Linux distros here .
is it mean that "this->" will never show code comletion's list with class's members and this is not a bug?
"this->" code completion is not fixed... in topic about build from 23 august - it was something about that "this->" is a bad design..... is it mean that "this->" will never show code comletion's list with class's members and this is not a bug?
#include <iostream>using namespace std;class foo{public: foo(int bar = 4711) : m_bar(bar) {} inline void show() const { cout << foo::m_bar << endl; // instead of this->m_bar }private: int m_bar;};int main(){ foo f; f.show();}
At my own opinon we could argue about that, If this-> is needfull or not. I think it does not matter for an IDE.If an IDE does not implement code-completiton like this and say indirect ("hey guys it is bad design If you want to use it") the IDE patronize it users like Microsoft Software do.Code::Blocks should not patronize things like that to its users!
Maybe (and maybe not) Yiannis will implement also support for this-> (and while we are at it : *this. :evil: ).
{ // TODO: handle special keyword 'this'
Maybe (and maybe not) Yiannis will implement also support for this-> (and while we are at it : *this. :evil: ).Just be patient, 1.5 weeks ago, code completion was totally broken, looks where it is now. This is an extreme improvement, let's not fuss about something like this-> .
Quote from: killerbot on August 25, 2006, 08:51:24 amMaybe (and maybe not) Yiannis will implement also support for this-> (and while we are at it : *this. :evil: ).It's already in the code Code: cpp{ // TODO: handle special keyword 'this'
I still have some problems with class browser. This time it is closing down one per 3-5 times I save changes. It happens quite often if you are adding new function to your class.
Error occured on Friday, August 25, 2006 at 12:18:30.D:\projects\CodeBlocks\src\devel\codeblocks.exe caused an Access Violation at location 77c46fa3 in module C:\WINDOWS\system32\msvcrt.dll Reading from location 06044000.Registers:eax=061c0a3a ebx=00410041 ecx=0005f28e edx=00000002 esi=06044000 edi=08713674eip=77c46fa3 esp=03b2f718 ebp=03b2f720 iopl=0 nv up ei pl nz ac po nccs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010216Call stack:77C46FA3 C:\WINDOWS\system32\msvcrt.dll:77C46FA3 memcpy100623E0 D:\projects\CodeBlocks\src\devel\wxmsw26u_gcc_cb.dll:100623E0 _onexit d:/src/mingw/build/runtime/../../runtime/dllcrt1.c:183100631A3 D:\projects\CodeBlocks\src\devel\wxmsw26u_gcc_cb.dll:100631A3 _onexit d:/src/mingw/build/runtime/../../runtime/dllcrt1.c:18365EC3335 D:\projects\CodeBlocks\src\devel\share\codeblocks\plugins\codecompletion.dll:65EC3335 BasicSearchTree::AddNode(wxString const&, unsigned) D:/projects/CodeBlocks/src/plugins/codecompletion/parser/searchtree.cpp:69865EC3FAD D:\projects\CodeBlocks\src\devel\share\codeblocks\plugins\codecompletion.dll:65EC3FAD BasicSearchTree::insert(wxString const&) D:/projects/CodeBlocks/src/plugins/codecompletion/parser/searchtree.cpp:82165EE07B6 D:\projects\CodeBlocks\src\devel\share\codeblocks\plugins\codecompletion.dll:65EE07B6 PluginSDKVersion65EC8745 D:\projects\CodeBlocks\src\devel\share\codeblocks\plugins\codecompletion.dll:65EC8745 TokensTree::AddToken(Token*, int) D:/projects/CodeBlocks/src/plugins/codecompletion/parser/token.cpp:52565EC80B3 D:\projects\CodeBlocks\src\devel\share\codeblocks\plugins\codecompletion.dll:65EC80B3 TokensTree::insert(Token*) D:/projects/CodeBlocks/src/plugins/codecompletion/parser/token.cpp:42565EBAAEB D:\projects\CodeBlocks\src\devel\share\codeblocks\plugins\codecompletion.dll:65EBAAEB ParserThread::DoAddToken(TokenKind, wxString const&, int, wxString const&, bool, bool) D:/projects/CodeBlocks/src/plugins/codecompletion/parser/parserthread.cpp:97065EBD4BA D:\projects\CodeBlocks\src\devel\share\codeblocks\plugins\codecompletion.dll:65EBD4BA ParserThread::HandleTypedef() D:/projects/CodeBlocks/src/plugins/codecompletion/parser/parserthread.cpp:148165EB8B4E D:\projects\CodeBlocks\src\devel\share\codeblocks\plugins\codecompletion.dll:65EB8B4E ParserThread::DoParse() D:/projects/CodeBlocks/src/plugins/codecompletion/parser/parserthread.cpp:56065EB8CEA D:\projects\CodeBlocks\src\devel\share\codeblocks\plugins\codecompletion.dll:65EB8CEA ParserThread::DoParse() D:/projects/CodeBlocks/src/plugins/codecompletion/parser/parserthread.cpp:57965EB8661 D:\projects\CodeBlocks\src\devel\share\codeblocks\plugins\codecompletion.dll:65EB8661 ParserThread::Parse() D:/projects/CodeBlocks/src/plugins/codecompletion/parser/parserthread.cpp:47265EE2081 D:\projects\CodeBlocks\src\devel\share\codeblocks\plugins\codecompletion.dll:65EE2081 PluginSDKVersion617E76D2 D:\projects\CodeBlocks\src\devel\codeblocks.dll:617E76D2 cbThreadPool::cbWorkerThread::Entry() D:/projects/CodeBlocks/src/sdk/cbthreadpool.cpp:2231009FDB5 D:\projects\CodeBlocks\src\devel\wxmsw26u_gcc_cb.dll:1009FDB5 _onexit d:/src/mingw/build/runtime/../../runtime/dllcrt1.c:18377C3A3B0 C:\WINDOWS\system32\msvcrt.dll:77C3A3B0 _endthreadex7C80B683 C:\WINDOWS\system32\kernel32.dll:7C80B683 GetModuleFileNameA
Just be patient, 1.5 weeks ago, code completion was totally broken, looks where it is now.
struct astruct{ int dummy;};int main(){ struct astruct* xx; xx-> [no match]}
int main(){ astruct* xx; xx->[correct cc lookup]}
C needs that :-(but maybe in C99 it is no longer needed. Should check the standard ...