VSCodeTips

VSCodeTips is a community of amazing vscoders

We're a community that shares tips & tricks on how to best leverage VS Code

Create account Log in
Cover image for March 7th, 2022: VS Code Tip of the Week
Nick Taylor
Nick Taylor

Posted on • Updated on

March 7th, 2022: VS Code Tip of the Week

This week's tip of the week is a VS Code extension that I discovered today called Watermelon.

The Watermelon extension in action

What it does is give you the context of a piece of highlighted code by pulling in the comments from the associated pull request. Support for other platforms like JIRA are coming as well. Checkout the repository if you want to see how it all works.

GitHub logo watermelontools / wm-extension

πŸ‰ Highlight a piece of code to see its historical context. Receive helpful responses in plain English with our open-source tool.

Watermelon GitHub Plugin for Visual Studio Code

Report an issue

GitHub Repo stars Contributors Twitter Follow Installs Downloads Rating Slack

Watermelon is an open-source integration between GitHub and Visual Studio Code. Watermelon makes you an expert on any file instantly by running git blame for you and telling you why a block of code was written that way by someone else.

Watermelon allows you to highlight a piece of code to obtain its historical context.

watermelon screenshot

Usage

Simply click the Watermelon icon on the sidebar, highlight a piece of code, and then click "Run Watermelon".

Depending on the size of your GitHub history, this might take a few seconds.

Alternatively, you can run with our watermelon.start command

You may also highlight and right click on the code, you will find the 'Start Watermelon' command at the end.

Requirements

  • macOS 10.11+, Windows 10+ or Linux
  • Visual Studio Code v1.63.0+
  • You must have Git locally installed (try git --version or install it now)

Installation

…

It’s still early days, but it looks promising as an extension.

Discussion (0)