adireddy / eclihx

Automatically exported from code.google.com/p/eclihx
0 stars 0 forks source link

Completion fails, no error panel display #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.install eclihx
2.create a simple Main class
3.specify flash 9 has target

No completion is offered. (at the beginning of the class writting, I got some 
completion, but really poor (package completion) )

Errors panel doesn't show any error when compilation fails.

I'm on MacOSX 10.6, not sure about the Eclipse version, but it is up to date, 
and it is the webdeveloper edition.

Let me know if I can be of any help.

Good work
Thomas

Original issue reported on code.google.com by kiroukou@gmail.com on 22 Jan 2011 at 7:32

GoogleCodeExporter commented 9 years ago
Please could you give a haxe-file where you can reproduce the issue and also 
post here end of the you-eclipse-workspace-folder\.metadata\.log file right 
after the autocomplete attempt.

(You can find out the folder of your workspace by File->Switch 
Workspace->Other...)

Also you can activate "Window->Show View->Other...->General->Error Log" to see 
autocomplete ongoing logs.

Original comment by goodwi...@gmail.com on 22 Jan 2011 at 9:14

GoogleCodeExporter commented 9 years ago

Original comment by goodwi...@gmail.com on 22 Jan 2011 at 9:14

GoogleCodeExporter commented 9 years ago
I fixed the issue by specifying the hxml file to the "Haxe Content Assist" on 
project properties. 
I would have think it is the default setting. Now everything is working much 
better.

I'm ataching my test Class, you'll see some comments where completion doesn't 
work where expected to work.

Original comment by kiroukou@gmail.com on 23 Jan 2011 at 10:06

Attachments:

GoogleCodeExporter commented 9 years ago
First of all I have posted Issue 58. It should be fixed in trunk (see how 
install from trunk in the end of this comment). I will update stable versuib 
after some more testing. Thanks for pointing to this issue. You can vote for it 
(click the star near the name of issue) so you'll be notified when it will be 
fixed finally. 

About current issue.
Sorry, didn't understand is the problem still there or it has been fixed with 
setting 
up the build file. 

If the issue didn't disappear please provide also a version of you haxe 
compiler version. And try to execute the 
"/usr/bin/haxe -main Main -cp src --display classes --no-output -swf9 
out/Test.swf ".
in "/Users/tpfeiffer/Developpement/workspace/Test"

I wonder if there would be a list with proposals like:
C:\Motion-Twin\haxe\haxe.exe -main Main -cp src --display classes --no-output
<list>
<i n="Array"><t></t><d></d></i>
<i n="Class"><t></t><d></d></i>
<i n="Date"><t></t><d></d></i>
<i n="DateTools"><t></t><d></d></i> ...

I have also added more logs in trunk for monitoring content assist output.

You can install last trunk version with the 
"http://download.eclihx.org/eclihx/updatesite/trunk" update site. Important: 
During install please uncheck "Group Items By Category"

Original comment by goodwi...@gmail.com on 24 Jan 2011 at 11:22

GoogleCodeExporter commented 9 years ago
I'm testing on windows 7 at work now, but the trunk version.

On the test class I supplied earlier, the completion for "class Main extends 
MovieCli" doesn't provide MovieClip as suggestion (no proposal).

Also, the method draw can't be proposed by typing "dra" but with "this.dra" it 
works like a charm ("this" seems to be needed to get completion).

Testing the command line provides all the classes list. So it seems to work 
fine.
If I try this: 
$ haxe -main Main -cp src -swf "out/test.swf" -swf-version 10 --display 
src/Main.hx@6 --no-output
src/Main.hx:6: characters 0-5 : Class not found : MovieCli

So that may explain why I do not get the MovieClip completion here.

Original comment by thomas.p...@gmail.com on 25 Jan 2011 at 8:16

GoogleCodeExporter commented 9 years ago
I have created more detailed separate issues 60-63 with enhancements of content 
assist. 
Fill free to add more if I have forgotten something.

And I suppose to close this issue, because it's now too wide for fixing.

Original comment by goodwi...@gmail.com on 25 Jan 2011 at 11:16

GoogleCodeExporter commented 9 years ago
Separated to different issues

Original comment by goodwi...@gmail.com on 7 Mar 2011 at 11:12