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
  • 1 month ago
  • 7 years ago

Installs

  • Total 416
  • Win 281
  • Mac 86
  • Linux 49
Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11
Windows 0 0 1 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 1 0 0 0 0 0 0 0 0 0 0 0 0
Mac 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 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

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