Consider that I have opened a file, E:\code\module1\souce\temp.c
, in Source Insight. Then in the Source Insight title bar it will display the path as temp.c(E:\code\..\source)
.
But I want it to display like temp.c (E:\code\module1\source)
. How can I achieve this?
A path may contain the drive name, directory name(s) and the filename. To extract filename from the file, we use “GetFileName()” method of “Path” class. This method is used to get the file name and extension of the specified path string. The returned value is null if the file path is null.
You can just double click on a local or global symbol, and Source Insight takes you to the definition, or can pop up a quick information window. You can click on a symbol, and within seconds, have a list of all references to that symbol anywhere in the project.
Menu Options → Preference → Display → Trim Long Path Names With ellipses
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With