heon21st / flashdevelop

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

Support for haXe completion server-mode #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The haXe completion server allow to cache parsed files to provide faster 
completion.

Guide :

a) connect on a given port 
b) if failure : start "haxe --wait <port>" and reconnect
c) send the HXML as text on the socket
d) read response until socket is closed

(Requires haXe 2.09+ / SVN Build)

Original issue reported on code.google.com by ncanna...@gmail.com on 8 Feb 2012 at 3:34

GoogleCodeExporter commented 9 years ago
Duplicate of issue 24

Original comment by drem...@gmail.com on 23 Feb 2012 at 8:00

GoogleCodeExporter commented 9 years ago
With the recent changes, the patch I provided in issue 24 needs some more 
modifications. In order to fully alleviate the server completion mode, FD 
should also support _compilation_ over socket. This means that the two 
completion classes I provided have to be exposed to FDBuild, GetCompletion 
should be renamed to a mere Compile and the output has to be handled 
accordingly (there may be some issues involving missing return codes).

I suggest that if in Server mode, simply add the --connect host:port argument 
to the hxml which is used by FDBuild. This will work out of the box by passing 
it to the process, but can later be replaced by the real socket connection 
without starting a separate haxe process.

Original comment by simon.kr...@simn.de on 2 Apr 2012 at 10:19

GoogleCodeExporter commented 9 years ago
Implemented - however NME compiler doesn't honor --connect (yet)

Original comment by philippe...@gmail.com on 5 May 2012 at 8:13