Bug 63070

Summary: Cannot add .hpp file extension to C++ highlighting rules
Product: [Developer tools] kdevplatform Reporter: Matt <kdev>
Component: editor integrationAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matt 2003-08-21 14:13:34 UTC
Version:            (using KDE KDE 3.1)
Installed from:    RedHat RPMs
Compiler:          gcc-3.2.2-5 
OS:          Linux

Trying to add .hpp to the list of file extensions under Tools -> Configure Editor -> Highlighting -> Highlight Modes -> C++ -> File extensions.

Was:       *.cxx;*.cpp;*.cc;*.C;*.h
Change to: *.cxx;*.cpp;*.cc;*.C;*.h;*.hpp

Press OK.

Has no effect. Return to the same configuration screen, and *.hpp has been lost from the list of file extensions.

Would expect this to cause syntax highlighting on [newly opened] .hpp files.

Working on C++ lib project with standard makefile and autotools. Project was originally being developed on KDevelop stable 2.1.5-6 (redhat rpm). The src.kdevprj from that was opened in gideon.

Gideon CVS checked out on 21/08/2003. Platform - Redhat 9.

Regards
Comment 1 Matt 2003-08-21 19:39:01 UTC
This is not HEAD, but the result of:
cvs -z3 -d :pserver:anonymous@anoncvs.kde.org:/home/kde co kdevelop 
.. on 12/08/2003, as per instructions on www.kdevelop.org. I was under the
assumption this was latest source. My apologies if it has already been fixed.
Comment 2 Chris Thompson 2003-08-21 19:56:11 UTC
If you checked out on the 12th of August, please try doing a cvs update -dP, recompiling, 
and retrying. 
 
Using today's sources (21st of August), I am unable to duplicate your problem.  I verified 
according to your documentation (using the Settings menu instead of the Tools menu) 
on my Gentoo system and it worked as you expected it would. 
 
That said, I am using a project file created for KDevelop 3.0a4, not 2.1.5. 
 
It may well be that there's something different on your system compared to mine but a 
good first step is to bring your cvs tree up to the current day if you checked out on the 
12th. 
 
Comment 3 Matt 2003-08-21 21:21:24 UTC
Thats a typo, I checked out on Wed 21/08/2003.
Comment 4 Matt 2003-08-21 21:25:32 UTC
Ugh, Thu 21/08/2003. My last post, I'm having 'one of those days'.
Comment 5 Matt 2003-08-24 16:27:14 UTC
Fixed in cvs HEAD.