Page 1 of 2

CodeCompletion color

Posted: Wed Aug 31, 2011 9:08 am
by borr
OS WinXP SP3
I do not see the text of the active line

Re: CodeCompletion color

Posted: Wed Aug 31, 2011 9:30 am
by eranif
I am not sure that there is something you can do about it from within codelite... (without hacking the code)

Its probably related your color theme - have you tried modified them?

Eran

Re: CodeCompletion color

Posted: Wed Aug 31, 2011 9:46 am
by borr
You are right thanks

Re: CodeCompletion color

Posted: Wed Aug 31, 2011 9:49 am
by eranif
I see that you got clang working now ;)

Eran

Re: CodeCompletion color

Posted: Wed Aug 31, 2011 10:43 am
by borr
not everywhere

Code: Select all

[ 10:09:49:046 DBG ] Queued request to create PCH for file: CalcAutoOle.cpp
[ 10:09:49:062 DBG ]  ==========> [ ClangPchMakerThread ] PCH creation started <==============
[ 10:09:49:062 DBG ] Executing: C:\WINDOWS\system32\cmd.exe /c "cd "D:\Project\ClangTest" && "C:\Program Files\CodeLite\clang++.exe" -cc1 -fcxx-exceptions  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include\c++"  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include\c++\mingw32"  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include\c++\backward"  -I"c:\mingw_441\include"  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include"  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include-fixed"  -I"D:\wxMSW-2.8.10\include"  -I. -g  -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -ID:\wxMSW-2.8.10\lib\gcc_dll\mswud -ID:\wxMSW-2.8.10\include -DWXUSINGDLL -Wno-ctor-dtor-privacy       -D__WX__ -w "D:\Proba\OO_Ole\OO_Ole\CalcAutoOle.cpp" -E > "C:\Documents and Settings\Borr\Application Data\CodeLite\clang_cache\CalcAutoOle_cpp__H__.h.1" 2>&1"
[ 10:09:49:625 DBG ] Calling DoRemoveAllIncludeStatements()
[ 10:09:49:625 DBG ] Stripping include: CalcAutoOle.h
[ 10:09:49:625 DBG ] Calling DoRemoveAllIncludeStatements()- ENDED
[ 10:09:50:187 DBG ] Executing: C:\WINDOWS\system32\cmd.exe /c "cd "D:\Project\ClangTest" && "C:\Program Files\CodeLite\clang++.exe" -cc1 -fcxx-exceptions -x c++-header  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include\c++"  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include\c++\mingw32"  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include\c++\backward"  -I"c:\mingw_441\include"  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include"  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include-fixed"  -I"D:\wxMSW-2.8.10\include"  -I. -g  -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -ID:\wxMSW-2.8.10\lib\gcc_dll\mswud -ID:\wxMSW-2.8.10\include -DWXUSINGDLL -Wno-ctor-dtor-privacy       -D__WX__ -w "C:\Documents and Settings\Borr\Application Data\CodeLite\clang_cache\CalcAutoOle_cpp__H__.h" -emit-pch -o "C:\Documents and Settings\Borr\Application Data\CodeLite\clang_cache\CalcAutoOle_cpp__H__.h.pch" > "C:\Documents and Settings\Borr\Application Data\CodeLite\clang_cache\CalcAutoOle_cpp__H__.h.pch.output" 2>&1"
[ 10:09:51:843 DVL ] [ ClangPchMakerThread ]
[ 10:09:51:843 DBG ] caching PCH file: C:\Documents and Settings\Borr\Application Data\CodeLite\clang_cache\CalcAutoOle_cpp__H__.h.pch for file D:\Proba\OO_Ole\OO_Ole\CalcAutoOle.cpp
[ 10:09:51:843 DBG ]  ==========> [ ClangPchMakerThread ] PCH creation ended successfully <==============
[ 10:09:53:031 DBG ]  ==========> ClangDriver::CodeCompletion() started <==============
[ 10:09:53:031 DBG ] Calling DoRemoveAllIncludeStatements()
[ 10:09:53:031 DBG ] Stripping include: CalcAutoOle.h
[ 10:09:53:031 DBG ] Calling DoRemoveAllIncludeStatements()- ENDED
[ 10:09:53:031 DBG ] DoPrepareCompilationArgs(): Project=ClangTest, Conf=Debug
[ 10:09:53:046 DVL ] clang code completion has been invoked for the line: 
  pdSM->
[ 10:09:53:046 DBG ] Preparing input file for clang...
[ 10:09:53:046 DBG ] ClangDriver::DoRunCommand(): C:\WINDOWS\system32\cmd.exe /c "cd "D:\Project\ClangTest" && "C:\Program Files\CodeLite\clang++.exe" -cc1 -fcxx-exceptions  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include\c++"  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include\c++\mingw32"  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include\c++\backward"  -I"c:\mingw_441\include"  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include"  -I"c:\mingw_441\lib\gcc\mingw32\4.4.1\include-fixed"  -I"D:\wxMSW-2.8.10\include"  -I. -g  -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -ID:\wxMSW-2.8.10\lib\gcc_dll\mswud -ID:\wxMSW-2.8.10\include -DWXUSINGDLL -Wno-ctor-dtor-privacy       -D__WX__ -w -fsyntax-only -include-pch "C:\Documents and Settings\Borr\Application Data\CodeLite\clang_cache\CalcAutoOle_cpp__H__.h.pch" -code-completion-at=CalcAutoOle_clang_tmp.cpp:63:9  "CalcAutoOle_clang_tmp.cpp" 1> "C:\Documents and Settings\Borr\Application Data\CodeLite\clang_cache\CalcAutoOle_cpp__H__.h.pch.code-completion" 2>&1"
[ 10:09:53:281 DBG ] ClangDriver::OnClangProcessTerminated() called !
[ 10:09:53:281 DBG ] ClangDriver::OnCodeCompletionCompleted() called
[ 10:09:53:281 DVL ] ClangDriver::OnCodeCompletionCompleted():
[error: error reading 'CalcAutoOle_clang_tmp.cpp'
1 error generated.
MinGW compiles these files successfully

Re: CodeCompletion color

Posted: Wed Aug 31, 2011 11:43 am
by eranif
Well, if it can't compile it ... there is nothing I can do about it :D

Eran

Re: CodeCompletion color

Posted: Thu Sep 01, 2011 9:29 am
by borr
project to add existing files from different directories (not project path). Clang CodeCompletion stops working even if you add a file directory in the Project - Settings - Code Completion - Search Path

Re: CodeCompletion color

Posted: Fri Sep 02, 2011 4:41 pm
by borr
eranif, сodelite,s codecompletion executes every time

Code: Select all

Executing: C:\WINDOWS\system32\cmd.exe /c "cd "[PROJECT DIR]" && "C:\Program Files\CodeLite\clang++.exe" -cc1 -fcxx-exceptions  -I"c:\m
Even the file is not in [PROJECT DIR]. Jast import existings file from other dir. CodeLite should check where the cpp file dir is

Re: CodeCompletion color

Posted: Fri Sep 02, 2011 5:56 pm
by eranif
If it fails, then I suggest that you disable it (it does not work for you anyways)

"Settings | Tags Settings | clang" and disable clang
Eran

Re: CodeCompletion color

Posted: Sun Sep 04, 2011 10:27 am
by borr
Сreate project with projet path C:\Project\Test add an existigs file (any cpp file) from d:\Cpp, check codecompletion in this file