Recent Posts

Pages: 1 ... 5 6 7 8 9 [10]
91
Development / Re: Support for c++20 modules
« Last post by ollydbg on November 10, 2025, 03:05:03 am »
For who likes a workaround see: https://gitlab.com/jorgenjan-group/helloworld-for-c-with-modules-in-codeblocks

Good work!

I looked at the cbp file, it looks like there are 2 main changes compared with normal cbp file

1, some extra command is needed:

Code
				<ExtraCommands>
<Add before="rm -f gcm.cache" />
<Add before="mkdir -p obj/Debug/gcm.cache" />
<Add before="ln -s obj/Debug/gcm.cache ./gcm.cache" />
</ExtraCommands>


Here you call a "ln" command, my guess is that under Windows system, there is no such command.


2, when building the cxx file, it should set the weight to 10.

Code
		<Unit filename="Hello.cxx">
<Option weight="10" />
</Unit>

Which means this file should be built before other source files.


92
Development / Re: Support for c++20 modules
« Last post by JorgenBest on November 09, 2025, 05:04:40 pm »
93
Using Code::Blocks / Re: Dark Mode
« Last post by ollydbg on November 09, 2025, 04:45:15 pm »
That github repo has the latest changes in 2 years ago. I'm not sure the current status. Currently the official wx 3.3.1 is already released for months.
94
Using Code::Blocks / Re: Dark Mode
« Last post by Михаил Агарков on November 09, 2025, 04:12:47 pm »
95
Using Code::Blocks / Dark Mode
« Last post by bad_terminal on November 09, 2025, 04:03:44 pm »
I've no idea how many people use dark mode for programming, but lately i've noticed my eyes are getting strained by staring at the constant white glare from my screen while using codeblocks. Is there a Dark Mode switch in 25.03?
96
General (but related to Code::Blocks) / Re: Welcome Newcomers - PLEASE READ!!!
« Last post by arenapatrol on November 09, 2025, 07:23:20 am »
I am new, i am learning C++. Nice to meet you!
97
Development / unified workspace and cbp under Windows for different wxWidgets versions
« Last post by ollydbg on November 09, 2025, 12:31:00 am »
Hi, guys, what do you think about this?

gd_on has work on this in github repo:

codeblocks_gd_cbps

I think this is the direction we should do.

Any comments?
98
Using Code::Blocks / Re: How to switch between files in Code::Blocks editor window
« Last post by FrankPeelo on November 07, 2025, 04:05:47 pm »
Please have a look at the Browse Tracker plugin.

Strangely, I am not able to get it to work, it's not in the Plugins menu although the Plugin Manager says it seems to be installed. It's probably something silly that I am doing wrong, but now that @ccdric has sorted me out with side-by-side editing, I think I won't need Browse Tracker for the time being.

Thanks anyway!

Frank
99
Using Code::Blocks / Re: How to switch between files in Code::Blocks editor window
« Last post by FrankPeelo on November 07, 2025, 03:35:21 pm »
I'm no sure I understand very well (I'm not natural English speaking)
but for me I can move the editor tab if the tab is the selected one, if not it just select it.
just move it on the right border slowly until a blue "ghost" windows appears in the center of the editor,  then release it. it should do what I understand you wants.

That's brilliant!

You understood me fine, but I did not understand you! But now I do. When I tried before, I was dragging the tab to the wrong place. The right border and the blue "ghost" windows, those were the hints that got me there!

Thanks again

Frank

100
Development / Re: AI may help us to create plugins
« Last post by HangNickHers on November 07, 2025, 03:28:21 pm »
Quote
For me C::B is quiet stable and runs for days without any issue. Just wanted to post this since I feel there is unjust criticism.

Same for me. Only problem I've found was that with the symbols browser. Other than that, it's been great.

Generative AI is just a tool now, it is up to the user to use it properly. In my very limited experience, I think code generation via AI is just like an enhanced wizard, user can adapt it to the requirements and for maintainability, basically using it just as a starting point. There is no point in hating generative AI imho.

On the flip side it can save allot of time with doing boilerplate stuff and simple bug fixes.

Absolutely. That is reasonable use. Not what I criticized. And I don't "hate" it, but, I don't love it either. It's unethical at a fundamental level -- all the data collection and how it's used. And things of that sort have caused a lot of damage already.
Snippets, scaffolding, code generators, things like that, have existed since forever. Thing is, really it should be limited in scope (everything must be limited in scope.) Interestingly, instructing a bot in a detailed manner, generating code, copying and pasting, making corrections and changes and testing could quickly become a boring process as well. But there are some among us who appreciate the process as it's always been, in its entirety; the creative process. Including creative ways of dealing with repetitive tasks.
Because of our nature, these things tend to attract or encourage stupidity and laziness. Programmers of (true) open source projects should know better. To have standards other than convenience and productivity and popularity. Many open source projects wouldn't even exist, were those the only standards. We should just use Micro$oft Open SourceTM ProjectsTM. Convenient, and productive indeed. Or imitate them, try to compete with them, in terms of convenience and productivity. And we should avoid C++ and such: more convenient and productive and popular languages exist, like Python or what our friend mentioned above.
And so we see people mentioning that garbage, and encouraging others to use it, showing how convenient, how amazing, how powerful, and how it can be used for everything. Easily impressionable morons. And lazy idiots without standards. It's disgusting.
Pages: 1 ... 5 6 7 8 9 [10]