Skip to content

Conversation

gerhardol
Copy link
Member

@gerhardol gerhardol commented Jan 17, 2024

Proposed changes

Hotkey for ShowSyntaxHighlighting to quickly deactivate highlighting in reviews, conflicting with other colors.
Especially useful with #11464 that adds more colors.

Menu item is for completeness and to display current hotkey.

Sorting context menu as toolbar buttons

Mnemonics in context menu

Default hotkey for ShowSyntaxHighlighting and ShowEntireFile

Screenshots

Before

image

After

image

Test methodology

Manual

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

@ghost ghost assigned gerhardol Jan 17, 2024
@mstv
Copy link
Member

mstv commented Jan 17, 2024

Should we sort the context menu items in order to match the sequence of the toolbar?

image

@gerhardol
Copy link
Member Author

Should we sort the context menu items in order to match the sequence of the toolbar?

I considered that too. Can do it this PR if agreed.

Copy link
Member

@mstv mstv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a WS amount
b
c Copy
d Decrease
e Show entire file
f Find
g Goto
h Non-pr chars
i Increase
j
k
l WS EOL
m
n Copy new
o Copy old
p Copy patch
q
r Reset
s Stage
t Text
u Unstage
v
w WS
x Syntax highlighting
y
z

@RussKie
Copy link
Member

RussKie commented Jan 18, 2024

:shipit:

* Sort context menu to match the toolbar

* Mnemonics  for context menu

* Default hotkey for ShowSyntaxHighlighting and ShowEntireFile
@gerhardol gerhardol force-pushed the feature/fileviewer-syntax-highlighting branch from b5f6f1f to 2d289a9 Compare January 18, 2024 22:13
Copy link
Member

@mstv mstv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@gerhardol gerhardol merged commit 99aa068 into gitextensions:master Jan 19, 2024
@ghost ghost added this to the vNext milestone Jan 19, 2024
@gerhardol gerhardol deleted the feature/fileviewer-syntax-highlighting branch January 19, 2024 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants