Options
All
  • Public
  • Public/Protected
  • All
Menu

Package vscode-zipfs

ZipFS

This extension adds support into VSCode to read files directly from zip archives. It's maintained as part of the Yarn toolchain. Using this extension together with the Yarn SDK will allow you to seamlessly open & edit files from your cache.

New protocol: zip:

Paths starting with the zip: protocol (e.g. zip:/foo/bar.zip/index.js) will be resolved, the zip archive being extracted and opened as if it was a folder.

Type aliases

Link

Link: TerminalLink & object

Variables

Const COMBINED_SELECTORS

COMBINED_SELECTORS: string = SELECTOR_PATTERNS.map(selector => `(${selector.source})`).join(`|`)

Const FILEPATH_MATCHER

FILEPATH_MATCHER: string = /(([A-Za-z]:)?\/.*((__virtual__)|(\$\$virtual)|(\.zip)).*\.[\w:]+)/.source

Const FILE_SELECTOR_MATCHER

FILE_SELECTOR_MATCHER: string = `(${FILEPATH_MATCHER})(${COMBINED_SELECTORS})?`

Const SELECTOR_PATTERNS

SELECTOR_PATTERNS: RegExp[] = [// :LINE:COLUMN/:(\d+):(\d+)/,// :LINE/:(\d+)/,// (LINE,COLUMN)/\((\d+),(\d+)\)/,// (LINE)/\((\d+)\)/,]

Regex patterns to match line and columns in filepaths

Functions

activate

  • activate(context: ExtensionContext): void

mount

  • mount(uri: Uri): void

registerTerminalLinkProvider

  • registerTerminalLinkProvider(): Disposable

unmount

  • unmount(uri: Uri): void

Generated using TypeDoc