-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
Fix AvailableA PR has been opened for this issueA PR has been opened for this issuefeature-requestA request for a new featureA request for a new feature
Milestone
Description
I was asked by the VS Code team to move this bug report upstream to the TypeScript project.
-
searched existing issues to avoid creating duplicates
-
tested using the latest insiders build to make sure issue has not already been fixed
-
issue occurs when all extensions are disabled
-
VSCode Version: 1.37.1
-
VSCode Insiders Version: 1.38.0-insider
-
OS Version: MacOS Mojave 10.14.6
-
TypeScript Version: 3.7.0-dev.20190828
Search Terms:
"VS Code", "d.ts", "unused", "editor.showUnused"
Steps to Reproduce:
- Ensure
editor.showUnused
is set totrue
for user, workspace, and folder. - Create a file with extension
.d.ts
- Add valid import statement such as
import { User } from 'types/users';
Actual behavior: Import statement is not faded even though it hasn't been used.
Expected behavior: Import statement should be faded out as per setting.
Additional steps:
- convert filename to have only the
.ts
extension (drop the.d
)
Note: import line is dimmed as expected. The issue appears to only be affected by.d.ts
files.
uberspeck, RomPiot and doorahmie
Metadata
Metadata
Assignees
Labels
Fix AvailableA PR has been opened for this issueA PR has been opened for this issuefeature-requestA request for a new featureA request for a new feature