All Projects → endel → flashdevelop.vim

endel / flashdevelop.vim

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

Programming Languages

ruby
36898 projects - #4 most used programming language
Vim Script
2826 projects
actionscript
884 projects

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 (gem install sprout)
  • 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 support/ctags 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. (private static var CONST : String = "const";)
    • If inside a method call, that was not defined yet:
      • Ask for access level and create that method.

The auto-complete functionality deeply uses tags file generated with exuberant-ctags. It's important to always have your tags 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].