CodeCompletion color

General questions regarding the usage of CodeLite
borr
CodeLite Enthusiast
Posts: 34
Joined: Tue Dec 16, 2008 10:43 am
Contact:

CodeCompletion color

Post by borr »

OS WinXP SP3
I do not see the text of the active line
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CodeCompletion color

Post 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
Make sure you have read the HOW TO POST thread
borr
CodeLite Enthusiast
Posts: 34
Joined: Tue Dec 16, 2008 10:43 am
Contact:

Re: CodeCompletion color

Post by borr »

You are right thanks
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CodeCompletion color

Post by eranif »

I see that you got clang working now ;)

Eran
Make sure you have read the HOW TO POST thread
borr
CodeLite Enthusiast
Posts: 34
Joined: Tue Dec 16, 2008 10:43 am
Contact:

Re: CodeCompletion color

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CodeCompletion color

Post by eranif »

Well, if it can't compile it ... there is nothing I can do about it :D

Eran
Make sure you have read the HOW TO POST thread
borr
CodeLite Enthusiast
Posts: 34
Joined: Tue Dec 16, 2008 10:43 am
Contact:

Re: CodeCompletion color

Post 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
borr
CodeLite Enthusiast
Posts: 34
Joined: Tue Dec 16, 2008 10:43 am
Contact:

Re: CodeCompletion color

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CodeCompletion color

Post 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
Make sure you have read the HOW TO POST thread
borr
CodeLite Enthusiast
Posts: 34
Joined: Tue Dec 16, 2008 10:43 am
Contact:

Re: CodeCompletion color

Post 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
Post Reply