Linux IDE Kate (Syntax incl)

Monkey Archive Forums/Monkey Discussion/Linux IDE Kate (Syntax incl)

Super Slimer(Posted 2013) [#1]
Hi all,

Thought I would post this incase anyone else might find it useful.

Desktop shot.

I have a full setup running on Kate edtior (KDE Advanced Text Editor).

I have this working.
- Syntax highlighting (for Monkey, mojo, and fantomEngine)
- Project Management (3.10 version only) using git
- Build support.

I am using a locally running nginx webserver to run the html5 builds.

I created the syntax file from the Monkey Docs, the gEdit Syntax file, and the fantomEngine Docs (You could easily strip out the fantom syntax if you wanted).

Syntax file, this goes in ~/.kde/share/apps/katepart/syntax/ or /usr/share/apps/katepart/syntax/ depending on your preference).

Load up Kate and test a monkey file it should have colours!

For project management you need Kate 3.10 or better. All that is required is to create a .kateproject file in the root of your project. This is what I am using, there are other options for file control.

See here for more info

Build support is nice and easy. (Note: I had to tell the build to run [build->build] before I could access the Target settings tab)

You just need to fill in your requirements on the Target settings tab it should be pretty self explanatory.

I actually have a copy of Jungle IDE, and I have to say I actually prefer Kate as an IDE. But then I don't use the auto-complete stuff.
EDIT: Kate does support auto-complete for local variables/methods btw.

Super Slimer(Posted 2013) [#2]
Fixed the syntax, was highlighting types incorrectly.

slenkar(Posted 2013) [#3]
looks good

I put the monkey.xml in the same folder as all the other xml files


but it doesnt highlight
I even edited
and added a monkey entry but still no luck

If I choose monkey from the highlighting menu it works though
it just doesnt detect the monkey extension by itself

P.s. how do access the build dialog?

Super Slimer(Posted 2013) [#4]
I am not sure about the monkey highlighting thing I do remember the first time I started it it did not auto detect but every time after it did. You may need to save a default Session in Kate?

For reference I am using Kate 3.10.3 on KDE 4.10.3 but it was working fine on KDE 4.8.5 as well.

Here is the monkey config from my ~/.kde/share/config/katesyntaxhighlightingrc

[Cache /home/daniel/.kde/share/apps/katepart/syntax/monkey.xml]
author=Daniel Rammelt (drammelt@...)

Also why /root/.kde ?????? Are you running it as root or your user?

The build dialog, you need to load the Build plugin if its not already loaded (Settings->Configure Kate->Plugins)
Then from the Build menu click Build and it pops up down the bottom. You can add as many targets as you like.

Super Slimer(Posted 2013) [#5]
Just a note...

it is ~/.kde or ~/.kde4 depending on your distro. I use Gentoo and Slackware and its different on each one so make sure you are putting it in the right folder in your home directory.