This page describes the features available in the Palantir extension for Visual Studio Code.
The following sections list the commands available in the Palantir extension for Visual Studio Code. Use these commands to enhance your workflow when working with Python transforms within the Palantir ecosystem, such as during pipeline development.
If a command is not integrated within the interface, you can invoke it using the Command Palette. You can access the Command Palette with the Cmd+Shift+P
(macOS) or Ctrl+Shift+P
(Windows/Linux) keyboard shortcut.
Executes a preview of the current transform file.
palantir.transforms.previewFile
Initiates a build process for the selected file on Foundry.
palantir.transforms.buildFile
Displays the preview panel for quick access to transform previews.
palantir.transforms.openPreviewPanel
Initializes a new transform project.
palantir.transforms.createTransform
Sets up the Python environment necessary for developing transforms.
palantir.transforms.initializePythonEnvironment
Sets up the Python test environment for transform development.
palantir.transforms.initializePythonTestEnvironment
Opens the currently selected file in a web browser.
palantir.openFileInBrowser
Provides a quick way to access the repository in a web browser.
palantir.openRepository
Allows cloning of repositories for local development.
palantir.cloneRepository
Restarts the workspace for Code Assist.
palantir.code-assist.restartWorkspace
Refreshes the authentication token to maintain access to Palantir services.
palantir.refreshToken
Snippets in Visual Studio Code ↗ are templates that make it easier to enter repeating code patterns.
Below is a list of all available snippets in the Palantir extension for Visual Studio Code. The symbol → represents the Tab
key.
Snippet | Output code template |
---|---|
python_transform→ | A Python transform |
polars_transform→ | A Python lightweight transform using Polars |
pandas_transform→ | A Python lightweight transform using pandas |
Snippet | Output code template |
---|---|
ptf→ | A Python transform |
pltf→ | A Python lightweight transform using Polars |
pdtf→ | A Python lightweight transform using pandas |