Vim Omnicompletion for ActionScript 3

10
Dec/08
1

Shortly before we received Flex IDE licenses at work, I was in the process of writing an ActionScript 3 omnicompletion plug-in for vim. The ‘flash’ package is covered for the most part while ‘mx’, ‘flashx’ and ‘air’ are still lacking.

Anyway, it’s not serving the community sitting around my hard drive so I went ahead and pushed it up to the vim script repository.

http://www.vim.org/scripts/script.php?script_id=2478

Hopefully, it will make someone happy.

Comments (1) Trackbacks (0)
  1. Milo
    1:42 pm on October 25th, 2009

    Hey, thanks for sharing this helpful resource.

    ^X^O didn’t really work all that well, but then I installed SuperTab, with the default completion type set to “context”, and that produced expected results.

    The only problem I have remaining is the conflict between actionscript and “Atlas” files (which also share the .as extension), so I’m still forced to set the omnifunc manually (I’m guessing the conflict prevents your ftplugin file from running). I know of certain commands that could be placed in my general configuration to resolve the issue, but I’m looking for the “right way” to do it – if there is such a thing in vim.

    How would/did you resolve that conflict?

    Thanks.

Leave a comment

No trackbacks yet.