SPSS StudioSPSS Studio is a Visual Studio Code extension for editing and running IBM SPSS Statistics Syntax ( Author:Jing LIN (林景) Affiliation:Associate Professor, Nanjing University of Finance and Economics Contact:linjing@nufe.edu.cn
Features
Requirements
IBM SPSS Statistics 27 has been tested on macOS. Windows discovery, Registry parsing, paths containing spaces, batch-launch transport, and paging behavior are covered by automated tests, but Windows execution against a real SPSS installation has not yet been validated. No separate Python installation is normally required. SPSS Studio prefers IBM's InstallationInstall SPSS Studio from the Extensions view in Visual Studio Code, then open a Running syntax
With a selection, Run submits the selected syntax. Without a selection, it identifies and submits the current SPSS command or structural block. Run All submits the complete in-memory document, including unsaved changes. Undo uses VS Code's native undo stack. The first execution starts one persistent local SPSS processor. Run, metadata, and data-page requests share one serialized queue so that two calls never enter SPSS concurrently. SPSS Studio expands leading TAB indentation on SPSS command lines only at the final submission boundary. This avoids the SPSS 27 external Python OutputEach execution uses one private, uniquely tagged, short-lived OMS HTML destination. The SPSS Studio panel places the selected result on the left and run history on the right.
The extension displays native SPSS HTML rather than reconstructing statistical tables. It does not generate SPV or OXML files and does not use Execution statuses are Data and VariablesSPSS: Show Data opens a read-only view of the current Active Dataset. Rows are paged, while variables are available through continuous horizontal scrolling. The bridge never calls SPSS: Show Variables displays variable order, Name, Label, Type, Format, and Measure. It reuses metadata already cached for completion and Data preview and does not modify the SPSS data dictionary. Commands
Configuration
On Windows, JSON settings paths must escape backslashes, for example Workspace trust and local processingSyntax highlighting and static completion remain available in an untrusted workspace. Starting SPSS, executing syntax, and accessing the Active Dataset require a trusted workspace. SPSS syntax and dataset requests are sent to the locally installed IBM SPSS Statistics processor. The extension does not provide a cloud execution service. DevelopmentNode.js 22 or newer and npm are required.
Architecture, syntax coverage, and troubleshooting details are available in: Report reproducible defects through GitHub Issues. LimitationsSPSS Studio is not an LSP or a full semantic validator. It does not provide statistical menus, editable Data View cells, variable metadata editing, AI features, paper-table generation, or a general SPV viewer. Variables is intentionally read-only, and exported output is HTML rather than SPV. LicenseSPSS Studio is proprietary software distributed free of charge for permitted use. The source code is publicly visible for review but is not open source. Modification, derivative works, sale, sublicensing, republication, redistribution, and repackaging are prohibited unless prior written permission is granted. See LICENSE for the complete terms. Copyright © 2026 Jing LIN (林景). All rights reserved. IBM and SPSS are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide. All other trademarks belong to their respective owners. |