Processing


Ⅰ. 插件描述

Create and run processing sketches in Vim. Development repository for vim script 2115.

Ⅱ. 基本信息

创建日期:  2008-01-04
使用用户:  224
Github星:  126
插件作者:  Szabolcs Horvát

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'sophacles/processing'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'sophacles/processing'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'sophacles/processing'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Vim processing

Development version of vim script #2115. Originally authored by Szabolcs Horvát, and extended by Erich Heine and others (see below for a full list), this plugin exists to allow vim to replace the Processing IDE to develop sketches.

Features

  1. Syntax Highlighting for the Processing language: processing.vim will properly highlight sketches, based on the processing keywords.txt file. This includes processing functions and Java types and keywords as well.
  2. Documentation lookup - pressing K in when over a keyword, type or function defined by processing will open a browser to the relevant documentation. (Currently this requires python support compiled into vim)
  3. Integrates with Vim's compiler support. Sketches can be run directly from Vim using the :make command. They are run via the processing-java command. This tool is used to run sketches outside of the Processing editor, and is supplied with Processing itself. Make sure processing-java is in your PATH before trying to run it from vim-processing.

(MacOSX users will need to install the processing-java command from the Processing IDE before using this functionality)

  1. Folding can be enabled by defining "g:processing_fold".
    :let g:processing_fold = 1

For more usage information See :help processing-intro.

Installing

Use your favorite plugin manager, or download processing.zip from vimscripts and unzip it in ~/.vim/

Contributors

The full list of contributors to this project:

  • Szabolcs Horvát (@szhorvat)
  • Erich Heine (@sophacles)
  • Guy John (@rumblesan)
  • Richard Gray (@vortura)
  • Crazy Master (@crazymaster)
  • Vítor Galvão (@vitorgalvao)

License

Copyright (c) the contributors to the project. Distributed under the same terms as Vim itself. See :help license.

添加新评论