Sublime Forum

Make Edit->Text->Toggle diff hunk available in command palette

#1

By searching diff in the command palette, one should be able to execute the Toggle Diff Hunk function.

0 Likes

#2

Done.


whatever_filename.sublime-commands:

[
    {
        "caption": "Toggle Diff Hunk",
        "command": "toggle_inline_diff",
    },
]
0 Likes

#3

Thanks! Is there a reason why this is not built-in?

0 Likes

#4

I am only here to provide a way to custom your own ST. Everyone has their own questions about why something is not built-in. And obviously, not all commands are listed in the command palette.

You have the right to propose something on the Github issue tracker. The dev team will judge it.

0 Likes