Registered Member
|
Dear forum users,
I wrote a custom syntax highlighting schema for Kate. The documentation states where you have to place the file on Linux and Windows, but not on Mac. My colleagues who are Mac users were not able to guess the location of the custom highlighting xml files based on the Linux and Windows paths. Could someone point me to the correct path, please? Thanks, Peter |
Registered Member
|
NB: these are the locations for Linux and Windows (from https://invent.kde.org/frameworks/syntax-highlighting):
For local user $HOME/.local/share/org.kde.syntax-highlighting/syntax/ For Kate's Flatpak package $HOME/.var/app/org.kde.kate/data/org.kde.syntax-highlighting/syntax/ For Kate's Snap package $HOME/snap/kate/current/.local/share/org.kde.syntax-highlighting/syntax/ On Windows® %USERPROFILE%\AppData\Local\org.kde.syntax-highlighting\syntax\ |
Registered Member
|
A colleague found the correct path (MacOS Big Sur, Kate 20.12.2):
$HOME/Library/Application Support/org.kde.syntax-highlighting/syntax To install a highlighting scheme `schema.xml` that is located in the Downloads folder, do the following steps: 1. Create the "org.kde.syntax-highlighting/syntax" folders within the Application Support folder:
2. Copy the schema to the new folder:
|
Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]