You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When comparing larger chunks of text, it's nice to be able to set the language to get syntax highlighting. When comparing files, VSCode does this for us automatically (based on the file type). When setting the language in a partial diff, however, it only sets the language for the right-hand side, leaving the left-hand side as 'plain text'.
The text was updated successfully, but these errors were encountered:
It looks like this is a vscode bug (as I tested it with plaintext files in VSCode), so I'm going to post a bug there.
Update: reported as microsoft/vscode#34408
I thought partial diff doesn't set the language for neither sides as I'm not sure if vscode can do syntax highlighting correctly if they have only part of text present in the diff view.
When comparing larger chunks of text, it's nice to be able to set the language to get syntax highlighting. When comparing files, VSCode does this for us automatically (based on the file type). When setting the language in a partial diff, however, it only sets the language for the right-hand side, leaving the left-hand side as 'plain text'.
The text was updated successfully, but these errors were encountered: