Loved Cscope on cygwin, but hated the fact that you anything you select will open up in Vi, and then do some keyboard voodoo to get back to the cscope window?
Or are you one of those fan of notepad++ awesomeness but love the way cscope hunts for stuff for ya?
Fear not, there is a way both your sweethearts can now play with you, all at the same time for an awesome threesome
Just export these lines before you fire up Cscope
export CSCOPE_EDITOR="/cygdrive/c/Program Files/Notepad++/notepad++.exe" export CSCOPE_LINEFLAG="-n%s"
Please note : Change the CSCOPE_EDITOR path to where your notepad++ is currently residing. For your convenience, I have included the path that is default for Normal install of notepad++.
Better still, put it in a script file (or perhaps bashrc).
Got a better suggestion? Post a comment
Advertisement

February 14, 2012 at 10:11 pm
Tried the above and didn’t work for me.
February 15, 2012 at 7:59 am
Well, unless you give me details as to what you have tried, I cannot help you.
I hope you have CSCOPE_EDITOR variable in double quotes to the correct location where notepad++ resides.
Also, I hope we are still talking about Cygwin in windows.