SkillAgentSearch skills...

Flashdevelop.vim

This plugin aims to provide productive features for editing ActionScript 3.0 files inside your VIM.

Install / Use

/learn @endel/Flashdevelop.vim
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

FlashDevelop features for VIM Build Status

This plugin aims to provide productive features for editing ActionScript 3.0 files inside your VIM.

It's actually on early development stage, but you can try it and improve it if you feel adventurous.

Requirements

  • VIM with ruby bindings. (+ruby)
  • sprout gem (<code>gem install sprout</code>)
  • vim-rooter plugin
  • tlib plugin
  • Custom ctags configuration, as described above.

ctags

flashdevelop.vim requires a custom ctags configuration for ActionScript files.

Copy the contents of <code>support/ctags</code> into your ~/.ctags

Features currently avaible

Commands:

  • :R - Swap between implementation and test classes.
  • :make - Compilation through project-sprouts.

Keyboard bindings:

  • Leader + N - Create a new class
  • Leader + m - Autocomplete
    • If cursor inside a class name:
      • Create a class if it's name isn't defined, otherwise try to import it.
    • If cursor inside 'override' statement:
      • Show a list of parent class functions, to auto-complete for override.
    • If cursor inside a uppercased word:
      • Ask for access level to create a constant. (<code>private static var CONST : String = "const";</code>)
    • If inside a method call, that was not defined yet:
      • Ask for access level and create that method.

The auto-complete functionality deeply uses <code>tags</code> file generated with exuberant-ctags. It's important to always have your <code>tags</code> updated.

TODO

The first goal of flashdevelop.vim is to implement the FlashDevelop generation features

License

This plugin is distributed under the MIT license. Please see the LICENSE file.

View on GitHub
GitHub Stars16
CategoryDevelopment
Updated9y ago
Forks3

Languages

Ruby

Security Score

60/100

Audited on Dec 26, 2016

No findings