Author Topic: Collapsing menus in Management and tabs over editor are gone.  (Read 10731 times)

Offline Snippy

  • Single posting newcomer
  • *
  • Posts: 4
Collapsing menus in Management and tabs over editor are gone.
« on: February 08, 2015, 02:30:05 pm »
I have the Win version.

The window called Management in the IDE: in the resources tab you are supposed to see your project(s) name with a little + or - next to it to drop down the menu to get to your files like main.c, right? I see the project name but the little + is gone and I can't get to my main.c or other files from here. In addition the little tabs above the editor are are gone (where you would see the filename). I don't recall changing anything, but I tried everything I know to do. I even tried resetting perspective and reinstalling but it's still like this. Can someone please tell me how to get it back to the way it was?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Collapsing menus in Management and tabs over editor are gone.
« Reply #1 on: February 08, 2015, 03:58:52 pm »
Can you show a screen shot, because I'm not sure what is the exact problem you're talking about?
(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 Snippy

  • Single posting newcomer
  • *
  • Posts: 4
Re: Collapsing menus in Management and tabs over editor are gone.
« Reply #2 on: February 09, 2015, 03:37:26 am »
Can you show a screen shot, because I'm not sure what is the exact problem you're talking about?

Sure. Click: http://s4.postimg.org/v9dzpmeez/CBShot.png

See the Management window? There's supposed to be a little + or - next to my project name (ProCB1). And right above the editor, about where #include is, there's supposed to be a tab with filename (main.c). It wasn't like this when I installed or on my old computer but something changed it.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Collapsing menus in Management and tabs over editor are gone.
« Reply #3 on: February 09, 2015, 07:06:07 am »
See the Management window? There's supposed to be a little + or - next to my project name (ProCB1).
If you don't have resources in your project, than it should be empty as shown in your screen shot.

Quote
And right above the editor, about where #include is, there's supposed to be a tab with filename (main.c). It wasn't like this when I installed or on my old computer but something changed it.
Do you configure to disable the tabs? Here is what in my C::B, see screen shot below:
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Snippy

  • Single posting newcomer
  • *
  • Posts: 4
Re: Collapsing menus in Management and tabs over editor are gone.
« Reply #4 on: February 09, 2015, 07:58:53 am »
If you don't have resources in your project, than it should be empty as shown in your screen shot.

There are multiple files in my project. C::B even opens the main.c file as it normally would when I open projects. And it's like this for every project now, not just this one.

Do you configure to disable the tabs? Here is what in my C::B, see screen shot below:

Mine doesn't have that option (see picture). But I did notice when changing the settings here the tabs appear for a moment before disappearing again. I tried every setting here but none fixed this.



I will also say that I tried deleting the registry values to fix this after I uninstalled C::B. It wasn't like this when I first installed, so I don't know how that didn't reset everything do default, unless I missed some setting somewhere. If anyone knows how to reset C::B to default completely, please tell me. I think that may fix it.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Collapsing menus in Management and tabs over editor are gone.
« Reply #5 on: February 09, 2015, 08:38:55 am »
If you don't have resources in your project, than it should be empty as shown in your screen shot.

There are multiple files in my project. C::B even opens the main.c file as it normally would when I open projects. And it's like this for every project now, not just this one.
The files should be shown in the "Project" panel, not the "Resource" panel, see screen shot below.




Quote
Do you configure to disable the tabs? Here is what in my C::B, see screen shot below:

Mine doesn't have that option (see picture). But I did notice when changing the settings here the tabs appear for a moment before disappearing again. I tried every setting here but none fixed this.


I don't know. Maybe you should mention your C::B version, I'm using the latest nigihtly build: Nightly builds



Quote
I will also say that I tried deleting the registry values to fix this after I uninstalled C::B. It wasn't like this when I first installed, so I don't know how that didn't reset everything do default, unless I missed some setting somewhere. If anyone knows how to reset C::B to default completely, please tell me. I think that may fix it.
See this wikipage: 2 Q: Where does C::B's configuration file store? How do I make Code::Blocks portable?, I don't think C::B write some registry values.  :)
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Snippy

  • Single posting newcomer
  • *
  • Posts: 4
Re: Collapsing menus in Management and tabs over editor are gone.
« Reply #6 on: February 09, 2015, 09:04:53 am »
The files should be shown in the "Project" panel, not the "Resource" panel, see screen shot below.

Oh! Of course. I just had to scroll over to the projects panel.

I don't know. Maybe you should mention your C::B version, I'm using the latest nigihtly build: Nightly builds

13.12 rev 9501.

See this wikipage: 2 Q: Where does C::B's configuration file store? How do I make Code::Blocks portable?

I found the config file in my appdata and deleted it. That solved the problem! Thank you!

I don't think C::B write some registry values.  :)

I found a registry folder called codeblocks. I don't know if it had anything useful in it though.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Collapsing menus in Management and tabs over editor are gone.
« Reply #7 on: February 09, 2015, 09:28:29 am »
I found a registry folder called codeblocks. I don't know if it had anything useful in it though.
This is from the NSIS installer (if you've used it). Its used to be able to un-install C::B (as needed by Windows). If you use a nightly or not install it using the installer there is zero registry usage.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Collapsing menus in Management and tabs over editor are gone.
« Reply #8 on: February 09, 2015, 08:51:54 pm »
The checkbox in the settings does nothing for me (I did not even notice it before).
To hide (or show) the tabs I check (or uncheck) "View-> Hide editor tabs".

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Collapsing menus in Management and tabs over editor are gone.
« Reply #9 on: February 10, 2015, 09:12:52 am »
The option in the settings is added by Morten recently, more specifically:
Code
rev 10070:
    - relay-outing some of the settings dialogs
    - fixed some assertions in wx30 wrt XRC files

@Morten: Is this added by mistake or you've forgotten to add the code that connects the ui to the settings?
(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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Collapsing menus in Management and tabs over editor are gone.
« Reply #10 on: February 10, 2015, 10:32:04 am »
@Morten: Is this added by mistake or you've forgotten to add the code that connects the ui to the settings?
Added by mistake - its something experimental. Feel free to remove.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ