Syntax Highlighting for SAS in the KDE Kate Editor

A big thanks to Ian M. Shmutte from Cornell Institute for Social and Economic Research for his updates to the sas.xml file!

The attached file sas.xml is used to highlight SAS code in the Kate editor. So far, it does an adequate job of highlighting the simple parts, like keywords, numbers, and comments. Someone may want to add the rest? If you'd like, please do. You'll find this link helpful:

http://docs.kde.org/stable/en/kdesdk/kate/katehighlight-xml-format.html

Also, Sudoku_Solver.sas is attached below and is a test case that lives here:

http://www.sascommunity.org/wiki/Sudoku_Solver_in_DATA_Step_with_Recursion

Installation

On Ubuntu, you will want to store the file in the /usr/share/apps/katepart/syntax (for KDE4 the directory is /usr/share/kde4/apps/katepart/syntax) directory. This place may be different on other linux distributions.

Jeff

Topic attachments
I AttachmentSorted descending Action Size Date Who Comment
Sudoku_Solver.sassas Sudoku_Solver.sas manage 4.5 K 04 Sep 2008 - 11:25 UnknownUser  
sas.xmlxml sas.xml manage 15.6 K 15 Jul 2009 - 10:45 UnknownUser Updates by Ian M. Schmutte
This topic: Main > TWikiUsers > JeffreyHorner > KateSasHighlighter
Topic revision: 21 Dec 2009, DalePlummer
 
This site is powered by FoswikiCopyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback