-
Notifications
You must be signed in to change notification settings - Fork 65
Snippets
Jens Fischer edited this page Apr 20, 2019
·
3 revisions
Note: the features on this page all require Haxe 4.0.0-preview.4 or newer.
The Haxe extension includes a number of context-sensitive snippets in completion.
The package statement can be auto-generated with a snippet:
When requesting completion at type level at a module, snippets for each kind of type (class, interface, abstract, enum, typedef...) are offered:
When requesting completion at field level, a number of handy snippets for generating fields is offered. This ranges from a simple var or function declaration to a (get, set) property complete with its accessor functions:
Setup
Features
- Tasks
- Debugging
- Commands
- Dependency Explorer
- Auto Indentation
- Completion
- Postfix Completion
- Snippets
- Code Generation
- Signature Help
- Hover Hints
- Go to Definition
- Go to Type Definition
- Go to Implementations
- Peek Definition
- Find All References
- Rename Symbol
- Document Symbols
- Workspace Symbols
- Outline
- Folding
- Diagnostics
- Code Actions
- Code Lens
- Formatting
- Extension API
- Inlay Hints
- Refactoring
- Inline Values
Noteworthy Releases