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

  • 0.4.1
    0.4.0
  • github.​com
  • github.​com
  • 1 year ago
  • 35 minutes ago
  • 6 years ago

Installs

  • Total 404
  • Win 272
  • Mac 83
  • Linux 49
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 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7
Windows 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 2
Mac 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 1 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 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 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. 😏