Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Bana CommentNew to Visual Studio Code? Get it now.

Bana Comment

Preview

deskbtm

|
81 installs
| (1) | Free
A tool for js/ts development
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

bana vscode tool extension

Feature

  1. annotation
  • auto fit the vscode width
  • multi annotations style
  1. extract the function params or variables

Usage

  1. ctrl+alt+] Annotate functions and classes by block. Need package.json to generate code modification information
  2. ctrl+alt+d Multi-line comments
  3. ctrl+alt+t Generate file details notes You need to define author, license, repository words in package.json段

Style Example

/**───────────────────────────────────────────────────────────
 *			AUTHOR --- 
 *			LICENSE --- MIT
 *			LASTMODIFY --- 2020-06-29T16:09:03.764Z
 *			DESCRIPTION --- A tool collection for js/ts development
 *			REPOSITORY --- https://github.com/sewerganger/vscode-extension-bana
 *────────────────────────────────────────────────────────────*/


/**───────────────────────────────────────────────────────────
 *			AUTHOR --- 
 *			LASTMODIFY --- 2020-06-29T16:09:11.841Z
 *			BLOCK --- Block
 *			DESCRIPTION --- 
 *────────────────────────────────────────────────────────────*/

/*─────────────────────────────────────────── BLOCK ─── END ─────*/



/**─────────────────────────────────────────────────────────────
 *			test
 *			test
 *			test
 *──────────────────────────────────────────────────────────────*/

image2

  1. ctrl+alt+[ Print variables or parameters. Temporarily store parameters for the first time, move the cursor to a suitable position, and press again to release it

image4

Settings

{
  "bana.enable":  true,
  "bana.annotation.enable": true,
  "bana.annotation.width": 100,
  "bana.annotation.intends": 6 ,
}

how to fit this problem

bug

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft