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

Pomsky

Pomsky

pomsky-lang.org
|
23 installs
| (0) | Free
Language support for pomsky-lang
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Logo

pomsky-vscode

The official extension for the Pomsky regular expression language. It is still in development and lacks some features.

Features

  • Syntax highlighting
  • Underlined errors and warnings
  • Auto-completion of variables and character classes
  • Live preview of compiled expression
    • Right-click and select Open compiled RegExp on the right or click the icon in the top right corner

Missing IDE features:

  • Go to definition / find usages / rename variable
  • Code formatting
  • Extend selection
  • Documentation tooltips
  • Quick fixes
  • Compiled Regex: find and replace
  • Select flavor in preview window

Requirements

You need to have the pomsky executable installed locally. Get it from the Releases page. Then you need to either

  • go to the settings, search for pomsky.exePath and enter the path to the executable, or

  • rename the executable to pomsky and move it to /usr/bin or ~/.cargo/bin so it can be detected automatically

In the future we'll add a setting to specify a path to the executable. We might also embed an executable compiled to WASM, so no setup is needed.

Extension Settings

The following configurations are available:

  • pomsky.defaultFlavor: Specifies the default regex flavor

  • pomsky.executable.path: Points to the Pomsky executable

  • pomsky.executable.extraArgs: Additional arguments to pass to pomsky. For example, setting it to -Wcompat=0 disables compatibility warnings.

Issues

This extension is an alpha stage, so expect some bugs. Please report any problems you encounter here!

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft