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.previewFileInitiates a build process for the selected file on Foundry.
palantir.transforms.buildFileDisplays the preview panel for quick access to transform previews.
palantir.transforms.openPreviewPanelInitializes a new transform project.
palantir.transforms.createTransformSets up the Python environment necessary for developing transforms.
palantir.transforms.initializePythonEnvironmentSets up the Python test environment for transform development.
palantir.transforms.initializePythonTestEnvironmentOpens the currently selected file in a web browser.
palantir.openFileInBrowserProvides a quick way to access the repository in a web browser.
palantir.openRepositoryAllows cloning of repositories for local development.
palantir.cloneRepositoryRestarts the workspace for Code Assist.
palantir.code-assist.restartWorkspaceRefreshes the authentication token to maintain access to Palantir services.
palantir.refreshTokenSnippets 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 |