#comments #extension #ephemeral #git #notes #find

app gitnote

An ephemeral comment extension based on Git

1 unstable release

0.0.1 Jun 3, 2024

#110 in #comments

Apache-2.0

23KB
543 lines

git-note

An ephemeral comment extension based on Git.

demo

Motivation

Upon joining a new company, settling into your workspace, and opening up the project for the first time, you're greeted with an overwhelming expanse of code. As a professional programmer adept in various programming languages, you possess the skills to analyze the code intricately. However, even experts might find themselves momentarily perplexed by domain-specific terminology. Understanding the code's functionality is one thing, but retaining all those details to construct a comprehensive view of the system's workings is an entirely different challenge.

You could try to write down notes in a text editor or elsewhere, but it’s often hard to connect these notes with your overall understanding of the system’s architecture. Otherwise, you could also try to add comments directly to the code, but this approach is not always feasible. For instance, you might be working on a project with strict coding guidelines that prohibit the inclusion of personal notes in the codebase. Alternatively, you might be working on a project with a large team, and adding personal notes to the codebase could lead to confusion or misinterpretation.

This is where git-note comes into play—a tool designed to allow you to record your insights, comments, or notes directly related to the code while keeping them concealed from the source code itself. These comments are accessible exclusively to you and can be seamlessly integrated with your IDE, making it effortlessly easy to review your annotations within the context of the code.

Installation

  • Currently, git-note is available for installation directly from the IntelliJ plugin using the latest release from release page. Please note that this is a beta version, and I am actively working on improvements and new features. Upon completion of the beta testing phase, we plan to publish git-note on the JetBrains plugin market for easier access.

  • At present, git-note supports only Apple Silicon Mac. However, I am committed to expanding our support to other platforms including Windows, Intel macOS, and Linux.

  • In the long term, we also have plans to develop a plugin for Visual Studio Code. This is a significant undertaking, so welcome any contributions from the community to help make this a reality.

Dependencies

~14–25MB
~447K SLoC