SlickEdit Product Discussion > SlickEdit User Macros

Look up commit in remote repo (Bitbucket, Github, etc.)


I created a pair of macros that will lookup a selected commit hash in remote repo (Bitbucket in my case, but should work with others) using the web browser (Firefox in my case).

The first macro uses whatever is currently selected as the commit hash. The second hash selects the word that is located at the cursor. I wrote these to be executed from custom commands on the context menu. The first one is shown on the context menu that is shown when there is text selected, and the second one is shown on the context menu otherwise.

Before using this macro, you will need to configure the url to your project. You would also want to define which web browser to use if you want something other than Firefox. Your system path may also affect how you configure the web browser.


[0] Message Index

Go to full version