Ⅰ. 插件描述
A vim plugin to view bytecode of JVM class filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用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
mkdir -p ~/.vim/plugincp plugin/javap.vim ~/.vim/plugin/javap.vim- Restart Vim