Recent Posts

Pages: 1 ... 5 6 7 8 9 [10]
91
Using Code::Blocks / Re: Underlining Errors in editor before compilation/building
« Last post by nenin on April 08, 2024, 11:05:58 am »
Hate to say that, but highlighting is not a spellchecking. It is just enhance readability of the code, nothing more.
You can detect errors in C/C++ only by compiler or tools like lint.
92
General (but related to Code::Blocks) / Re: Welcome Newcomers - PLEASE READ!!!
« Last post by kakas on April 08, 2024, 08:29:18 am »
I am new. I am here  :D
93
Using Code::Blocks / Underlining Errors in editor before compilation/building
« Last post by kakas on April 08, 2024, 08:26:56 am »
When I write gibberish in the editor and save the file. Code Blocks doesn't seem to be aware of the error.
It's only when I try to build the project it gives an error. That too just a mark on the corresponding line in the editor and not the specific word.

I don't know if I am supposed to install some external extension or simple turn on something in the settings.
I searched up this problem and visited multiple issues, but they were all about syntax highlighting issues.
(Idk how attaching images to post works, I tried)
94
Plugins development / Re: Code completion using LSP and clangd
« Last post by tomay3000 on April 08, 2024, 06:55:47 am »
- "Find declaration of: ..." does not work for me.
- "Reparse this project" has become a must so that the menu entry "Find declaration of: ..." appears.

What is going wrong ?

OS : Windows 7 with SP1 x64
C::B : Nightly build 13496
clangd : 18.1.2

Not enough info.
Can you give us a simple example (code) to recreate the problem?
What steps can we perform to recreate the problem?

Here is my C::B project
Note that if I revert to using Code Completion back, then "Find declaration of: ..." starts working as expected.

@tomay3000
Thanks for providing the source.

Responses from Clangd are dependent on the symbols produced by the compiler being used.

Your project is using what looks like a 32 bit mingw compiler.
Where did you obtain that compiler so I can mirror your environment.

Using my default gcc 64 bit compiler gets a slew of compiler errors which means I won't get the same errors you do.

Also, what declaration are you trying to display so I can attempt to mimic the error.
The compiler I am using is: https://github.com/tomay3000/mingw-builds-binaries/releases/download/13.2.0-rt_v11-rev1/i686-13.2.0-release-posix-sjlj-ucrt-rt_v11-rev1.7z

Any declaration gives an error.
95
Plugins development / Re: Code completion using LSP and clangd
« Last post by Pecan on April 07, 2024, 06:18:16 pm »
- "Find declaration of: ..." does not work for me.
- "Reparse this project" has become a must so that the menu entry "Find declaration of: ..." appears.

What is going wrong ?

OS : Windows 7 with SP1 x64
C::B : Nightly build 13496
clangd : 18.1.2

Not enough info.
Can you give us a simple example (code) to recreate the problem?
What steps can we perform to recreate the problem?

Here is my C::B project
Note that if I revert to using Code Completion back, then "Find declaration of: ..." starts working as expected.

@tomay3000
Thanks for providing the source.

Responses from Clangd are dependent on the symbols produced by the compiler being used.

Your project is using what looks like a 32 bit mingw compiler.
Where did you obtain that compiler so I can mirror your environment.

Using my default gcc 64 bit compiler gets a slew of compiler errors which means I won't get the same errors you do.

Also, what declaration are you trying to display so I can attempt to mimic the error.
96
Plugins development / Re: Code completion using LSP and clangd
« Last post by tomay3000 on April 07, 2024, 01:16:05 pm »
- "Find declaration of: ..." does not work for me.
- "Reparse this project" has become a must so that the menu entry "Find declaration of: ..." appears.

What is going wrong ?

OS : Windows 7 with SP1 x64
C::B : Nightly build 13496
clangd : 18.1.2

Not enough info.
Can you give us a simple example (code) to recreate the problem?
What steps can we perform to recreate the problem?

Here is my C::B project
Note that if I revert to using Code Completion back, then "Find declaration of: ..." starts working as expected.
97
Contributions to C::B / Re: Wiki login
« Last post by tigerbeard on April 06, 2024, 08:47:11 pm »
Thanks it works now.
I had the no-logout problem, too. Seems that is by design: I was logged out as soon as I logged out from the forum. Actually a nice feature.

98
Contributions to C::B / Re: Code::Blocks' translation to german language
« Last post by rechtsanwaltsteyer on April 06, 2024, 03:29:08 pm »
Hello everyone, over time I have made a very extensive translation into German and can make it available (mo/po files). The latest version is also in Launchpad.
Regards
Michael
99
Plugins development / Re: Show diagnostics on clicking error/warning marker
« Last post by christo on April 06, 2024, 05:37:37 am »
@Pecan Thank you for spending time to get the patch in. Availability of the feature is more important than the implementation. I too think it is always better to do it in a way you are comfortable with as you are the plugin developer. Thank you once again for this plugin as this helps to increase developer productivity.  :)
100
Contributions to C::B / Re: Wiki login
« Last post by ollydbg on April 06, 2024, 05:35:37 am »
When I open the page:

https://wiki.codeblocks.org/index.php/Main_Page

I see I was already logged in.

But I can't find a way to "log out".

So, I can't test the "log in" steps.
Pages: 1 ... 5 6 7 8 9 [10]