Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Suggestions accept by Enter not working in sudden

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
jzq740176597 Posted - Jan 02 2024 : 9:30:32 PM
Unity C# project.
I can accept suggestion only by TAB (Setting can use Tab & Enter)






I have tried other 2 project but not difference.

BTW: if I press Enter multi-times; the suggestion persist & result input many new-lines in text-editor.

any hint?

2024.07.11
VA_X64.dll file version 10.9.2508.0 built 2023.11.24
DevEnv.exe version 17.8.34330.188 Community
msenv.dll version 17.0.34330.188
Comctl32.dll version 6.10.19041.3636
Windows 10 10.0 22H2 Build 19045.3803
20 processors (x86-64)
Language info: 936, 0x804

8   L A T E S T    R E P L I E S    (Newest First)
jzq740176597 Posted - Jan 10 2024 : 01:43:04 AM
Sorry for later reply! I will try it when got time. thanks
feline Posted - Jan 03 2024 : 12:28:04 PM
To try and make sense of this, I have just started with a clean, default install of Visual Assist 2508 on Visual Studio 2022, and made a new, default C# console solution.

No sign of VA listboxes when typing "#re" on a new line, as expected. So first step is to turn On:

VA Options -> Suggestions -> Suggestion and Completion lists
* Enable in C#

Now, when simply typing "#re" I am getting, and note the tooltip:



but when I use the down arrow to place full focus into the suggestion listbox I get:



So as far as VA is concerned, having full focus changes the keys that will accept the listbox.

Currently Enter will accept both listboxes on this machine, but VA and IDE settings can have an effect here, and the default settings are that VA is set to accept listboxes with both Tab and Enter.

In your first post to this thread, the first screen shot shows partial focus in the listbox, and the second screen shot shows full focus in the listbox. BUT, one screen shot shows a VA snippet listbox, and one shows a suggestion listbox, which is yet another variable.

I am happy to run some tests here with your IDE and VA settings, if you want to send them to me. They can be exported via:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

If you want me to have a look, please send me the files via email:

[email protected]

including this thread ID or URL in the description, so we can match it up.
jzq740176597 Posted - Jan 03 2024 : 10:06:33 AM
I don't think the focus is the problem.
I know the listBoxSelectStyle thing, actually.

SEE this:

https://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=20590

btw, see the first-post & 2nd capture. obviously listBox got focus.

And another evidence is : after reimport the vssettings I methioned it works again (same input)

so I still wonder what's going on here.
feline Posted - Jan 03 2024 : 09:52:41 AM
For the VA suggestion listboxes, if VA thinks its suggestion may not be accurate, for example, it thinks you may be creating a new variable, the suggestion won't have focus, so while it can be accepted with Tab, it won't be accepted with Enter. This can be changed via this registry key:

https://support.wholetomato.com/default.asp?W350

which is a separate setting to the IDE setting you have found.
jzq740176597 Posted - Jan 02 2024 : 10:11:53 PM
Found that after everything go well, this setting about Enter :none-options
If I choose either one, same acause the Enter block <instead just enter new-line in text-editor>.



jzq740176597 Posted - Jan 02 2024 : 10:05:18 PM
NO google results help BUT I import a vssettings (previous exported) THEN everything works like a charm. What a suck.
Hope can Help somebody else.
jzq740176597 Posted - Jan 02 2024 : 9:52:09 PM
Sorry, Found that pure-vs (with va disabled) the problem still existed!
I just don't know why, google it then.
jzq740176597 Posted - Jan 02 2024 : 9:41:26 PM
I re-install same latest version & clear cache all sort of , but all make no difference. I happen in a sudden. I don't change any setting or install new extensions or sth, yesterday all works well, do'nt know what's happened.

help. EVEN can't coding for now

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000