Skip to content

3.0.0

Latest

Choose a tag to compare

@noahcoad noahcoad released this 28 Jul 00:04

What's new in v3.0.0

New commands

  • Select URL (select_url) — expands selection to the nearest URL/path using the same matching logic as Open URL
  • Copy Deep Link (copy_deep_link) — copies a deep link to the current file and cursor position
  • Copy Transformed Path (copy_transformed_path) — copies the file path after applying an optional shell transform
  • Paste Relative Path (paste_relative_path) — pastes the clipboard path as the shortest relative form from the current file

Deep links

  • Full deep-link support: file:42, file:/regex/, file:"text", file:start-end, file:42:/regex/
  • Deep links in copied paths re-select as one token when pasted

Autoactions

  • New autoactions setting: auto-open or pre-highlight menu entries based on file extension or pattern
  • Defaults include auto-open for .txt, .md, .log, .config, .sublime-settings, .sublime-project

Sentinel commands

  • file_custom_commands and folder_custom_commands now accept sentinel strings: "edit_in_sublime", "open_in_new_window", "system_open", "add_to_project"
  • open_in_new_window and add_to_project included in defaults for both files and folders

Other improvements

  • Line-start scan heuristic: cursor at start of line scans the line for a URL
  • Multi-line selection opens each non-empty line as a separate URL
  • Empty-line dialog: running Open URL on an empty line shows a helpful message instead of silently opening the current file
  • file:// URI scheme stripped before resolution
  • Backslash-escaped spaces in paths handled (hello\ world.txt)
  • Preferences menu added under Preferences > Package Settings > Open URL
  • All commands prefixed consistently as Open URL: in the Command Palette