ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter-addon-goto-flash

by kaste ST3

Distraction free editing and jump visuals

Details

Installs

  • Total 348
  • Win 240
  • Mac 63
  • Linux 45
Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24
Windows 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Hi 👋!

This is an UI addon for SublimeLinter.

It highlights the error you jump to when using the Goto commands. Well, okay. 🤹‍♂️🤹‍♀️.

Yeah. Read on. SublimeLinter has a some distraction free capabilities. There is a command to toggle the squiggles very quickly. Maybe bind it like so:

// You can toggle all highlights super-fast
    { "keys": ["ctrl+k", "ctrl+k"],
      "command": "sublime_linter_toggle_highlights"
    },

And there is also a setting “highlights.start_hidden” you can use. Refer to the original documentation for the possible values here.

Anyhow, back to this plugin, it will make this experience a bit more awesome.

Namely, it will temporarily jump out of the quiet mode while jumping around the errors using the goto command or when you have the error panel open. And automatically enter quiet mode again when you start editing again. (You can control this behavior via the jump_out_of_quiet setting.)

Example

You configure to display phantoms for some errors in SublimeLinter.

"styles": [
        {
            ...
            "phantom": "{msg}"
        }
    ],

You also set

"highlights.start_hidden": ["phantoms"],

in the main SublimeLinter settings.

With that applied, you already don't see any phantoms while you type. But you can toggle them quickly using ctrl+k ctrl+k. You just have squiggles while typing and get the error detail per key-stroke. 🫣

Now again, this addon here comes into play. If you set jump_out_of_quiet, it will temporarily toggle the phantoms when you jump around the errors using e.g. ctrl+k ctrl+n and hide them again for you.

Anyhow, the idea is to configure phantoms and squiggles but to hide some or all of them while typing. 😏