https://github.com/gavinray97/vscode-reascript-extension
https://github.com/gavinray97/vscode-reascript-extension
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gavinray97/vscode-reascript-extension
- Owner: GavinRay97
- Created: 2021-01-01T22:58:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-13T20:10:31.000Z (over 1 year ago)
- Last Synced: 2025-04-20T11:08:56.078Z (about 1 month ago)
- Language: Lua
- Size: 26.1 MB
- Stars: 12
- Watchers: 1
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ReaScript VS Code Extension
An extension for Reaper's ReaScript API methods in VS Code.
Provides Intellisense/Autocomplete, and doc-comments on hover for all functions.## Changelog
- 0.0.1
- Initial version
- 0.0.2 (1/6/2021)- Added scraper and parser to grab docs from Ultraschall ReaScript API, and process the important stringified fields into JSON
- As a byproduct of using Ultraschall as a docs source, the extension now has:
- SWS methods
- JS methods
- Better descriptions
- Comments about parameter and returns values on many functions
- Updated formatting on the doc blocks, so that it looks much nicer. Important things are bolded, items are logically spaced, markdown used instead of plain text, etc
- Intellisense/Autocomplete now works without having to prefix the method with "reaper." and "gfx." (still need to make this a toggleable option)
- **NOTE**: A big thank-you to Meo-Mespotine for writing/maintaining the Ultraschall docs, and also Extremeraym for his Node function that sanitizes the XML format so that it's properly parseable.- 0.0.3 (1/10/21)
- Fixed issue where autocomplete was case-sensitive if trying to autocomplete a method preceeding a dot, IE "getmedia" expected to trigger "reaper.GetMedia\*\* but didn't
- 0.0.4 (1/18/21)
- **Added syntax highlighting for Eel/Jesusonic/WALTER (all credit to Breeder's TextMate grammar file, see copyright notice in repo)**
- **Added intellisense/autocomplete for Eel/Jesusonic**
- Method signatures now show the return types. IE, when pressing `(` to invoke `reaper.AddMediaItemToTrack`, it shows `MediaItem tr = reaper.AddMediaItemToTrack()`
- Large internal refactor for the shape of the JSON document used to store ReaScript functions. Better parser in Lua using Ultraschall API methods for USDocML to generate this.- 0.0.5 (1/18/21)
- Fixed bug with signature completion
- Refactored providers to classes by feature, in individual folders, implementing the provider API for that feature:
- ```ts
// In "src/providers/eel/completion.ts"
class EelCompletionItemProvider implements vscode.CompletionItemProvider {}
```