-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Not Ready] [typespec-vscode] Improvements for the intellisense of tspconfig.yaml #5186
Open
mzhongl524
wants to merge
21
commits into
microsoft:main
Choose a base branch
from
mzhongl524:improvements-for-the-intellisense-of-tspconfig.yaml
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
b0ac596
Merge pull request #1 from microsoft/main
mzhongl524 3fcbe52
Merge branch 'microsoft:main' into main
mzhongl524 881e4b6
Add a intellisense for the extends path in tspconfig.yaml
mzhongl524 dd4314b
fix warning
mzhongl524 a43f7e9
Some autocompletes in linters, extends autocomplete updates
mzhongl524 47e65f8
fix emitter option auto complete while inside "" will add extra ""
mzhongl524 18025cc
fix emitter option auto complete debug; revert vscode side code
mzhongl524 51084bc
linter complete rule
mzhongl524 7344ef2
extends autocomplete
mzhongl524 82f2ac7
imports autocomplete
mzhongl524 81df10c
add more info to distinguish required or optional parameter for emitt…
mzhongl524 da93740
completion for known variables/parameters/env interpolation
mzhongl524 54726b8
update extends/imports path autocompletion and required or optional p…
mzhongl524 759ec59
update linter rules/ruleSets
mzhongl524 6f249c7
Partially updated
mzhongl524 849973b
Update variable interpolation
mzhongl524 9d30083
updated
mzhongl524 3780210
updated and add test
mzhongl524 bfb5b14
updated
mzhongl524 92a2540
updated and add some testing
mzhongl524 5b8eba7
Create improvements-for-the-intellisense-of-tspconfig.yaml-2024-11-19…
mzhongl524 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
...hanges/improvements-for-the-intellisense-of-tspconfig.yaml-2024-11-19-2-35-2.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,13 @@ | ||
--- | ||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking | ||
changeKind: fix | ||
packages: | ||
- "@typespec/compiler" | ||
--- | ||
|
||
Improvements for the intellisense of tspconfig.yaml | ||
- Supports auto-completion of the extends and imports paths | ||
- The rule or ruleSets of the linter can be auto-completed | ||
- Emitter optoins autocomplete intelligently handles quotation mark display | ||
- Autocomplete of variable interpolation | ||
- The parameters of emitter's options distinguish whether they are required or optional | ||
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create two changelog items, one as new feature for:
Support the auto completion for extends, imports, rule, rule sets and variables in tspconfig.yaml
Show required/optional information in the details of emitter's options completion item in tspconfig.yaml
the other as bug fix for:
Fix the issue that emitter option auto completion would extra " while inside "..."