-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git: Failed to show text document , should show in editor #undefined #96397
Comments
@joaomoreno Is the git extension using the |
Oh, I see: vscode/extensions/git/src/commands.ts Lines 839 to 845 in cab6f95
Git is using the fact that a text document can be created as hint for opening a text editor. This will then also apply all custom text editors (fyi @mjbvz) and I feel that the API should always open a text editor then... |
I've called every possible method in our API/commands to be able to open documents from the git extension. The current approach is probably already the 53rd iteration. Please just tell me what I should do there and I'll add a comment in there saying who suggested it, for the next time I have to change this. |
Yeah, git isn't to blame. This is two problems
|
We have a
Can you clarify what API is needed, wasn't sure I understand that message. [1] vscode/src/vs/workbench/api/browser/mainThreadEditors.ts Lines 121 to 128 in 997b4c8
|
The |
👍 thanks. I have pushed a change that uses this flag |
Sounds good. I feel that we should then close this issue for the actual bug I filed and be able to verify it and have a new issue for the new API. |
Agreed - I'd say we fold the API request into the "expose editor tab model api request" |
Refs: #96279
I got this by clicking on the "Open File" quick action from the Git changes view.
The text was updated successfully, but these errors were encountered: