jdonaldson / vaxe

A modern, modular vim mode for Haxe.
219 stars 36 forks source link

Can't get vaxe#ImportClass() work #42

Open igrir opened 10 years ago

igrir commented 10 years ago

I read the readme that the command ImportClass automatically add the library that needed by the code. I've installed ctags (exuberant ctags) and put the line needed for ctags in ~/.ctags written in readme. Then I try to make code var l = new FastList<Int>();, I executed the command inside vim, I was typing execute vaxe#ImportClass() and after that vim only output this No packages found in ctags. It didn't generate import haxe.FastList; at the top of my code. Am I missing something?

jdonaldson commented 10 years ago

Ah, one thing to do here is try with a different class. FastList has been renamed to haxe.ds.GenericStack. That example works for me, and I've updated the documentation there.