Tab Autocomplete #89
Replies: 5 comments
-
Posted at 2015-10-23 by @allObjects errata: missed the ...left-hand... side... original post below is right-hand side oriented and has already tool tip in addition to some autocompleteion. For console entry autocompletion with tab is just fine, because it is like the linux terminal autocompletion... //////////////////////// I'm not sure if using tab is a good ide in an editor to trigger autocomplete... since tab means something... May be I do not undertand complely, but I really dislike the time of autocompletion that take more work to not to complete than having to type all. A ctlr or command blank makes more sense to me.... but it may be only beause I'm used to it. One can though justify tab as an autocomplete, because once a line is started with a character - at the proper (with tab) indented position, tabs do not matter anymore and canc be use for autocompletion... |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-10-23 by DrAzzy I'd rather the autocomplete on the right-hand side. Does anyone write anything non-trivial in the left side? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-10-24 by @gfwilliams Honestly. No pleasing some people :) I tend to use the left hand side quite a bit anyway, if only for calling There's been autocomplete in the right-hand side for ages. It's good too, as it knows about the type of your variables. Just use Ctrl-Space, which seems to be pretty much the standard shortcut for it. There are other interesting shortcuts too - just look on the first page of 'Settings'. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-10-25 by @allObjects Not just for pleasing people... if the autcomplete does not just include the built in things but also the globals (vaiables, functions) of the user code, that would be cool... @gordon, you have that most likely already in mind... ;-) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-10-25 by @gfwilliams
Yes, it does that already... on both sides. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-10-23 by @gfwilliams
Hi!
Just thought you might be interested to know that the latest Espruino builds now have tab-completion on the left-hand side.
If you type
di
then[tab]
it'll autocomplete todigital
and will show youdigitalPulse
,digitalWrite
anddigitalRead
. You can then just typeW
[tab]
and it'll autocomplete todigitalWrite
.Same happens with simple
a.b
type things. For instanceMa
[tab]
.
ra
[tab]
will give youMath.random
.It's not perfect yet, but is still pretty handy and will hopefully make writing code on the left-hand side a bit more fun.
Beta Was this translation helpful? Give feedback.
All reactions