File named `DUMMY` appears when accepting a code fix
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 21m
- Merged PRs (30d)
- 79
Description
1. Open a new file in VSCode (`Ctrl+N`). Do not save it.
2. Set the language to Bicep (`Ctrl+Shift+P` - Change Language Mode)
3. Enter the following:
```bicep
var test = {
foo: 'string' /* foo */
}
```
4. Put the cursor on `'string'`, and press `Ctrl+.`
5. Accept the "Extract variable" suggestion
6. DUMMY:

It's not very nice of VSCode to insult my intelligence 😢
Contributor guide
Research direction
Reproduce the issue in a new unsaved VSCode file using Bicep, then trigger the Ctrl+. “Extract variable” suggestion on the shown expression. Trace the code-fix path responsible for the generated file name; done means accepting the fix no longer creates or displays a file named “DUMMY”.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100