Completion improvements

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Completion improvements

Nicolas Cannasse
Hi,

I've added both documentation and overloads in compiler-based completion
results in r4056

- documentation is listed for fields (in <d></d> blocks). It contains
the raw html-escaped documentation contained in /** **/ comments.
Documentation is not yet printed for method calls.

- overloads are working for fields and constructors : in the later case
multiple <type></type> are printed. It is still not working for a method
call.

@Philippe : do you think you could add overload support to FD completion
when multiple <type></type> are printed ? You can test with "new
js.JQuery(|" + documentation as well when there are <doc></doc> nodes
after the <type> ? (not yet done by compiler but could be added soon).

Best,
Nicolas

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Completion improvements

Cauê W.
Nicolas, that's fantastic news! Thank you for the changes!

Cheers! :)
Cauê

2011/10/29 Nicolas Cannasse <[hidden email]>
Hi,

I've added both documentation and overloads in compiler-based completion results in r4056

- documentation is listed for fields (in <d></d> blocks). It contains the raw html-escaped documentation contained in /** **/ comments. Documentation is not yet printed for method calls.

- overloads are working for fields and constructors : in the later case multiple <type></type> are printed. It is still not working for a method call.

@Philippe : do you think you could add overload support to FD completion when multiple <type></type> are printed ? You can test with "new js.JQuery(|" + documentation as well when there are <doc></doc> nodes after the <type> ? (not yet done by compiler but could be added soon).

Best,
Nicolas

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Completion improvements

Franco Ponticelli
In reply to this post by Nicolas Cannasse
That's huge! Thank you very much.

Franco

On Sat, Oct 29, 2011 at 4:21 PM, Nicolas Cannasse <[hidden email]> wrote:
Hi,

I've added both documentation and overloads in compiler-based completion results in r4056

- documentation is listed for fields (in <d></d> blocks). It contains the raw html-escaped documentation contained in /** **/ comments. Documentation is not yet printed for method calls.

- overloads are working for fields and constructors : in the later case multiple <type></type> are printed. It is still not working for a method call.

@Philippe : do you think you could add overload support to FD completion when multiple <type></type> are printed ? You can test with "new js.JQuery(|" + documentation as well when there are <doc></doc> nodes after the <type> ? (not yet done by compiler but could be added soon).

Best,
Nicolas

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Completion improvements

Justin Donaldson-3
Thanks for this!

-Justin

On Sat, Oct 29, 2011 at 8:34 AM, Franco Ponticelli <[hidden email]> wrote:
That's huge! Thank you very much.

Franco


On Sat, Oct 29, 2011 at 4:21 PM, Nicolas Cannasse <[hidden email]> wrote:
Hi,

I've added both documentation and overloads in compiler-based completion results in r4056

- documentation is listed for fields (in <d></d> blocks). It contains the raw html-escaped documentation contained in /** **/ comments. Documentation is not yet printed for method calls.

- overloads are working for fields and constructors : in the later case multiple <type></type> are printed. It is still not working for a method call.

@Philippe : do you think you could add overload support to FD completion when multiple <type></type> are printed ? You can test with "new js.JQuery(|" + documentation as well when there are <doc></doc> nodes after the <type> ? (not yet done by compiler but could be added soon).

Best,
Nicolas

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Completion improvements

sledorze
In reply to this post by Nicolas Cannasse
Great and useful with externs :)
Reply | Threaded
Open this post in threaded view
|

Re: Completion improvements

Elsass Philippe
In reply to this post by Nicolas Cannasse
Cool,

And I already added -D use_rtti_doc in FD command so doc will be available in completion in earlier versions of haxe SDK too; if it's properly documented you may not want to set it by default as many code editors are not able to display doc anyway.

Now I suppose it's time I look into overloads - atm this isn't possible in current FD completion.

On Sat, Oct 29, 2011 at 5:21 PM, Nicolas Cannasse <[hidden email]> wrote:
Hi,

I've added both documentation and overloads in compiler-based completion results in r4056

- documentation is listed for fields (in <d></d> blocks). It contains the raw html-escaped documentation contained in /** **/ comments. Documentation is not yet printed for method calls.

- overloads are working for fields and constructors : in the later case multiple <type></type> are printed. It is still not working for a method call.

@Philippe : do you think you could add overload support to FD completion when multiple <type></type> are printed ? You can test with "new js.JQuery(|" + documentation as well when there are <doc></doc> nodes after the <type> ? (not yet done by compiler but could be added soon).

Best,
Nicolas

--
haXe - an open source web programming language
http://haxe.org



--
Philippe

--
haXe - an open source web programming language
http://haxe.org