| Author |
Topic  |
|
|
dewtell
Junior Member
 
23 Posts |
Posted - Apr 21 2026 : 2:34:34 PM
|
I've installed the latest 2026.3 build, and downloaded and installed the VA Intelligence support. But I can't seem to invoke the Change Code feature noted in the release announcement. I highlight a section of code, and am then able to pull down the menu from the tomato icon, but Change Code isn't one of the listed items. I am able to get it to explain a variable using AI, so I know the AI stuff is apparently working, but the general feature of changing the highlighted code in response to a prompt and getting the side-by-side diff doesn't seem to be something I can invoke. What am I missing?
|
|
|
feline
Whole Tomato Software
    
United Kingdom
19371 Posts |
Posted - Apr 22 2026 : 07:11:10 AM
|
Starting with something incredibly simple, I selected the following line of code:
int nSimpleInitialize = 34; // #Initialize
using Shift and Down arrow, to make sure the end of line character was also selected. Then I use Alt-Shift-Q to open the context menu, and the first option in the menu was "Change Code with AI (beta)..." which produced a "what do you want to do" box.
This was done using VS2022 and VA 2610.0 (VA 2026.3). What results do you get if you try the same steps? |
zen is the art of being at one with the two'ness |
 |
|
|
dewtell
Junior Member
 
23 Posts |
Posted - Apr 22 2026 : 2:19:37 PM
|
When I do Alt-Shift-Q to open the context menu (note: Instructions when I installed AI were to use Ctrl-Shift-Q, you might want to fix that), I get a pop-up menu with three entries: Sort Methods by Header File (beta) Extract Method ... Move Selection to New File ...
No entry for Change Code. This is with VS2013 and VA 2026.3.
|
 |
|
|
feline
Whole Tomato Software
    
United Kingdom
19371 Posts |
Posted - Apr 23 2026 : 07:56:35 AM
|
I hadn't noticed that, but you are quite right, the keyboard shortcut in the dialog is indeed wrong:
case=166177 |
zen is the art of being at one with the two'ness |
 |
|
|
feline
Whole Tomato Software
    
United Kingdom
19371 Posts |
Posted - Apr 23 2026 : 11:30:22 AM
|
Checking various versions of Visual Studio took a few moments, but yes, change code with AI just isn't being offered in VS2013, but explain with AI is being offered. The earliest version of Visual Studio I am seeing change with AI being offered is VS2015.
To be fair, VS2013 is very old now! But having said that, it would be nice to know where this is supposed to work.
case=166179 |
zen is the art of being at one with the two'ness |
 |
|
| |
Topic  |
|