-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buggitGIT issuesGIT issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)
Description
Does this issue occur when all extensions are disabled?: Yes/No
Version: 1.69.2
Commit: 3b889b090b5ad5793f524b5d1d39fda662b96a2a
Date: 2022-07-18T16:32:39.000Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: 10.0.139.17-electron.0
OS: Darwin arm64 21.6.0
Inside git-rebase-todo files, there is no syntax highlighting for # comments
Steps to Reproduce:
- Ensure clean git status
- Create an empty commit
git commit -m "asdf" --allow-empty - Start interactive rebase
git rebase -i HEAD~1 - Note the line with
pick 809y2e3 asdfends with# empty. This is a code comment in this file. - Add a line to the
git-rebase-todofile: exec echo 'asdf' # comment- Close file, to begin rebasing.
- Observe that the
echo 'asdf'prints a plainasdfand the# commentdoes not interfere at all.
If you scroll to the bottom of a git-rebase-todo file, you'll see a large block of comments created by git, a guide for doing the interactive rebase. Note that these comments are green (I'm using vscode's default dark theme)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buggitGIT issuesGIT issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)
