This extension for Visual Studio Code adds snippets for HerbsJS.
Usage Example
Type the keywords in snippet e.g., "step" and press enter.
Alternatively, one can also just press Ctrl+Space (Windows, Linux) or Cmd+Space (OSX) to access the available snippets in the editor.
Snippets
◈ UseCases ◈
Trigger
Content
uc→
Generate Herbs entire UseCase ... usecase("My use case definition", { ...
step→
Create a Herbs step "Description of step": step( (ctx) => { return Ok() } )
ifstep→
Create a Herbs conditional Step "Description of conditional rule": ifElse( {
usec→
Generate instantiation of Herbs Usecase with all available functions