Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Copilot and Visual Assist fighting over Tab

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
ajargrey Posted - May 04 2024 : 08:43:07 AM
Tab in Visual Assist is used for accepting suggestion; Tab is also used in Copilot to accept Suggestion;

How do I change this hotkey for either Visual Assist OR copilot?
Scavenged the internet, couldn't find anything
10   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 27 2025 : 3:10:03 PM
Both VA and IDE settings can come into play here. As a first step, can you please try turning Off

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

does this help at all? We have had one user report making this change, and that it helped them when dealing with CoPilot in C#, so I am wondering if the same change will work for you and help you as well.
mkoe Posted - Feb 27 2025 : 10:25:49 AM
Tools > Options > IntelliCode > Advanced > Accept code suggestion on right arrow
This is no option for us. We want TAB to accept the suggestion

Are you working in C++ or C#?
Both. But the issue in the screenshots is from C#
feline Posted - Feb 27 2025 : 07:12:07 AM
We are working on getting CoPilot and VA listboxes to work better together:

case=165219

For now, some people have reported success with the settings:

Tools > Options > IntelliCode > Advanced > Accept code suggestion on right arrow

VA Options -> Enhanced Listboxes -> Commit selection with - Tab = OFF
VA Options -> Enhanced Listboxes -> Commit selection with - Enter = ON

But I am not sure why you are being prompted to accept a VA listbox with Tab when you have the Tab setting turned Off.

Are you working in C++ or C#? I do recall one user reporting problems with CoPilot and C#.
mkoe Posted - Feb 27 2025 : 03:10:05 AM
Hey, I have the same issue and non of the settings fix this.

As you can see in the following image, VA accepts via TAB and overrides the autocompletion:



BUT my settings are (TAB is disabled):



We use the latest VA and VS versions.



feline Posted - May 21 2024 : 11:49:26 AM
Excellent news, thank you for the update, good to know this helps.
ajargrey Posted - May 06 2024 : 12:34:13 PM
Hey @feline,
This works perfectly. Thanks a lot!
feline Posted - May 06 2024 : 09:19:18 AM
Since I don't have a Github Copilot account, I cannot simply test this directly here, but has anyone tried setting:

VA Options -> Enhanced Listboxes -> Commit selection with - Tab = OFF
VA Options -> Enhanced Listboxes -> Commit selection with - Enter = ON

also does the setting FAN posted help?
ajargrey Posted - May 06 2024 : 09:12:06 AM
using c++ with unreal engine
Using Github Copilot Completions Extension (External VS extension, not in-built)

as you can see in this image: https://imgur.com/a/bgEZXbJ

Visual Assist says "VA Snippet, Accept with <TAB> or <ENTER>"
and Copilot says, "Tab to Accept"

so, both are kind of competing for tab command,
couldn't figure out how to change tab command for either copilot or VA

p.s: image: https://imgur.com/a/bgEZXbJ
FAN Posted - May 06 2024 : 09:03:22 AM

I think what he means is that the tab key is used by both the IntelliCode autocomplition and the GitHub Copilot extension. (So it is not directly related to Visual Assist.) Anyway, the solution from this Github forum might help:
Tools > Options > IntelliCode > Advanced > Accept code suggestion on right arrow

https://github.com/orgs/community/discussions/65015#discussioncomment-8212576

feline Posted - May 06 2024 : 08:26:57 AM
Which programming language are you working in?

Are you talking about something that happens with the GitHub Copilot Chat extension installed and active, or something built into Visual Studio?

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