Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

svn rev 13798 issue?

<< < (2/3) > >>

gd_on:
Is there a way to display within Code::Blocks the content of environment variables that are set by MacrosManager, so AMP, CODEBLOCKS, APP_PATH, ...

Miguel Gimenez:

--- Quote from: gd_on on February 26, 2026, 04:35:34 pm ---Is there a way to display within Code::Blocks the content of environment variables that are set by MacrosManager, so AMP, CODEBLOCKS, APP_PATH, ...

--- End quote ---

I do not think so. There is a MacrosManager::GetMacros() method, currently unused, that would make easy to add this information to a tab in the About dialog (for example). This way the user does not have to search the Wiki.

Pecan:
I've reverted the use of built-in variables in the codesnippets.cbp.

Sadly, this means we can never  use the built-in macros in a .cbp file.

Pecan:

--- Quote from: gd_on on February 26, 2026, 04:35:34 pm ---Is there a way to display within Code::Blocks the content of environment variables that are set by MacrosManager, so AMP, CODEBLOCKS, APP_PATH, ...

--- End quote ---

Would displaying the built-in vars within Code::Blocks allow us to use them in .cbp files?
Would that avoid the problems experienced by ollydbg?

ollydbg:

--- Quote from: Pecan on February 26, 2026, 08:00:30 pm ---I've reverted the use of built-in variables in the codesnippets.cbp.

Sadly, this means we can never  use the built-in macros in a .cbp file.

--- End quote ---

Hello pecan, thanks for the fix.

I think basically linking the recent built plugin to the host CB has another issue. Sometimes
the host CB and the client CB have different SDK numbers, I'm just avoid doing that.

About print the Macro values,  Maybe we can have a Squirrel script to print all those values.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version