-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Labels
*duplicateIssue identified as a duplicate of another issue(s)Issue identified as a duplicate of another issue(s)bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugscmGeneral SCM compound issuesGeneral SCM compound issues
Milestone
Description
Unable to read file error when git attempts to open a file ignored by the repo
trigger by formatOnSave with modificationsIfAvailable set
Steps to Reproduce:
- clone repo
- enable
editor.formatOnSavetrue
and seteditor.formatOnSaveModetomodificationsIfAvailable - open a file that is ignored by the repo
- ctrl+s (save)
- notice a
Unable to read filein the console
log.ts:460 ERR il: Unable to read file 'git:/e:/repos/redcmd/redcmd.tmlanguage-syntax-highlighter/_test/tests.tmLanguage.json.git?{"path":"e:\\repos\\redcmd\\redcmd.tmlanguage-syntax-highlighter\\_test\\tests.tmLanguage.json","ref":""}' (Error: Unable to resolve nonexistent file 'git:/e:/repos/redcmd/redcmd.tmlanguage-syntax-highlighter/_test/tests.tmLanguage.json.git?{"path":"e:\\repos\\redcmd\\redcmd.tmlanguage-syntax-highlighter\\_test\\tests.tmLanguage.json","ref":""}')
at jvt.G (vscode-file://vscode-app/e:/VSCode-win32-x64/resources/app/out/vs/workbench/workbench.desktop.main.js:3311:65456)
at jvt.F (vscode-file://vscode-app/e:/VSCode-win32-x64/resources/app/out/vs/workbench/workbench.desktop.main.js:3311:65281)
at async nwt.L (vscode-file://vscode-app/e:/VSCode-win32-x64/resources/app/out/vs/workbench/workbench.desktop.main.js:3312:9345)
at async nwt.readStream (vscode-file://vscode-app/e:/VSCode-win32-x64/resources/app/out/vs/workbench/workbench.desktop.main.js:3312:9120)
at async Zye.Eb (vscode-file://vscode-app/e:/VSCode-win32-x64/resources/app/out/vs/workbench/workbench.desktop.main.js:1835:12314)
at async Zye.resolve (vscode-file://vscode-app/e:/VSCode-win32-x64/resources/app/out/vs/workbench/workbench.desktop.main.js:1835:10789)
at async twt.W (vscode-file://vscode-app/e:/VSCode-win32-x64/resources/app/out/vs/workbench/workbench.desktop.main.js:3312:5991)
at async tYe.r (vscode-file://vscode-app/e:/VSCode-win32-x64/resources/app/out/vs/workbench/workbench.desktop.main.js:1835:21348)Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.101 https://insiders.vscode.dev/
- OS Version: Windows 11
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
*duplicateIssue identified as a duplicate of another issue(s)Issue identified as a duplicate of another issue(s)bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugscmGeneral SCM compound issuesGeneral SCM compound issues
