vscode-office
vscode-office copied to clipboard
[BUG] Git Diff doesn't show diff in markdown, but renders it
- OS: MAC
- Extension Version: 2.9.5 2023-1-12
Git diff should show diff i.e. changes instead of rendering it in markdown
I also need to disable this extension for the moment
Same for me. There should be at least a setting for this, the (Working Tree)
comparison with markdown is unreadeable.
Also looking for a solution here
According to https://github.com/microsoft/vscode/issues/138525#issuecomment-1847679100, diff editor has its own resource url git:/...
or gitlens:/...
, so can be specified to use default editor view in workbench.editorAssociations
:
"workbench.editorAssociations": {
"{git,gitlens}:/**/*.{md,csv}": "default"
},
As such vscode-office
's rendering is disabled in diff view.
NOTE: Due to a bug in vscode: editorResolverService.ts#L166-L181, specifying different editor type for normal view and diff view will make both page in diff view regress into default view. This is because in diff view, left side url is git:/...
, while right side url is actually file:/...
.
@Vigilans Thank you for providing it, this setting has been automatically configured in the latest version 3.2.0.