User forums > Nightly builds

The 06 May 2023 build (13268) is out.

<< < (6/9) > >>

Pecan:

--- Quote from: myztmy on June 07, 2023, 06:06:40 am ---So I decide turning  to "Clangd_client" to see What effect it will have. It add some new functions and add a new class from class wizard no freeze . But it can't  give hint of Member functions  of variables which type defines in C++ standard library ( "Code completion 1.0" can do ) ,and sometimes it always gives  incorrect  hint , even reopen the project it can't return to normal ,you must restart CB . And some other bugs that  I 'am too lazy to elaborate here.  Let me try new version to see what improved.

But most importantly,  CB is free , so I  shouldn't  complaining too much. :-[ I wish CB will be as better as VScode.

--- End quote ---

Can you write a short example that we can use to re-create your problems?
For me, clangd_client does indeed provide the info you are having problems with.
With an example from you, we might be able to either show you how to get the info, or fix the problem.

myztmy:

--- Quote from: Pecan on June 07, 2023, 06:45:52 am ---Can you write a short example that we can use to re-create your problems?
For me, clangd_client does indeed provide the info you are having problems with.
With an example from you, we might be able to either show you how to get the info, or fix the problem.

--- End quote ---

My os is win7 , clangd.exe is  from latest version LLVM-16.0.5-win64 which  full installed ,compiler is winlibs-x86_64-mcf-seh-gcc-13.1.0-mingw-w64ucrt-11.0.0-r1,no msys . In CB , compiler settings is right  ,  search directories  is right .

My Project to test  clangd_client  is simplest  "hello world" , add several varialbes and simple classes , the program is normally compiling and running . clangd_client can jump to class( I defines myself) declaration and implementation rightly.  But  it  don't  give the right hint of member funtions , and a varialbe of string type it give a hint that is a int type.

if there is any setting and step I omit please instruct me .

Below is a part  info  of LSP messages
LSP diagnostics: main.cpp|:|----Time: 15:16:19.218---- (5 diagnostics)|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|1|note:'iostream' file not found|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|8|warning:Using directive refers to implicitly-defined namespace 'std'|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|12|note:Unknown type name 'string'|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|25|note:Use of undeclared identifier 'cout'|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|25|note:Use of undeclared identifier 'endl'|
LSP diagnostics: Test1.h|:|----Time: 15:16:20.533---- (0 diagnostics)|
LSP diagnostics: Test.h|:|----Time: 15:16:21.815---- (0 diagnostics)|
LSP diagnostics: Test.cpp|:|----Time: 15:16:22.844---- (4 diagnostics)|
E:\workspace\testcode\test1\HelloMingw64\src\Test.cpp|2|note:'iostream' file not found|
E:\workspace\testcode\test1\HelloMingw64\src\Test.cpp|4|warning:Using directive refers to implicitly-defined namespace 'std'|
E:\workspace\testcode\test1\HelloMingw64\src\Test.cpp|18|note:Use of undeclared identifier 'cout'|
E:\workspace\testcode\test1\HelloMingw64\src\Test.cpp|18|note:Use of undeclared identifier 'endl'|
LSP diagnostics: main.cpp|:|----Time: 15:19:41.802---- (5 diagnostics)|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|1|note:'iostream' file not found|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|8|warning:Using directive refers to implicitly-defined namespace 'std'|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|12|note:Unknown type name 'string'|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|26|note:Use of undeclared identifier 'cout'|
E:\workspace\testcode\test1\HelloMingw64\main.cpp|26|note:Use of undeclared identifier 'endl'|
LSP diagnostics: main.cpp|:|----Time: 15:19:51.121---- (12 diagnostics)|
......
......

Pecan:

--- Quote from: myztmy on June 07, 2023, 10:13:11 am ---
--- Quote from: Pecan on June 07, 2023, 06:45:52 am ---Can you write a short example that we can use to re-create your problems?
For me, clangd_client does indeed provide the info you are having problems with.
With an example from you, we might be able to either show you how to get the info, or fix the problem.

--- End quote ---

--- End quote ---
@ myztmy
Let's take this conversation over to the Codeblocks clang_client discussion at  https://forums.codeblocks.org/index.php/topic,24357.0.html

We'll work on getting the problems fixed in that discussion thread.

ThierryD:
Hi,

I tested the new installation of CB issued recently on Nigthly Builds : revision 13311 full installation with MingW (gcc 13.1.0) -> CB_20230604_rev13311_win64-setup-MinGW.exe, on my configurartion Windows 11 64 bits
Before, I renamed the old directory of installation of CB : CodeBlocks.old ... good option !!!
I can't run CB with these new installation : freeze on startup, with the "turning wait circle" indefinitly !
Only cllick on cross at the high rigth of windows, stop the process.
My test of Workspace and CB project are stored on : https://github.com/tdechaize/Lesson01 (public repository)

Have you an explaination ? It's a refrenced bug ?

Thank you. Sincerly.

PS : I returned with my old configuration of CB after another renaming of install directory.
PS2 : Good new, CB recover all of my "user-defined" and "installed" configuration of compilers on my configuration ... with all directories pointed by environment variables. Yes !

Miguel Gimenez:
I have checked the version without MinGW on W7 and it installs and runs OK for now. Does the uninstaller remove the data under Roaming?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version