Skip to content

ZDoom ZScript syntax highlighter for KDE's Kate text editor.

License

Notifications You must be signed in to change notification settings

KaptainMicila/Kate-ZScript-Highlighting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kate-ZScript-Highlighting

ZDoom ZScript syntax highlighter for KDE's Kate text editor.

Syntax highlighter made with the help from: marrub--'s ZScript documentation and the basic Katepart syntax highlighter's documentation.

HOW DO I USE IT?

PREREQUISITES

GETTING THE .XML FILE

You can either get it from the source code from the main branch, or go the the "releases" section and get one version from there.

IMPORTANT: Getting it from the main branch can be dangereous, as that's where the editing appears.

WHERE TO PUT THE .XML FILE

From the "Overview" section of Katepart's documentation:

LINUX

Custom .xml highlight definition files are located in org.kde.syntax-highlighting/syntax/ in your user folder found with qtpaths--paths GenericDataLocation which usually is $HOME/.local/share

IMPORTANT: for me, it was $HOME/.var/app/org.kde.kate/data/org.kde.syntax-highlighting/syntax/, where the "org.kde.syntax-highlighting/syntax/ did not exist, so I had to create it."

WINDOWS

On Windows these files are located %USERPROFILE%/AppData/Local/org.kde.syntax-highlighting/syntax. %USERPROFILE% usually expands to C:\Users\user.


SPECIAL THANKS

  • Nash Muhandes for giving me the will to make this syntax highlighter;
  • marrub-- for the ZScript documentation;
  • KDE for giving me the text editor where to write the code;
  • The ZDoom comunity for creating the source port;

SAMPLE IMAGE

archvile.zs SAMPLE IMAGE

About

ZDoom ZScript syntax highlighter for KDE's Kate text editor.

Resources

License

Stars

Watchers

Forks

Packages

No packages published