Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>vscode-purescript-emmetNew to Visual Studio Code? Get it now.

vscode-purescript-emmet

spacethimble

|
21,898 installs
| (1) | Free
vscode extension for purescript-emmet
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-purescript-emmet

VSCode extension for purescript-emmet.

Keybinding

Type the emmet abbreviation and then press Alt+Shift+y to execute the "Halogen to Emmet HTML" command. To customize see the extension.emmetHalogen keybindings.

Settings

Setting Value
purescriptEmmet.path null
purescriptEmmet.regexp [a-zA-Z0-9_\-.+*#>()]+

Dependencies

You will need purescript-emmet installed on your system and available in your PATH. Alternatively, you can set the absolute path to purescript-emmet using the purescriptEmmet.path configuration variable.

Abbreviation Matcher

This extension attempts to match the emmet-like abbreviation by moving backwards from the cursor position. To be more specific, it uses TextDocument.getWordRangeAtPosition with a custom RegExp object. If purescript-emmet provides support for new operators, the RegExp object will need to be updated. If that happens feel free to open an issue or send a PR, otherwise you can define it with the purescriptEmmet.regexp configuration variable.

Contributing

To make changes, checkout the repository and run npm install in project root. You can make changes to src/extension.ts and test them in VSCode by pressing F5 or by choosing Start Debugging from the Debug menu. To run the tests run npm run test.

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