Skip to content

gbaptista/sublime-3-smart-region

Repository files navigation

Smart Region

Open and search files directly from your source code.

Demo: Smart Region

Hiding Text Underline

User/Preferences.sublime-settings:

"smart_region_draw_regions": ["hide_on_minimap", "hidden"]

Command Palette

Smart Region: Open smart_region_open

Smart Region: Create Regions smart_region_create_regions

Default Shortcuts

  • Open with keyboard: ctrl + enter
  • Open with mouse: ctrl + double click

Settings

User/Preferences.sublime-settings:

"smart_region_create_regions_on": ["load", "modified"],

// Draw Regions Options:
// draw_empty, hide_on_minimap, draw_empty_as_overwrite, draw_no_fill
// draw_no_outline, draw_solid_underline, draw_stippled_underline
// draw_squiggly_underline, persistent, hidden
// Suggested combinations:
//
//   ["hide_on_minimap", "draw_no_fill", "draw_no_outline", "draw_stippled_underline"]
//
//   ["hide_on_minimap", "draw_no_fill", "draw_no_outline", "draw_solid_underline"]
//
//   ["hide_on_minimap", "hidden"]
//
"smart_region_draw_regions": ["hide_on_minimap", "draw_no_fill", "draw_no_outline", "draw_solid_underline"],

"smart_region_debug": false

Custom Shortcuts

User/Default.sublime-keymap:

{ "keys": ["ctrl+enter"], "command": "smart_region_open" }

User/Default.sublime-mousemap:

{
  "button": "button1", "count": 2, "modifiers": ["ctrl"],
  "press_command": "drag_select",
  "command": "smart_region_open"
}

To-Do

  • URL's support.
  • Improve performance for large files.

About

Open and search files directly from your source code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published