Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stuyk/splunkit
.spl code formatter for vscode as an extension
https://github.com/stuyk/splunkit
Last synced: about 22 hours ago
JSON representation
.spl code formatter for vscode as an extension
- Host: GitHub
- URL: https://github.com/stuyk/splunkit
- Owner: Stuyk
- Created: 2020-12-31T18:35:04.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-04T19:13:23.000Z (almost 4 years ago)
- Last Synced: 2024-05-01T16:36:23.386Z (8 months ago)
- Language: TypeScript
- Size: 48.8 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Splunkit
A code formatter/beautify for .spl files - specifically around stats and rename commands.
For functionality similar to Splunk App 'Ctrl + \\' functionality the "Format SPL" Extension Command from VS Extension 'Splunk Search Autocompletion Tool' (by [arcsector](https://github.com/arcsector/vscode-splunk-search-linter)) works well and is auto-run by this extension.
## Usage
```
Ctrl + Shift + P
> SPL Beautify
```## Installation / Testing
If you are running this from the cloned github repository.
- NodeJS 13+
- Run `npm install` in terminal to install dependencies
- Run the `Run Extension` target in the Debug View. This will:
- Start a task `npm: watch` to compile the code
- Run the extension in a new VS Code windowYou can also hit F5 in VSCode to debug the extension.