Kate: Difference between revisions

Jump to navigation Jump to search
315 bytes added ,  18 April 2012
no edit summary
(Created page with "Kate is a multi-document, multi-view text editor for KDE. Very well adapted to octave. Features syntax highlighting, embedded terminal, and [http://kate-editor.org/about-kate/...")
 
No edit summary
Line 13: Line 13:
and setting  
and setting  
Priority 0 for Filetype : Scientific/Matlab and  
Priority 0 for Filetype : Scientific/Matlab and  
Priority 1 for Filetype : Scientific/Octave (the important is that it is higher than the Matlab one)
Priority 1 for Filetype : Scientific/Octave (the important being that it is higher than the Matlab one)


== Comment/uncomment ==
== Comment/uncomment ==
Kate can comment/uncomment several lines of code at the same time. Simply select the lines and press {{Key|Ctr+D}} to comment and {{Key|Shift+Ctr+D}} to uncomment.
Kate can comment/uncomment several lines of code at the same time. Simply select the lines and press {{Key|Ctr+D}} to comment and {{Key|Shift+Ctr+D}} to uncomment.


For the current (april 2012) default (octave.xml version 1.01),
For the current default (april 2012, octave.xml version 1.01),
the added comment start at the beginning of the line.
the added comment start at the beginning of the line.


Line 45: Line 45:


Quit kate, then, as root, {{Codeline|cd /usr/share/kde4/apps/katepart/syntax/ && patch -p7 --backup < /tmp/kate_highlight_octave.xml.patch}}
Quit kate, then, as root, {{Codeline|cd /usr/share/kde4/apps/katepart/syntax/ && patch -p7 --backup < /tmp/kate_highlight_octave.xml.patch}}
== Embedded terminal ==
Integrates a terminal to the editing window.
Settings/Configure kate/Application/Plugins/Terminal tool view
(by the way, you can select also the Find in file tool, quite handy)
Then the terminal can be hidden/shown by clicking on the corresponding button at the bottom of the window.
26

edits

Navigation menu