Skip to content

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

License

Notifications You must be signed in to change notification settings

gangzhiwang/flashdevelop.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published