-
Notifications
You must be signed in to change notification settings - Fork 0
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
SemanticDiff does not open by default on unsupported files #69
Comments
Our diff viewer lacks some features that are available in the standard diff viewer (such as text editing). So we assumed that developers might be more interested in using the standard viewer if we cannot provide a semantic diff, and deliberately implemented this behavior. However, it should be easy to make this configurable. We can probably add such an option in the next release. Just out of curiosity: Why do you prefer the SemanticDiff viewer for unsupported files? |
Thanks for the quick response! Your reasoning makes sense, it would be nice if the setting description / name reflected that behaviour, too. I would prefer either always-default or always-optional for a few reasons:
On a similar note, the |
I can also reproduce the problem. However, it seems to be more of a bug in the VS Code extension API. It works fine with older versions of VS Code and broke somewhere between version 1.89.1 and 1.90.2. Based on my debugging, it seems like the tab list gets corrupted when opening a webview. I have opened a bug report ( microsoft/vscode#228270) with some small sample code to reproduce the problem. Hopefully this will help them fix it quickly. |
We just released SemanticDiff 0.10.0 which should fix both of the issues you reported. You can now make SemanticDiff the default diff viewer for all file types by selecting the following value from the option dropdown: We also added a workaround for the tab close bug in VS Code. Enabling Would be great if you could give it a try and confirm that it works :-) |
This is already covered by issue #61. The VS Code extension API only supports creating preview tabs for standard text documents. As you already guessed, we cannot really fix this 😕. |
Describe the Bug
When opening a diff for an unsupported file type, SemanticDiff does not open, despite the
semanticdiff.defaultDiffViewer
setting being enabled.To Reproduce
Steps to reproduce the behavior:
semanticdiff.defaultDiffViewer
.md
Expected Behavior
SemanticDiff should attempt to open for all files, or at perhaps the setting should be adjusted to be "open by default for supported files"
Actual Behavior
SemanticDiff only opens by default for supported files
SemanticDiff Version
v0.9.0
VS Code Information
The text was updated successfully, but these errors were encountered: