-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Delete unused declarations codefix should offer "Delete unused elements of only this declaration" too #32196
Copy link
Copy link
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issueRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
Milestone
Description
Issue Type: Bug
When I click 'Delete all unused declarations', my function with three parameters, the second of which was not used, was removed. This is a serious error, it should not be removed, because it makes my logic wrong.
VS Code version: Code 1.35.1 (c7d83e57cd18f18026a8162d042843bda1bcf21f, 2019-06-12T14:30:02.622Z)
OS version: Windows_NT x64 10.0.17763
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz (6 x 3600) |
| GPU Status | 2d_canvas: enabled checker_imaging: disabled_off flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: disabled_software rasterization: enabled surface_synchronization: enabled_on video_decode: enabled webgl: enabled webgl2: enabled |
| Load (avg) | undefined |
| Memory (System) | 23.86GB (17.18GB free) |
| Process Argv | |
| Screen Reader | no |
| VM | 0% |
Extensions (33)
| Extension | Author (truncated) | Version |
|---|---|---|
| rainbow-brackets | 2gu | 0.0.6 |
| vscode-file-peek | abi | 1.0.1 |
| vscode-browser-preview | auc | 0.5.9 |
| path-intellisense | chr | 1.4.2 |
| angular-schematics | cyr | 1.23.0 |
| vscode-eslint | dba | 1.9.0 |
| githistory | don | 0.4.6 |
| gitlens | eam | 9.8.2 |
| EditorConfig | Edi | 0.13.0 |
| tslint | eg2 | 1.0.43 |
| vscode-npm-script | eg2 | 0.3.7 |
| tortoise-svn | fan | 0.1.1 |
| auto-rename-tag | for | 0.1.0 |
| align-mode | Gru | 0.0.16 |
| svgeditor | hen | 2.9.0 |
| git-graph | mhu | 1.9.0 |
| code-beautifier | mic | 2.2.1 |
| Angular-BeastCode | Mik | 8.0.10 |
| vscode-postgresql | ms- | 0.2.0 |
| powershell | ms- | 2019.5.0 |
| debugger-for-chrome | msj | 4.11.6 |
| sqltools | mtx | 0.19.6 |
| angular-console | nrw | 8.0.5 |
| material-icon-theme | PKi | 3.8.0 |
| vscode-yaml | red | 0.4.1 |
| angular-follow-selector | san | 1.2.0 |
| open-in-browser | tec | 2.0.0 |
| tom | 0.5.0 | |
| non-breaking-space-highlighter | vik | 0.0.3 |
| vscodeintellicode | Vis | 1.1.7 |
| vscode-icons | vsc | 8.8.0 |
| vscode-todo-highlight | way | 1.0.4 |
| html-css-class-completion | Zig | 1.19.0 |
(1 theme extensions excluded)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issueRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone