Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SliceNew to Visual Studio Code? Get it now.
Slice

Slice

ZeroC

|
2,455 installs
| (3) | Free
Slice language support for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Slice for Visual Studio Code

This language extension adds support for highlighting Slice files within Visual Studio Code. It supports highlighting the following file types:

  • .ice files, which use the original Slice syntax
  • .slice files, which use the latest Slice syntax

Additionally, this extension provides a Slice Language Server, for .slice files only.

Configuration

The Slice Language Server can be configured using the following settings:

  • slice.languageServer.enabled: A boolean indicating whether the Slice Language Server should be enabled. Defaults to true.
  • slice.configurations: An array of configuration sets. Configuration sets are independently compiled, allowing each to define its own files and options for compilation.
    • Each configuration set is an object with the following properties:
    • paths: An array containing the paths to the target Slice reference files. Also supports directory paths.
    • addWellKnownTypes: A boolean indicating whether to include the IceRpc well-known Slice files during compilation.

Example

{
    "slice.configurations": [
        {
            "paths": [
                "path/to/slice/directory",
                "path/to/other/slice/file.slice",
                "/absolute/path/to/directory"  
            ],
            "addWellKnownTypes": true
        }
    ]
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft