Discussion:
[wingide-users] variable name completion
Coyot Linden (Glenn Glazer) via wingide-users
2018-06-04 15:51:44 UTC
Permalink
If I have two variables, say, fooBar and bazBar, and I start to change
one of the former to the latter by deleting 'foo' and starting to type
'baz', Wing suggests bazBar, which is right, but if I accept that, I get
'bazBarBar' - the suggestion is inserted before the rest of the variable
name.  Is there a way to get the completion to recognize whole word context?

Best,

coyot

*GLENN GLAZER | /S/**/enior Software Engineer /**
m:*562.305.2920 | *email:* ***@lindenlab.com
<mailto:***@lindenlab.com> | *Second Life:* Coyot Linden
*LINDEN LAB* | Create Virtual Experiences
_________________________________________________
Wing IDE users list
http://wingware.com/lists/wing
Wingware Support via wingide-users
2018-06-04 19:06:21 UTC
Permalink
Post by Coyot Linden (Glenn Glazer) via wingide-users
If I have two variables, say, fooBar and bazBar, and I start to change
one of the former to the latter by deleting 'foo' and starting to type
'baz', Wing suggests bazBar, which is right, but if I accept that, I
get 'bazBarBar' - the suggestion is inserted before the rest of the
variable name. Is there a way to get the completion to recognize
whole word context?
The Editor > Auto-Completion > Completion Mode preference can be set to
Replace Any Existing Symbol or Replace Only Matching Symbols. The
latter is an attempt to addressing this exact case, although I find it
still eats more than I often want it to.
--
Stephan Deibel
Wingware | Python IDE

The Intelligent Development Environment for Python Programmers

wingware.com
Continue reading on narkive:
Loading...