Benefits of VS Code workspaces

This page provides an overview of the benefits of using VS Code in Foundry to write and manage code. In particular, the benefits below should be considered when deciding whether to switch from Code Repositories to VS Code in Foundry.

AI-powered coding assistance with Continue

VS Code in Foundry comes with Continue, an AI coding assistant preconfigured to work with Palantir-provided language models and equipped with knowledge about relevant Palantir SDKs and your Python transforms or OSDK repository. With this contextual understanding of your data structures, ontology, and organization, Continue can generate more accurate and relevant code suggestions and access Foundry-specific tools to accelerate your workflows.

Preview features enabled by VS Code

VS Code in Foundry comes with a number of enhanced preview features, including:

  • Sample-less preview in Python Transforms repositories: You can use sample-less preview in Python transforms repositories to preview the full output of transforms without sampling, giving you a better understanding of outputs ahead of time.
  • Incremental transforms preview: The Palantir extension for VS Code enables accurate preview of incremental transformations. When previewing, the Palantir extension for VS code runs the same logic for incremental resolution and evaluation as during a build.
  • Custom filters: With VS Code in Foundry, you can specify your own code-defined filters to ensure that only the most relevant data samples are used in preview. These custom filtering strategies can be implemented directly in your code.

Optimized VS Code language server

The highly-optimized language server in VS Code enables a performant, responsive developer experience when using VS Code in Foundry, with major speed boosts for features like linting and auto-complete.

Integrated terminal

VS Code's integrated terminal gives you full control over your development environment. Using the terminal, you can automate workflows with scripts, run commands to perform bulk operations, and efficiently manage version control with the command line interface.

Flexibility to work in Foundry or develop locally

VS Code workspaces provide you with an environment deployed on Palantir infrastructure and accessible from the Palantir platform. Alternatively, the Palantir extension for Visual Studio Code can be installed in your local VS Code IDE to integrate directly with your code in Foundry.

Customizable user experience

VS Code workspaces enables you to customize your workflow and save your coding preferences, such as custom key bindings, configurable color themes and layouts, and other UI settings.

Learn more about the motivation for VS Code integration with Foundry ↗ and additional features of the VS Code extension.


Note: AIP feature availability is subject to change and may differ between customers.

VS Code workspaces and the Palantir extension for Visual Studio Code are not affiliated with or endorsed by Microsoft.

The Continue extension is a product of Continue Dev, Inc. No affiliation or endorsement is implied.