-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
415 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# vscode-euphoria | ||
|
||
## Snippets | ||
|
||
Code snippets are templates that make it easier to enter repeating code patterns, such as loops or conditional statements. [Snippets in Visual Studio Code](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_creating-your-own-snippets) support _substring matching_ so you can type `pf` for `public-function`, etc. Most snippets have predefined breakpoints that can be navigated using the `Tab` key. For example, typing `if[Tab]` will give a complete `if` statement with the cursor between `if` and `then`, and then pressing `Tab` again will move the cursor to the body of the `if` statement. | ||
|
||
### Branching statements | ||
|
||
- `if` | ||
- `else` | ||
- `elsif` | ||
- `ifdef` | ||
- `elsedef` | ||
- `elsifdef` | ||
- `switch` | ||
- `case` | ||
- `case-else` | ||
- `switch-with-fallthru` | ||
|
||
### Looping statements | ||
|
||
- `while` | ||
- `while-with-entry` | ||
- `loop` | ||
- `loop-with-entry` | ||
- `for` | ||
- `for-by` | ||
|
||
### Declaration statements | ||
|
||
- `constant` | ||
- `enum` | ||
- `enum-type` | ||
|
||
### Routine statements | ||
|
||
- `function` | ||
- `procedure` | ||
- `type` | ||
|
||
### Scoped variations | ||
|
||
**public** | ||
|
||
- `public-constant` | ||
- `public-enum` | ||
- `public-enum-type` | ||
- `public-function` | ||
- `public-procedure` | ||
- `public-type` | ||
|
||
**export** | ||
|
||
- `export-constant` | ||
- `export-enum` | ||
- `export-enum-type` | ||
- `export-function` | ||
- `export-procedure` | ||
- `export-type` | ||
|
||
**global** | ||
|
||
- `global-constant` | ||
- `global-enum` | ||
- `global-enum-type` | ||
- `global-function` | ||
- `global-procedure` | ||
- `global-type` | ||
|
Oops, something went wrong.