Announcement

Collapse
No announcement yet.

kate and syntax highlighting

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    kate and syntax highlighting

    I would like kate to use cpp syntax highlighting with a different file extention, let's say "ncc".

    I see that syntax highlighting files are contained in two different directories in my installation of 9.04 kubuntu for some reason:

    /usr/share/apps/katepart/syntax/cpp.xml
    and
    /usr/share/kde4/apps/katepart/syntax/cpp.xml <-- newer

    How do I tell kate to use cpp.xml for a different file extension? Is there another file that associates extentions with syntax xml files somewhere? And what is its name?
    Kurt

    #2
    Re: kate and syntax highlighting

    Hi,

    You can configure that from Kate itself, in Settings -> Editor Component -> Open/Save -> Modes and Filetypes

    Best
    Leo


    Attached Files

    Comment

    Working...
    X