Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Maybe, some day, we need to publish some video tutorial about how to use those plugins.

Any way, it looks like currently, Abbreviation plugins works inside the C++ comments now, so I'm not sure why it did not work yesterday.
2
check if mingw directory exist inside your CB install dir. if so, then
1) go to menu Settings->Compiler
2) In settings window move to toolchain executables tab
3)  Remove 'mingw32-' prefix for upper 4 apps
4) Check mingw path
5) enjoy

Are you working to get banned?
Because your reply makes you look like a bot!

Tim S.
3
Plugins development / Re: Code completion using LSP and clangd
« Last post by Pecan on Yesterday at 10:39:08 pm »
After testing and tracing clangd_client and the miniAudio source I believe it will not be possible to pass that 4meg miniAudio.h file to clangd.

I have a relatively fast system, but clangd never finished parsing the header file before it crashed attempting to create a response file which would have been many times the size of the source file (about 24meg or more) after it formatted a response containing line/col/symbol/diagnostics/fix suggestions, etc.
If it didn't give out of memory, it sure would have caused Clangd_client to.

That header file will have to be broken up into multiple headers in order for clangd to handle it.

Note from opinionated self: I really do not consider creating a 4meg header file as acceptable software design. It's just going to create grief for anyone using it. If not now, certainly in the future.
yea that makes sense I guess. I think I'll have to break the miniaudio.h in like miniaudio1.h miniaudio2.h miniaudio3.h... for the plugin to not crash, no?

Yes, breaking up that huge header into multiple headers should do the trick.

4
Plugins development / Re: Code completion using LSP and clangd
« Last post by kakas on Yesterday at 09:02:48 pm »
After testing and tracing clangd_client and the miniAudio source I believe it will not be possible to pass that 4meg miniAudio.h file to clangd.

I have a relatively fast system, but clangd never finished parsing the header file before it crashed attempting to create a response file which would have been many times the size of the source file (about 24meg or more) after it formatted a response containing line/col/symbol/diagnostics/fix suggestions, etc.
If it didn't give out of memory, it sure would have caused Clangd_client to.

That header file will have to be broken up into multiple headers in order for clangd to handle it.

Note from opinionated self: I really do not consider creating a 4meg header file as acceptable software design. It's just going to create grief for anyone using it. If not now, certainly in the future.
yea that makes sense I guess. I think I'll have to break the miniaudio.h in like miniaudio1.h miniaudio2.h miniaudio3.h... for the plugin to not crash, no?
5
Plugins development / Re: Code completion using LSP and clangd
« Last post by kakas on Yesterday at 08:51:21 pm »
After testing and tracing clangd_client and the miniAudio source I believe it will not be possible to pass that 4meg miniAudio.h file to clangd.

I have a relatively fast system, but clangd never finished parsing the header file before it crashed attempting to create a response file which would have been many times the size of the source file (about 24meg or more) after it formatted a response containing line/col/symbol/diagnostics/fix suggestions, etc.
If it didn't give out of memory, it sure would have caused Clangd_client to.

That header file will have to be broken up into multiple headers in order for clangd to handle it.

Note from opinionated self: I really do not consider creating a 4meg header file as acceptable software design. It's just going to create grief for anyone using it. If not now, certainly in the future.
yea that makes sense I guess. I think I'll have to break the miniaudio.h in like miniaudio1.h miniaudio2.h miniaudio3.h... no?
6
Plugins development / Re: Code completion using LSP and clangd
« Last post by kakas on Yesterday at 08:39:17 pm »
I'll have a look at it.
Please attach your .cbp file for the project and your main.c  to a forum reply, so I can mirror what's happening.
Thanks for the report.
(sorry for the late reply, I lost track of time)
I had to change the file extension since the anything other than image and txt file isn't accepted. Miniaudio.txt is cbp and main.txt is main.c
7
check if mingw directory exist inside your CB install dir. if so, then
1) go to menu Settings->Compiler
2) In settings window move to toolchain executables tab
3)  Remove 'mingw32-' prefix for upper 4 apps
4) Check mingw path
5) enjoy
8
Announcements / successor of 20.03 available?
« Last post by TomS on Yesterday at 02:02:01 pm »
Hello Community,

I'm using B::C 20.03 since the first relaese and now I see that the nightly builds have included a lot of improvements over the last four years.
I'm woundering why there is no new release since 20.03? The compiler has changed, the wxwidgets have been changed to new version too,
but c::b  as official release (and binaries) is the same over the last four years.

Can we expect a new binary release of c::b soon?

Tanks in advance
TomS
9
Hi, when I try to enter some date information in the comment, I try to press "CTRL+J" key, and I see nothing happens if the caret is inside a comment.

It works OK if the caret is in a normal code fields.

I think it is very common if some one want to add date information in the comments. Can you reproduce this bug?

Any ideas?

Thanks.


PS:
I see there are two ways to use the "Abbreviation plugin", first I type the "now", and after that, I press the "CTRL+J", and the "now" becomes the actual date+time text string.

The other way is that I press the "CTRL+J", and a suggestion list is pop up, and I continuously type the "now", and hit the enter, the actual date+time string is entered in the editor.
Great find ! I didn't know that either.
10
Hi, when I try to enter some date information in the comment, I try to press "CTRL+J" key, and I see nothing happens if the caret is inside a comment.

It works OK if the caret is in a normal code fields.

I think it is very common if some one want to add date information in the comments. Can you reproduce this bug?

Any ideas?

Thanks.


PS:
I see there are two ways to use the "Abbreviation plugin", first I type the "now", and after that, I press the "CTRL+J", and the "now" becomes the actual date+time text string.

The other way is that I press the "CTRL+J", and a suggestion list is pop up, and I continuously type the "now", and hit the enter, the actual date+time string is entered in the editor.
Pages: [1] 2 3 4 5 6 ... 10