Recent Posts

Pages: 1 ... 5 6 7 8 9 [10]
91
Using Code::Blocks / Re: Windows Project Wizard for wxWidgets
« Last post by Lanny on March 01, 2025, 02:39:09 pm »
Thanks for the information.

I already have the wxPBGuide linked as reference for the students.

This will just bring it all together.

Herman Watson
92
Using Code::Blocks / Re: Windows Project Wizard for wxWidgets
« Last post by PB on February 28, 2025, 08:23:43 pm »
I tried to play with it, but it was not a simple single change.

IMO, instead actually overwriting the file, you may be better off putting into into the user folder. See the Installation part here, in my modification of the wizard for C::B 20.03: https://github.com/PBfordev/wxpbguide/tree/master/cb/wizard
93
Using Code::Blocks / Re: Open files list single click
« Last post by christo on February 28, 2025, 07:00:47 pm »
I've a patch which works based on https://forums.wxwidgets.org/viewtopic.php?t=43852

https://github.com/josephch/codeblocks/commit/9344b8b216ad593a1b0117211c946b2a8af04f1c

It works. It is really easier to navigate with single click.
94
Using Code::Blocks / Re: Open files list single click
« Last post by Krice on February 28, 2025, 05:19:15 pm »
QtCreator has also one click open files list. It seems to be the standard. But other than that QtCreator, at least the open source version, is not that great. It really made me think about how lucky we are to have Code::Blocks which I think is the only (useful) open source IDE. Most so called IDEs are more like text editors, like QtCreator.
95
Using Code::Blocks / Re: Windows Project Wizard for wxWidgets
« Last post by Lanny on February 28, 2025, 12:37:53 am »
Thanks for providing the modified script.

I tried to play with it, but it was not a simple single change.

I will work with this.
96
Using Code::Blocks / Re: Windows Project Wizard for wxWidgets
« Last post by Miguel Gimenez on February 27, 2025, 02:11:13 pm »
Then, overwriting the script with this after the initial setup can be an additional lesson.
97
Using Code::Blocks / Re: Windows Project Wizard for wxWidgets
« Last post by Lanny on February 27, 2025, 02:00:38 pm »
These are beginning students so they need to be able to use the auto-install setup.exe.

Also each semester the nightly builds would be different.

The best path for me is to have them change the build option for the correct library than having them download a zip file and unzip into Windows.

Thank you for your input.
98
I would change
Code
	if(s.StartsWith(_T("#ifndef")) && ( s.Contains(_T("HEADER")) || s.Right(2).IsSameAs(_T("_H")) || s.Contains(_T(" H_")) || s.Contains(_T("_H_")) || s.Contains(_T("_INCLUDED")) ))
return;
to just
Code
	if (s.StartsWith("#ifndef"))
return;

For the EOL part, insertion of '\n' should be replaced by calls to NewLine()
99
Using Code::Blocks / Re: Windows Project Wizard for wxWidgets
« Last post by Miguel Gimenez on February 27, 2025, 09:44:34 am »
Nightly builds allow 3.2 since 2022-01-05 and 3.3 since 2022-11-09. You can use the last (just expand the three ZIP files in a folder) or copy wizard.script to the 20.03 folder. The first option is better, as it fixes some bugs and adds new features.
100
Using Code::Blocks / Re: automatic header guard added despite one is already existing
« Last post by raynebc on February 27, 2025, 06:50:02 am »
I'm finding that as of the 11-11-24 nightly build of Code::Blocks, this plugin can still behave badly.  One of my old header files had the guard placed after some comment lines and when I opened the file and made an edit in C::B, the plugin added an additional header guard of its own.  It refused to stop doing this even when I moved my own header guard to the very top of the file.  I also find that it changes the file's line break encoding from CRLF to mixed style when it alters the file.  I'm going to just disable the plugin, but it seems to need some fixing.
Pages: 1 ... 5 6 7 8 9 [10]