Discussion:
Text editor with SPSS syntax highlighting
(too old to reply)
Aldo Cimino
2006-03-16 17:59:21 UTC
Permalink
The title says it all. Is there a text editor that will provide colored
highlighting for SPSS commands, comments, etc.?
Bruce Weaver
2006-03-16 18:55:21 UTC
Permalink
Post by Aldo Cimino
The title says it all. Is there a text editor that will provide colored
highlighting for SPSS commands, comments, etc.?
The FAQ page on Raynald's website has a file on using TextPad as a
syntax editor. Apparently it supports the highlighting you want.

http://www.spsstools.net/FAQ.htm
--
Bruce Weaver
***@lakeheadu.ca
www.angelfire.com/wv/bwhomedir
j***@zeusedit.com
2006-03-16 22:57:28 UTC
Permalink
As a a language neutral IDE, Zeus can be configured
for almost any programming language. It has features
like class browsing, syntax highlighting, smart indent,
code folding, project management, version control etc.
Post by Aldo Cimino
Is there a text editor that will provide colored
highlighting for SPSS commands, comments, etc.?
The link below describes how to add a new language
definition:

http://www.zeusedit.com/forum/viewtopic.php?t=236

Basically you will need a list of keywords, which can
then be imported into the Zeus document type.

Jussi Jumppanen
Author: Zeus for Windows
Note: Zeus is shareware (45 day trial).
Aldo Cimino
2006-03-17 03:15:38 UTC
Permalink
Thanks Bruce and Jussi.

Do either of you know of a Mac text editor with SPSS syntax highlighting? I
use Windows as well, but it would be ideal to have a Mac version. I've
looked at the major Mac text editors (BBEdit and TextMate) and neither
appear to have SPSS support. Ah well.
Aldo Cimino
2006-03-26 20:29:39 UTC
Permalink
After fruitless searching, I decided to make an SPSS syntax language file
for BBEdit. After installing this language file, any BBEdit document with a
".sps" extension will have automatic syntax coloring.

Download the file here: http://www.aldocimino.com/spss_syntax.zip

To install the file, unzip it, and place it in the following folder:

~/Library/Application Support/BBEdit/Language Modules/

If the folder "Language Modules" does not exist, you will need to create it.

A few things about syntax coloring:

1) It will only highlight SPSS syntax if it is capitalized.
2) Many abbreviations of syntax commands that SPSS supports are not in the
language file. Feel free to add your own.

-Aldo
Post by Aldo Cimino
Thanks Bruce and Jussi.
Do either of you know of a Mac text editor with SPSS syntax highlighting? I
use Windows as well, but it would be ideal to have a Mac version. I've
looked at the major Mac text editors (BBEdit and TextMate) and neither
appear to have SPSS support. Ah well.
Vincent Dusanek
2022-10-07 04:42:01 UTC
Permalink
For those wondering, SPSS is based on JAVA. So instead of creating a new file and doing all the other work, you could just select JAVA for syntax-highlighting. Does the job pretty well, if you wanna work with the SPSS Syntax.
Loading...