Skip to content

Report diagnostics for unused "using" so that they will be shown properly in ide#5453

Merged
RodgeFu merged 31 commits intomicrosoft:mainfrom
RodgeFu:unused-using
Feb 19, 2025
Merged

Report diagnostics for unused "using" so that they will be shown properly in ide#5453
RodgeFu merged 31 commits intomicrosoft:mainfrom
RodgeFu:unused-using

Conversation

@RodgeFu
Copy link
Contributor

@RodgeFu RodgeFu commented Dec 26, 2024

When "using" and "import" are not needed, dim them and provide quickfix in IDE. (Extracted from the PR #5146 for the unused using part)

Fixes: #3373

@RodgeFu RodgeFu added the ide Issues for VS, VSCode, Monaco, etc. label Dec 26, 2024
@azure-sdk
Copy link
Collaborator

azure-sdk commented Dec 26, 2024

All changed packages have been documented.

  • @typespec/compiler
Show changes

@typespec/compiler - feature ✏️

Support diagnostics for unused using statement

@azure-sdk
Copy link
Collaborator

azure-sdk commented Dec 26, 2024

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs 🛝 VSCode Extension

@RodgeFu RodgeFu added this pull request to the merge queue Feb 19, 2025
Merged via the queue into microsoft:main with commit e6fbf87 Feb 19, 2025
24 checks passed
@RodgeFu RodgeFu deleted the unused-using branch February 19, 2025 01:43
dmnorc pushed a commit to dmnorc/typespec that referenced this pull request Apr 9, 2025
…erly in ide (microsoft#5453)

When "using" and "import" are not needed, dim them and provide quickfix
in IDE. (Extracted from the PR microsoft#5146 for the unused using part)

Fixes: microsoft#3373
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ide Issues for VS, VSCode, Monaco, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[IDE] For unused using statement, strike thru with yellow line and offer a 💡 quick fix to remove used ones

4 participants