HaXe.tmbundle icon indicating copy to clipboard operation
HaXe.tmbundle copied to clipboard

problem with 2.0.9

Open francescoagati opened this issue 13 years ago • 13 comments

with haxe version 2.0.9 autocomplete is broken. Don't show anymore

francescoagati avatar Apr 17 '12 15:04 francescoagati

Thanks, I'm upgrading as well and will sort this out soon.

jdonaldson avatar Apr 17 '12 16:04 jdonaldson

thanks

francescoagati avatar Apr 17 '12 16:04 francescoagati

Can you give me an example of some problematic code? I've updated my version, and everything looks to be working fine.

jdonaldson avatar Apr 23 '12 19:04 jdonaldson

i have problem with autocomplete on methods and properties. the autocomplete of class and variables is right. but autocomplete of methods after the point don't exec. I have these error : There is an error preventing autocompletition

francescoagati avatar Apr 23 '12 20:04 francescoagati

I can't reproduce for simple examples. Have you ever manually installed haxe, or compiled from source? If so, here's a guess:

Textmate uses different environment variables than your bash profile. You might try writing: haxe on a new line in your haxe source file, and hitting ctrl-R at the end of the line. This will show you the version number of the haxe that you are running. You can also try which haxe the same way to see which haxe binary is being used by textmate. Also, keep in mind that HAXE_HOME and HAXE_LIBRARY_PATH won't be set unless you do it explicitly in textmate.

jdonaldson avatar Apr 23 '12 21:04 jdonaldson

i have installed haxe 2.0.9 default. i can try to reinstall it. but with haxe 2.0.8 it work correctly first. ill retry to reinstall 2.0.9 thanks :-)

francescoagati avatar Apr 23 '12 22:04 francescoagati

Silly question: Does the project compile correctly?

jdonaldson avatar Apr 23 '12 22:04 jdonaldson

yes the process compile correctly only autocomplete of method and property dont function

francescoagati avatar Apr 23 '12 22:04 francescoagati

The message "There is an error preventing autocompletion: " should also include the response back from the compiler. Do you see a response? If the response is missing, then it might be a problem with the haxe compiler. Can you reproduce this in a small sample? That would help greatly.

jdonaldson avatar Apr 23 '12 23:04 jdonaldson

class Main {

public static function sum(a,b) { return a+b; }

public function sasa2(fn:Void->Void) { fn(); }

public function sasa() {

  sasa2(function() {
    trace(this);
  });

}

public function new() {

}

public static function main(){

var xx=new Main();
xx.sasa();

} }

francescoagati avatar Apr 24 '12 00:04 francescoagati

and build.hxml

-main Main -neko bin/Main.n -cmd neko bin/Main.n

francescoagati avatar Apr 24 '12 00:04 francescoagati

This still looks good. Are you on Textmate 2 by chance?

jdonaldson avatar Apr 24 '12 01:04 jdonaldson

no textmate 1. i have downloaded the first release of haxe 2.0.9 may be this

francescoagati avatar Apr 24 '12 07:04 francescoagati