Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: szurilo on December 20, 2007, 11:13:53 am

Title: Rename source files and wxsmith plugin files
Post by: szurilo on December 20, 2007, 11:13:53 am
Maybe its an answered questionbut i didnt fnd anywhere. So, how can i rename my source files inside C::B and how can i rename my *.wxs files?
Szurilo
Title: Re: Rename source files and wxsmith plugin files
Post by: Jenna on December 20, 2007, 11:22:36 am
Maybe its an answered questionbut i didnt fnd anywhere. So, how can i rename my source files inside C::B and how can i rename my *.wxs files?
Szurilo
1. Close the file you want to rename,
2. In the Project Manager right-click the file,
3. Chose "Rename File..."

The *.wxs-file(s) is (are) under "Others -> wxsmith" .
Title: Re: Rename source files and wxsmith plugin files
Post by: byo on December 20, 2007, 11:14:26 pm
In case of files managed by wxSmith it's not so easy. You'll have to manually modify the .cbp file (wxSmith doesn't support renaming of resources now).

So after you rename files using szurilo's method, open .cbp file in any text editor, search for old file names and replace with new file names.

Regards
   BYO