Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Text editor with SPSS syntax highlighting

758 views
Skip to first unread message

Aldo Cimino

unread,
Mar 16, 2006, 12:59:21 PM3/16/06
to
The title says it all. Is there a text editor that will provide colored
highlighting for SPSS commands, comments, etc.?

Bruce Weaver

unread,
Mar 16, 2006, 1:55:21 PM3/16/06
to
Aldo Cimino wrote:
> 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
bwe...@lakeheadu.ca
www.angelfire.com/wv/bwhomedir

jus...@zeusedit.com

unread,
Mar 16, 2006, 5:57:28 PM3/16/06
to
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.

> 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

unread,
Mar 16, 2006, 10:15:38 PM3/16/06
to
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

unread,
Mar 26, 2006, 3:29:39 PM3/26/06
to
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


On 3/16/06 7:15 PM, in article C03F69DA.ECB8%aldo_...@umail.ucsb.edu,

Vincent Dusanek

unread,
Oct 7, 2022, 12:42:02 AM10/7/22
to
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.
0 new messages