Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Slice InspectorNew to Visual Studio Code? Get it now.
Slice Inspector

Slice Inspector

srcML

|
4 installs
| (0) | Free
Uses srcSlice, a fast lightweight srcML tool for static slicing, for visualizing slices
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Slice Inspector

This extension uses srcSlice to calculate the slice of a desired variable and visualize information regarding where it is used through out a system.

Install Dependencies

This is a srcML tool extension, if you do not have srcML installed you must install it. You can download the system installer here. You will also need to install srcSlice, go here for srcSlice installation instructions. Finally you will need to install npm to allow compilation and installation of the extension, go here for npm install instructions.

Compile Extension

If you have npm, srcML, and srcSlice installed on your system do the following

# creates a .vsix file
npm install -g @vscode/vsce
# compile the extension
vsce package
# installation
code --install-extension VSIX_FILE

Keyboard Bindings

Refresh Visuals
    Windows/Linux: Ctrl + Shift + R
    macOS: Cmd + Shift + R

Find Slice
    Windows/Linux: Ctrl + Alt + F
    macOS: Cmd + Alt + F

Hide Slice
    Windows/Linux: Ctrl + Alt + H
    macOS: Cmd + Alt + H

Filter Only Selected
    Windows/Linux: Ctrl + Alt + K
    macOS: Cmd + Alt + K

Show All Entries
    Windows/Linux: Ctrl + Alt + L
    macOS: Cmd + Alt + L

Get Editor Slices (Slice only from active tabs)
    Windows/Linux: Ctrl + Alt + E
    macOS: Cmd + Alt + E

Get All Slices (Slice the entire workspace)
    Windows/Linux: Ctrl + Alt + A
    macOS: Cmd + Alt + A
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft