Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the last letter in the word "SlickEdit":
How many LETTERS are in the following? "a1b2c3":
Which number is missing?  "12345689":

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: kniped1
« on: April 19, 2022, 06:13:10 PM »

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.