Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could vaxe be made to take it less exact with errors? #54

Open
RudolfVonKrugstein opened this issue May 11, 2014 · 4 comments
Open

Could vaxe be made to take it less exact with errors? #54

RudolfVonKrugstein opened this issue May 11, 2014 · 4 comments

Comments

@RudolfVonKrugstein
Copy link

I often have the situation that my lime project compiles from the console (or by :make) but vaxe autocompletion reports errors.

Also, sometimes I want autocompletion also my project does currently not compile.

For example, when I import:

import haxe.ui.toolkit.core.interfaces.IDisplayObject;

I always get:

Class not found : haxe.ui.toolkit.core.interfaces.IDisplayObject

also the project compiles (and I can use IDisplayOject successfully).

@jdonaldson
Copy link
Owner

There's been some changes with how lime manages build attributes. It doesn't seem like they get exported properly in the lime-generated hxml. I have questions in to Josh about it. See also #50

@RudolfVonKrugstein
Copy link
Author

Mmmh, when I call haxe autocomplete from the command line like this:

haxe --display Source/NuggetaHandler.hx@199 ./Export/linux64/cpp/haxe/release.hxml

It gives valid results.
But when doing autocomplete in vim at the same position, it fails. Can I somehow output what exact command is used for invoking haxe when autocompleting?

@jdonaldson
Copy link
Owner

I'm trying to revisit some of these stalled bugs, are you still having problems? I know that Josh just updated openfl.

@RudolfVonKrugstein
Copy link
Author

Hey,

vaxe works pretty good for me. Sometimes I have to delete the generated hxml file ... wonder if vaxe could be made to auto-re-generate it when libs have changed?!?

Anyhow, what still would be cool, imagine this example:

import StupidClass;

class Test {

  public function test() {
    this.
  }
}

Stupid class does not exist and for that reason, the autocompletion at the "this." does not work. I often want to finish the code I am working on and correct the import later ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants