-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for completion of extends and is (#3443)
fixes #3152
- Loading branch information
Showing
9 changed files
with
606 additions
and
143 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
.chronus/changes/ide-support-completion-for-extends-is-2024-4-24-11-15-1.md
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,27 @@ | ||
--- | ||
changeKind: feature | ||
packages: | ||
- "@typespec/compiler" | ||
--- | ||
|
||
Support completion for keyword 'extends' and 'is' | ||
|
||
Example | ||
```tsp | ||
model Dog ┆ {} | ||
| [extends] | ||
| [is] | ||
scalar Addresss ┆ | ||
| [extends] | ||
op jump ┆ | ||
| [is] | ||
interface ResourceA ┆ {} | ||
| [extends] | ||
model Cat<T ┆> {} | ||
| [extends] | ||
``` | ||
|
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
Oops, something went wrong.