-   Linux - General (
-   -   CScope with color syntax ON (

amitpardesi 09-27-2007 06:06 AM

CScope with color syntax ON
Whenever you CScope and open any C/C++/Perl file it opens in plain B&W visual. If you open the same file directly from command prompt using vi, it will have appropriate color display of the code, syntax is set in the vimrc file.

Is there any way, where I can enable color syntax ON while opening a file from CScope?

My CScope RPM version is cscope-15.5-15.fc6.1 & VIm 7.0.109

ak_random 09-30-2007 05:42 PM

I don't believe cscope is fancy enough to support terminal colors. Perhaps that's a wish list item for the future...?

ringfjt 09-22-2011 10:40 PM

change default editor
default editor for cscope is vi, not vim, so
export CSCOPE_EDITOR=vim

All times are GMT -5. The time now is 12:06 PM.