autocomplete minor issue in flashdevelop

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

autocomplete minor issue in flashdevelop

Alex Liebert
sometimes, in certain expressions, autocomplete won't work right for haxe in flashdevelop.

imagine instance variable myValue

if i type

if(thing.x<myValue)

...myValue is not always automcompleted.

if i type

if(thng.x<this.myValue)

the 'this' triggered finding myValue.

Alex


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

Re: autocomplete minor issue in flashdevelop

Alex Liebert
sorry, correction ,its when its the second part of a boolean test, like

if(this.x<myOtherValue && this.x>myValue)


On Wed, Nov 23, 2011 at 2:00 PM, Alex Liebert <[hidden email]> wrote:
sometimes, in certain expressions, autocomplete won't work right for haxe in flashdevelop.

imagine instance variable myValue

if i type

if(thing.x<myValue)

...myValue is not always automcompleted.

if i type

if(thng.x<this.myValue)

the 'this' triggered finding myValue.

Alex



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

Re: autocomplete minor issue in flashdevelop

Elsass Philippe
In reply to this post by Alex Liebert
that's because haxe --display doesn't provide "toplevel" completion - currently haxe compiler will only work after a '.' or a '(', and in other situations it's FlashDevelop's completion engine kicking in based on a superficial knowledge of your code.

On Wed, Nov 23, 2011 at 11:00 PM, Alex Liebert <[hidden email]> wrote:
sometimes, in certain expressions, autocomplete won't work right for haxe in flashdevelop.

imagine instance variable myValue

if i type

if(thing.x<myValue)

...myValue is not always automcompleted.

if i type

if(thng.x<this.myValue)

the 'this' triggered finding myValue.

Alex


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



--
Philippe

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

Re: autocomplete minor issue in flashdevelop

Elsass Philippe
Ah then if 'myValue' would appear correctly in the first part of the test, then it also might be a FD bug here :)

On Wed, Nov 23, 2011 at 11:07 PM, Philippe Elsass <[hidden email]> wrote:
that's because haxe --display doesn't provide "toplevel" completion - currently haxe compiler will only work after a '.' or a '(', and in other situations it's FlashDevelop's completion engine kicking in based on a superficial knowledge of your code.

On Wed, Nov 23, 2011 at 11:00 PM, Alex Liebert <[hidden email]> wrote:
sometimes, in certain expressions, autocomplete won't work right for haxe in flashdevelop.

imagine instance variable myValue

if i type

if(thing.x<myValue)

...myValue is not always automcompleted.

if i type

if(thng.x<this.myValue)

the 'this' triggered finding myValue.

Alex


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



--
Philippe



--
Philippe

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