Author |
Topic |
|
rob8861
Senior Member
29 Posts |
Posted - Feb 20 2015 : 4:27:23 PM
|
I would like to know if there is a way to tell visual assist to display the suggestion list box without constantly invoking the ctrl + space command. most of the time, visual assist will suggest context sensitive symbols but when I try to type some other letters, it will not display ANYTHING unless i manually fire the ctrl + space command. this is not the case with the 'out of the box' intellisense.
here is a short screencase to demo what I mean.
http://screencast.com/t/xPuYRxwZLT
Thanks |
|
feline
Whole Tomato Software
United Kingdom
19008 Posts |
Posted - Feb 20 2015 : 8:45:24 PM
|
This makes sense. You should be getting VA suggestion listboxes, rather than the fuller completion listboxes. I have put in a request to always get the full completion listboxes instead:
case=88020
As you work with VA the suggestion listboxes should become more useful, since they will have a better idea of what you are doing. Have you spent much time with VA suggestions and VA Snippets?
Suggestion listboxes are explained here: http://docs.wholetomato.com/default.asp?W166
and VA Snippets here: http://docs.wholetomato.com/default.asp?W171 |
zen is the art of being at one with the two'ness |
|
|
rob8861
Senior Member
29 Posts |
Posted - Feb 22 2015 : 12:44:28 PM
|
thanks for putting the request. It would be especially helpful when working with large APIs where you don't always remember the function names.
I have noticed that VA suggestion becomes smarter as you type more and more symbols and the context sensitive completion is very helpful. I will not stop using that any time soon, :)
I am not a big fan of the VA snippets. I find the VS ones much more convenient, but that's probably because I am a new VA user.
|
|
|
feline
Whole Tomato Software
United Kingdom
19008 Posts |
Posted - Feb 23 2015 : 1:48:12 PM
|
One thought when looking for a function is the Find Symbol dialog, where you can filter on any part or parts of the function name that you can remember, regardless of their order in the actual name. This assumes that the functions are grouped by class or namespace, so you can just focus on the ones you are interested in.
http://docs.wholetomato.com/default.asp?W194
I am glad you are finding the suggestions helpful, this is the intention, that they are somewhat aware of what you are doing, and respond accordingly.
If you have a few minutes, I would be interested in why and how you find the IDE snippets more convenient. I tend to just go straight to VA Snippets, but I am probably biassed |
zen is the art of being at one with the two'ness |
|
|
rob8861
Senior Member
29 Posts |
Posted - Feb 23 2015 : 11:01:41 PM
|
thanks for pointing out the Find Symbol dialog. it is indeed very helpful. I will certainly start using it more often now (although I would still love to have the complete list box option ).
to answer your question regarding my snippets preference, I might be old school but I find the built in place holders where you can type a name or a condition (inside an if or while for example), hit enter and the cursor jumps straight to the beginning of the body/block. I know you guys are working on something similar and I know that the VA snippets are much more powerful as you can literally create a complete "blueprint" snippet. I just haven't found a good use case for it yet. if you have an example, i'd love to know more how I can turn it into a another great tool to speed up development/coding :)
Cheers. |
|
|
feline
Whole Tomato Software
United Kingdom
19008 Posts |
Posted - Feb 24 2015 : 6:26:47 PM
|
The Find Symbol dialog does take you out of the editor, so you might find the Find Symbol field in the top portion of VA View to be helpful. Once you get as far as filters like "className expand node -get -set" where you are doing multiple filters and excluding unwanted results you can do some quite clever searches very quickly :)
It is about using the right tool for the right job, and I have put in a case for the full listboxes.
For VA Snippets, we are actively working on prompting inside the editor, so hopefully we will have something in the next few builds.
For the caret positioning, just use $end$ to tell the VA Snippet where to leave the caret. If you don't specify then the caret goes to the end of the inserted code.
Personally a lot of the snippets I use are simple expansions, standard comment blocks, inserting the date and time in comments, "t" for "true", and so on. Debugging logging is another useful area, inserting a formatted log statement and having VA insert the file name and function name automatically.
The other area I find they shine is when building a block that inserts $selected$ or $clipboard$, sometimes both at once. You can then generate a block of functions, for example a different version of Encapsulate Field that you only need occasionally.
Do you run into things it would be useful to do with an IDE snippet that you find hard or impossible to do? You can do helpful things with the VA Snippet reserved strings, once you know to look for them:
http://docs.wholetomato.com/default.asp?W262 |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|