Indent script for Katepart5?

Pierre de Villemereuil pierre.de.villemereuil at mailoo.org
Mon Nov 13 08:46:24 UTC 2017


Dear all,

I've been working on an indentation script for R (with esp. RKward in mind). It's working great on Katepart4/RKward (last release still depends on the KDE 4 stack), but I can't manage to test a KF5 version on Kate.

I have prepared a KF5 script using the new header (var katescript = { ... }) and placed it in:
- /usr/share/katepart5/script/indentation/
- ~/.local/share/katepart5/script/indentation
- ~/.local/share/katepart/script/indentation

In none of the above case I obtain the R option in the indentation menu in Kate (I restarted Kate each time). What is the correct path to place the indentation script for Katepart5?

The script is here:
https://github.com/devillemereuil/rindent

Any help is welcome.

Thanks,
Pierre.


More information about the KWrite-Devel mailing list