Recent Posts

Pages: 1 ... 4 5 6 7 8 [9] 10
81
Using Code::Blocks / How to set containing folder
« Last post by flycat on March 02, 2025, 03:23:24 am »
I use a tool to generate a project file, then when "create new class" see directory is not a project directory.
Select the project,"Open containing folder",it open a parent directory.
Is this a bug or does it need to be set?

use r13620 on Window10
82
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
83
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
84
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.
85
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.
86
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.
87
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.
88
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.
89
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()
90
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.
Pages: 1 ... 4 5 6 7 8 [9] 10