https://github.com/pomsky-lang/pomsky-vscode
Official Pomsky support for VS Code
https://github.com/pomsky-lang/pomsky-vscode
pomsky vscode vscode-extension
Last synced: about 2 months ago
JSON representation
Official Pomsky support for VS Code
- Host: GitHub
- URL: https://github.com/pomsky-lang/pomsky-vscode
- Owner: pomsky-lang
- License: apache-2.0
- Created: 2023-03-03T23:00:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-21T21:38:47.000Z (over 1 year ago)
- Last Synced: 2025-03-23T08:12:02.109Z (about 1 year ago)
- Topics: pomsky, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=pomsky-lang.pomsky-vscode
- Size: 366 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README

# pomsky-vscode
The official extension for the [Pomsky](https://pomsky-lang.org) 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
- Go to definition / find usages / rename variable
- Running tests (enable with the `pomsky.runTests`) configuration
- Live preview of compiled expression
- Right-click and select `Open compiled RegExp on the right` or click the icon in the top right
corner
- Hover tooltips for keywords and built-ins
- Embedded syntax highlighting in Markdown code blocks
- Extend selection (partial support)
Missing IDE features:
- Code formatting
- Quick fixes
- Compiled Regex: find and replace
## Requirements
You need to have the `pomsky` executable installed locally. Get it from the
[Releases](https://github.com/pomsky-lang/pomsky/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
## Extension Settings
The following configurations are available:
- `pomsky.defaultFlavor`: Specifies the default regex flavor
- `pomsky.runTests`: Enable to conveniently run tests and see test failures on every change
- `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](https://github.com/pomsky-lang/pomsky-vscode/issues)!