Author Topic: How to set the tab title only "file name" not whole path  (Read 7948 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
How to set the tab title only "file name" not whole path
« on: February 24, 2009, 08:32:52 am »
For example, I open the code::blocks source code, it shows "plugins\codecompletion\parser\parsethread.cpp".

Why not only show" parsethread.cpp" as a "short name". Thanks.



[attachment deleted by admin]
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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: How to set the tab title only "file name" not whole path
« Reply #1 on: February 24, 2009, 09:00:19 am »
Change "Settings -> Editor... -> General settings -> Editor title is the file's" to "name only (no parth information)"

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: How to set the tab title only "file name" not whole path
« Reply #2 on: February 24, 2009, 09:57:53 am »
 :D
Thank you, I always miss something :(.
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.