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
  • 8 minutes ago
  • 6 years ago

Installs

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

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. 😏