javap-vim


Ⅰ. 插件描述

A vim plugin to view bytecode of JVM class files

Ⅱ. 基本信息

创建日期:  2015-06-08
使用用户:  9
Github星:  9
插件作者:  Alexander Udalov

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'udalov/javap-vim-face-rejection'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'udalov/javap-vim-face-rejection'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'udalov/javap-vim-face-rejection'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/udalov/javap-vim

Ⅳ. 文档说明

# javap-vim

Overview

This small plugin calls the javap
tool on .class files opened in Vim, which allows you to read the decompiled bytecode of a JVM class file
instead of a useless binary representation of it. It works for files on the disk as well as inside zip/jar archives.

Prerequisites

You should have Java of any version installed, and javap must be accessible via your PATH.

Installation

Pathogen

$ git clone https://github.com/udalov/javap-vim ~/.vim/bundle/

Vundle

Add Plugin 'udalov/javap-vim' to your ~/.vimrc and run PluginInstall.

Manual

  1. mkdir -p ~/.vim/plugin
  2. cp plugin/javap.vim ~/.vim/plugin/javap.vim
  3. Restart Vim
Enjoy!

添加新评论