Author Topic: Changing the file name of a class created with codeblocks  (Read 7434 times)

Offline kingcools

  • Single posting newcomer
  • *
  • Posts: 9
Changing the file name of a class created with codeblocks
« on: March 11, 2011, 04:25:51 pm »
Hi, i created the base of a class with the codeblcks class creator, but now the file is listed with its (full) path name in the project manager and i can not rename it(the option doesnt show up when i right click it).
How do i do this? It is pretty annoying because he name is veeeeery long.

thank you :)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Changing the file name of a class created with codeblocks
« Reply #1 on: March 11, 2011, 04:29:37 pm »
Close the file if it is opened for editing and the option will be reactivated.
I don't know why it is done like so, but it is very annoying and user unfriendly :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline kingcools

  • Single posting newcomer
  • *
  • Posts: 9
Re: Changing the file name of a class created with codeblocks
« Reply #2 on: March 11, 2011, 04:40:25 pm »
thank you, but it doesnt work as "intended"
first it was like this:

c:\blabla\otherdirectory\codeblocks\myclass.h

then when i renamed it to "mynewclassname.h"

it went to:
c:\blabla\...\mynewclassname.h

but i want it to show up as:
mynewclassname.h in the project manager

Offline kingcools

  • Single posting newcomer
  • *
  • Posts: 9
Re: Changing the file name of a class created with codeblocks
« Reply #3 on: March 14, 2011, 09:33:05 am »
is this unchangeable? Shall I post a screenshot?