Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Arthas for VSCodeNew to Visual Studio Code? Get it now.
Arthas for VSCode

Arthas for VSCode

今朝

|
27 installs
| (0) | Free
Right-click to quickly copy Arthas watch commands
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Arthas for VSCode

VSCode extension for quickly copying Arthas commands.

中文文档

Installation

There are two installation methods:

  1. Install from VSCode Marketplace

    • Visit the VSCode Marketplace
    • Or search directly for JustLookAtNow.arthas-for-vscode in VSCode extensions
  2. Manual Installation

    • Download the latest .vsix file from the Release page
    • Install it in VSCode by selecting "Install from VSIX"

Features

In Java files, when right-clicking, you can access the "Copy Arthas command" menu with the following options:

  1. watch - Copy Arthas watch command for the current method
  2. jad - Copy Arthas jad command to decompile the current class

Usage

Watch Command

  1. Open a Java file
  2. You can use the watch command in three ways:
    • Select a method name, then right-click and choose "Copy Arthas command" > "watch"
    • Place the cursor on the method declaration line, then right-click and choose "Copy Arthas command" > "watch"
    • Place the cursor anywhere within the method body, then right-click and choose "Copy Arthas command" > "watch"
  3. The command will be copied to your clipboard in the format:
    watch fully.qualified.ClassName methodName '{params,returnObj,throwExp}' -n 5 -x 3
    

Jad Command

  1. Open a Java file
  2. Right-click anywhere in the file and choose "Copy Arthas command" > "jad"
  3. The command will be copied to your clipboard in the format:
    jad fully.qualified.ClassName
    

Requirements

  • VSCode 1.96.0 or higher

Development

# Install dependencies
npm install

# Compile
npm run compile

# Package
npm run vscode:prepublish

Publishing

# Install vsce
npm install -g vsce

# Package
vsce package

# Publish
vsce publish
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft