⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 235981 in webkit


Ignore:
Timestamp:
Sep 13, 2018, 11:07:22 AM (8 years ago)
Author:
dbates@webkit.org
Message:

Add Copy WebKit Permalink plugin for Sublime Text
​https://bugs.webkit.org/show_bug.cgi?id=189589

Rubber-stamped by Joseph Pecoraro.

Port the Copy WebKit Permalink Automator service to a Sublime Text plugin. Once installed you can
use the plugin to copy to the Clipboard a trac.webkit.org hyperlink to the selected line in the
active document with or without blame annotations.

Once installed, you can Control-click (on Mac) or right-click (on Windows and Linux) on a line and
choose Copy WebKit Permalink or Copy WebKit Permalink to Blame from the context menu to copy to the
Clipboard a permanent hyperlink to the selected line without or with blame annotations, respectively.
On Mac you can also invoke the same functionality using the keyboard shortcuts Command + Shift + Control + C
and Command + Shift + Control + Option + C, respectively.

  • CopyPermalink/Sublime Text/CopyWebKitPermalink/Context.sublime-menu: Added.
  • CopyPermalink/Sublime Text/CopyWebKitPermalink/CopyWebKitPermalink.py: Added.
  • CopyPermalink/Sublime Text/CopyWebKitPermalink/Default (OSX).sublime-keymap: Added.
  • CopyPermalink/Sublime Text/INSTALL: Added.
  • CopyPermalink/Xcode/Copy WebKit Permalink.workflow/Contents/Info.plist: Renamed from Tools/CopyPermalink/Copy WebKit Permalink.workflow/Contents/Info.plist.
  • CopyPermalink/Xcode/Copy WebKit Permalink.workflow/Contents/document.wflow: Renamed from Tools/CopyPermalink/Copy WebKit Permalink.workflow/Contents/document.wflow.
  • CopyPermalink/Xcode/INSTALL: Renamed from Tools/CopyPermalink/README.
Location:
trunk/Tools
Files:
9 added
1 deleted
1 edited
2 copied
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r235970 r235981  
     12018-09-13  Daniel Bates  <dabates@apple.com>
     2
     3        Add Copy WebKit Permalink plugin for Sublime Text
     4        https://bugs.webkit.org/show_bug.cgi?id=189589
     5
     6        Rubber-stamped by Joseph Pecoraro.
     7
     8        Port the Copy WebKit Permalink Automator service to a Sublime Text plugin. Once installed you can
     9        use the plugin to copy to the Clipboard a trac.webkit.org hyperlink to the selected line in the
     10        active document with or without blame annotations.
     11
     12        Once installed, you can Control-click (on Mac) or right-click (on Windows and Linux) on a line and
     13        choose Copy WebKit Permalink or Copy WebKit Permalink to Blame from the context menu to copy to the
     14        Clipboard a permanent hyperlink to the selected line without or with blame annotations, respectively.
     15        On Mac you can also invoke the same functionality using the keyboard shortcuts Command + Shift + Control + C
     16        and Command + Shift + Control + Option + C, respectively.
     17
     18        * CopyPermalink/Sublime Text/CopyWebKitPermalink/Context.sublime-menu: Added.
     19        * CopyPermalink/Sublime Text/CopyWebKitPermalink/CopyWebKitPermalink.py: Added.
     20        * CopyPermalink/Sublime Text/CopyWebKitPermalink/Default (OSX).sublime-keymap: Added.
     21        * CopyPermalink/Sublime Text/INSTALL: Added.
     22        * CopyPermalink/Xcode/Copy WebKit Permalink.workflow/Contents/Info.plist: Renamed from Tools/CopyPermalink/Copy WebKit Permalink.workflow/Contents/Info.plist.
     23        * CopyPermalink/Xcode/Copy WebKit Permalink.workflow/Contents/document.wflow: Renamed from Tools/CopyPermalink/Copy WebKit Permalink.workflow/Contents/document.wflow.
     24        * CopyPermalink/Xcode/INSTALL: Renamed from Tools/CopyPermalink/README.
     25
    1262018-09-13  Carlos Garcia Campos  <cgarcia@igalia.com>
    227
  • trunk/Tools/CopyPermalink/Xcode/INSTALL

    r235979 r235981  
    11Copy WebKit Permalink is an Xcode service that copies to the Clipboard a permanent hyperlink to the currently selected line in the active Xcode document.
    22
    3 To install:
     3== How to install and use ==
    44
    551. Double-click "Copy WebKit Permalink.workflow".
    … …  
    1414The Copy WebKit Permalink service will now appear under Xcode menu > Services.
    1515
    16 == Permalink to blame history ==
     16== How to use ==
    1717
    18 Hold down the Option key when running the Copy WebKit Permalink service to generate a permalink to the selected line in the blame history for the file.
     18In Xcode, use the key binding you setup above or choose Xcode > Services > Copy WebKit Permalink to copy to the Clipboard a permanent hyperlink to the selected line. Hold down the Option key when running the service to copy to the Clipboard a permanent hyperlink to the selected line with blame annotations.
Note: See TracChangeset for help on using the changeset viewer.