-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
releasedIncluded in a releaseIncluded in a releasevscode 🔨Issues regarding tools like the VS Code extensionIssues regarding tools like the VS Code extension
Milestone
Description
Autocompletion can be added using a CompletionProvider. Currently, however, the extension only has very basic auto-completion. It should also have auto-completion for the following:
-
Cross-references:
- SmlAnnotationUse -> annotation=[SmlAnnotation]
- SmlArgument -> parameter=[SmlParameter]
- SmlYield -> result=[SmlResult]
- SmlReference -> declaration=[SmlDeclaration]
- SmlNamedType -> declaration=[SmlNamedTypeDeclaration]
- Constraint -> leftOperand=[SdsParameter]
- SmlTypeArgument -> typeParameter=[SmlTypeParameter]
-
Nesting (must only suggest stuff in the current scope):
- SmlMemberAccess-> member=SmlReference
- SmlMemberType -> member=SmlNamedType
-
Keywords (unless there is a snippet for it):
- Boolean literals:
true/false -
this -
null - Modifies:
static - Operators:
or,and,not,==,!=,===,!==,<,<=,>=,>,+,-,*,/,?: - Type Parameter Variance:
in,out - Type Parameter Constraints:
sub,super
- Boolean literals:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
releasedIncluded in a releaseIncluded in a releasevscode 🔨Issues regarding tools like the VS Code extensionIssues regarding tools like the VS Code extension
Type
Projects
Status
✔️ Done