Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Suggestions accept by Enter not working in sudden
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jzq740176597
Tomato Guru

China
343 Posts

Posted - Jan 02 2024 :  9:30:32 PM  Show Profile  Reply with Quote
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


Creation come from persist!

Edited by - jzq740176597 on Jan 02 2024 9:35:48 PM

jzq740176597
Tomato Guru

China
343 Posts

Posted - Jan 02 2024 :  9:41:26 PM  Show Profile  Reply with Quote
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

Creation come from persist!
Go to Top of Page

jzq740176597
Tomato Guru

China
343 Posts

Posted - Jan 02 2024 :  9:52:09 PM  Show Profile  Reply with Quote
Sorry, Found that pure-vs (with va disabled) the problem still existed!
I just don't know why, google it then.

Creation come from persist!
Go to Top of Page

jzq740176597
Tomato Guru

China
343 Posts

Posted - Jan 02 2024 :  10:05:18 PM  Show Profile  Reply with Quote
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.

Creation come from persist!
Go to Top of Page

jzq740176597
Tomato Guru

China
343 Posts

Posted - Jan 02 2024 :  10:11:53 PM  Show Profile  Reply with Quote
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>.




Creation come from persist!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 03 2024 :  09:52:41 AM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

jzq740176597
Tomato Guru

China
343 Posts

Posted - Jan 03 2024 :  10:06:33 AM  Show Profile  Reply with Quote
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.

Creation come from persist!

Edited by - jzq740176597 on Jan 03 2024 10:07:02 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 03 2024 :  12:28:04 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

jzq740176597
Tomato Guru

China
343 Posts

Posted - Jan 10 2024 :  01:43:04 AM  Show Profile  Reply with Quote
Sorry for later reply! I will try it when got time. thanks

Creation come from persist!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000