Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: LETARTARE on January 29, 2013, 01:31:54 pm

Title: Small contribution in the form of scripts ...
Post by: LETARTARE on January 29, 2013, 01:31:54 pm
I have used for some time two scripts utility, and I thought they might be
useful to the community.

This is a set of two scripts plugin packaged in 'tools.script'
1 - list all files in a project with their associated targets
Quote
'class ListFilesWithTargets'
2 - list all targets in a project with their associated files
Quote
'class ListTargetsWithFiles'

Orders appear by right clicking on the project name
Quote
'-> List files with targets'
'-> List files with targets'
The lists appear in the console then in a new window in the editor.

If the script console is not open display in the editor is
extremely fast (cb 12.11 : r8628, 1025 files: 1.45 S and 25 targets: 1 S).

This allows either to save in the form of files or print them.

Title: Re: Small contribution in the form of scripts ...
Post by: LETARTARE on January 31, 2013, 01:41:39 pm
hello,

ATTENTION !!!!

Win under the project name must not contain illegal character ('::', '' ...)
example:
Quote
Code::Blocks 12.11 wx2.8.x => CodeBlocks_12.11_wx2.8.x

thanks