editortools


Ⅰ. 插件描述

Tools that make creating kOS scripts easier.

Ⅱ. 基本信息

创建日期:  2015-04-13
使用用户:  2
Github星:  39
插件作者:  KSP-KOS

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Kerboscript Developer Tools

EditorTools features code editor syntax definitions, IDE plugins, and general utilities centered around the kerboscript language found in the Kerbal Operating System mod for Kerbal Space Program.

Syntax Definitions

Most of the available tools come in the form of kerboscript syntax definitions. All editor specific definition files are maintained separately by their respective creators or current maintainer. Because definition files were created (and are maintained) independently of each other, syntax highlighting style and kerboscript language coverage may differ across editors.

Syntax definitions are available for the following editors/IDEs:

Utilities

Projects listed here reflect kerboscript developer utilities that are independent of any specific code editor or IDE.

Available utilities include:

  • KOS Minimiser

    • Standalone tool that provides the script minimiser utility found in the kerboscript IDE Kode. The CLI tool will remove comments, blank lines, and extra spaces from .ks files in order to reduce the amount of disk space the kerboscript file will occupy when loaded into a vehicle control system.

Updates, Bugs, and New Additions

While EditorTools is a sub-module of the KSP-KOS repository, in respect to functionality, the tools found here are independent of the current version of kOS. Like kOS, EditorTools is a community supported endeavor, and although most of the available tools operate as expected across different versions of kOS, the current state of a specific module may not reflect the current state of kOS itself.

Because EditorTools primarily provides editor specific kerboscript syntax support, issues are typically isolated to missing or incorrect syntax highlighting for reserved words. If you discover any errors or bugs, submitting an issue ticket with the appropriate documentation is both helpful and appreciated.

New additions to EditorTools are always welcome. Regardless of size or scope, if you have a kerboscript related tool you would like to include, please submit a PR with all project files and a README that contains an overview of your module, and if applicable, installation and usage instructions.

添加新评论