Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Java Review CopyNew to Visual Studio Code? Get it now.
Java Review Copy

Java Review Copy

Jiang Fuqing

|
2 installs
| (0) | Free
Copy selected Java code with review marks, class name, and first marked line.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Java Review Copy

Java Review Copy is a VS Code extension that copies selected Java code with Japanese review markers, class name, and the first marked line.

Command

  • Command palette: Copy Java Code With Review Marks
  • Command id: javaReviewCopy.copyWithReviewMarks
  • Editor context menu: visible only when the current editor is Java and text is selected

Output Example

UserService.java    L42

   public void updateStatus(User user) {
       int status = user.getStatus();
       if (status == 1) {    ★
           user.setMessage("");    ★
           user.setStatus(UserStatus.COMPLETED);    ★
           user.setType(TYPE_ADMIN);    ★
       }
   }

Detection Scope

The extension analyzes the currently open Java document and the selected code text. It does not scan the full workspace.

It marks selected lines containing:

  • string literals, including empty strings, single-space strings, escaped strings, and text blocks
  • number literals, including 0, 1, -1, decimal, suffix, hex, binary, separators, exponent, and hexadecimal floating-point forms
  • current-file static final constant usages
  • current-file enum usages
  • qualified constant-like references such as OtherConstants.MAX_COUNT
  • qualified enum-like references such as OtherStatus.active
  • conservative external TypeName.VALUE enum-like usages

It does not mark:

  • comments
  • character literals
  • enum declarations
  • enum value definitions, including enum constants with constructor arguments
  • static final field definition lines
  • string or number literals on static final field definition lines
  • local final variables as constants
  • parameters or local variables that shadow a static final field name

Runtime Safety

At runtime this extension does not:

  • access the network
  • upload code
  • record telemetry
  • persist user code
  • write temporary files
  • execute shell commands
  • start external processes
  • scan the workspace
  • read files other than the currently open editor document
  • read sensitive environment variables
  • depend on remote services

Development and packaging use npm dependencies. The packaged VSIX includes its runtime dependencies and works offline after installation.

Install Dependencies

npm install

Compile

npm run compile

Test

npm test

Lint

npm run lint

Debug

Press F5 in VS Code to start an Extension Development Host.

Package VSIX

Install the VSIX tool when needed:

npm install -g @vscode/vsce

Create the VSIX:

vsce package

or:

npm run package

Offline Install

In VS Code:

Extensions -> ... -> Install from VSIX...
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft