VS Code workspaces and the Palantir extension for Visual Studio Code are not affiliated with or endorsed by Microsoft.
VS Code workspaces are in a beta state and available by default in all Organizations where Code Workspaces is enabled.
Code Workspaces is an Integrated Development Environment (IDE) for writing and collaborating on production-ready code in the Palantir platform. VS Code workspaces leverage Microsoft's VS Code ↗, an open-source IDE for editing and managing code.
To access a VS Code workspace, first open an existing or new Python transforms or OSDK React repository in the Code Repositories application. From here, select the Open in VS Code option in the top right corner of the screen. This will take you to a VS Code workspace where your development environment will be set up automatically, allowing you to start working immediately.
VS Code workspaces are only available for supported workflows.
Aside from Palantir's in-platform instance of VS Code, you can also configure your local VS Code environment to integrate with Palantir. To do this, you will need to download and install the Palantir extension for Visual Studio Code, which provides native integrations with the Palantir platform, including many features you see in Code Repositories. The extension is in a beta state and is currently focused on delivering features for Python transforms. It is enabled by default inside VS Code Workspaces.
Learn more about the features of the Palantir extension for Visual Studio Code.
VS Code workspaces are still in development and may change as improvements are made over time. The following workflows are currently supported in both the local and in-platform versions of VS Code:
The Palantir extension for Visual Studio Code automatically sets up your Python environment at startup and enables features including the following:
You must have web hosting enabled to use VS Code workspaces for OSDK React applications.
VS Code is integrated with Developer Console, allowing you to rapidly build React applications. You can create a VS Code workspace in the Code repository section of your Developer Console.
Other benefits of VS Code integration with React OSDK applications in Palantir include the following:
VS Code and Code Repositories have some overlap in intended use cases. However, their functionality differs in the following ways:
Feature | Code Repositories | VS Code workspaces | Palantir extension for Visual Studio Code (through local VS Code application) |
---|---|---|---|
Transforms | |||
Python transform preview | Yes (Code Assist) | Yes (Local preview) | Yes (Code Assist/Local preview) |
Full data preview | Preview data sample, with the ability to pre-filter the input sample | Yes | Yes (Local preview only) |
Debugger support | Yes | Yes | Yes |
Java transforms | Yes | No | No |
OSDK React applications | |||
Typescript Language Server | No | Yes | Yes |
Live reload code changes | No | Yes | Yes |
Python compute modules | |||
Run and debug Python files | No | Yes | Yes |
Python libraries | |||
Run and debug Python files | No | Yes | Yes |
Workflows | |||
SQL integration | Yes | No | No |
Typescript function preview | Yes | No | No |
IDE | |||
Shell terminal | No | Yes (Remote host) | Yes |
Keybinding customization | No | Yes | Yes |
Public extension support | N/A | No | Yes, if allowed by your organization |
AIP autocomplete | Yes | No | No |
For VS Code workspace pricing information see Code Workspaces compute usage.