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
 Technical Support
 Copilot and Visual Assist fighting over Tab
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ajargrey
New Member

India
3 Posts

Posted - May 04 2024 :  08:43:07 AM  Show Profile  Reply with Quote
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

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - May 06 2024 :  08:26:57 AM  Show Profile  Reply with Quote
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?

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

FAN
Senior Member

33 Posts

Posted - May 06 2024 :  09:03:22 AM  Show Profile  Reply with Quote

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

Go to Top of Page

ajargrey
New Member

India
3 Posts

Posted - May 06 2024 :  09:12:06 AM  Show Profile  Reply with Quote
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
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - May 06 2024 :  09:19:18 AM  Show Profile  Reply with Quote
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?

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

ajargrey
New Member

India
3 Posts

Posted - May 06 2024 :  12:34:13 PM  Show Profile  Reply with Quote
Hey @feline,
This works perfectly. Thanks a lot!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - May 21 2024 :  11:49:26 AM  Show Profile  Reply with Quote
Excellent news, thank you for the update, good to know this helps.

zen is the art of being at one with the two'ness
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