Visual Studio 2022: Resharper - IntelliCode AutoComplete disappearing when typing - visual-studio

When using the Resharper extension, I noticed that I can no longer use the IntelliCode auto complete suggestions as they disappear straight after a key press
Is it possible to use this feature in conjunction with Resharper?
Expected Outcome
Auto complete suggestion is visible after keypress
Actual Outcome
Auto complete suggestion disappears after keypress
Version
Visual Studio 17.3.0

The issue appears to be fixed with the release of Visual Studio 17.4.0.
I would recommend anyone having the same issue with versions < 17.4.0 to update by doing the following:
Visual Studio Menu Bar -> Help -> Check For Updates -> Update

Does pressing ctrl+J can show any suggestions?
You can try to disable extensions in Visual Studio. This might be the cause of the problem.

We've created a new issue in our bug tracker: https://youtrack.jetbrains.com/issue/RSRP-490187. Please comment or vote for it to monitor the status of this issue.

Related

How to zoom using CTRL+Wheel in Visual studio 2022?

I used to use CTRL + Wheel to zoom in or out in previous version of Visual Studio.
I moved to the latest release (2022), but this feature has disappeared.
I tried to reset the keyboard scheme, but it still only scrolls when using the wheel.
How to restore/enable this behavior?
An extension actually disabled the OOB behavior : Tweaks for Visual Studio.
Disabling it solved the issue.
Also possible to specify this behavior in the extension settings.

Visual Studio 2017 debug + double click on a component will not jump/create to the code

When I double click on a button in the designer while debug is running,
it doesn't bring me to to Button1_Click event (nor create it if not assigned).
Double click works in design mode of course,
but all previous VS: 2010, 2008, 2013 did have this behavior in debug mode.
(at least, in default setting)
Yes, it is not a good habit(?),but i really could use it.
Is it possible to enable this action in the debug mode in 2017?
Thanks in advance.
Picture:
In design-time, double click on the button will jump/create to the click() code.
But if i do the same thing # running debug mode, nothing will happen.
I think I could repro this issue in VS2010, but in VS2013 and VS2017, it really has no this feature. Maybe I use the latest vs2013 update version.
I help you report this issue to the product team here:
https://developercommunity.visualstudio.com/content/problem/147191/visual-studio-2017-debug-double-click-on-a-compone.html
You could add your comment and vote this issue in above developer community site.

Visual Studio's Toolbox is empty

I am using visual studio 2015. I have my toolbox open and I checked on Show All. I unchecked this an now my entire toolbox is empty except for the General Tab (which there is nothing in). I tried resetting the toolbox but that did not fix the problem. Has anyone encountered this before? If so, what was the fix? Thanks.
Try right clicking in the toolbox and select 'show all'... I hope this help. =)
you can also start /reset
Thank you for posting.
Could you please capture some screenshots for me?
From your description, it seems that your issue might be related with IDE. I suggest you to try to execute the following command.
Devenv.exe /SafeMode
Devenv.exe /ResetSettings
If you have any concern, please feel free to let me know.
Best Regards,
I just had the same thing happen to me in Visual Studio 2022 with a .NET 6 WinForms application. After updating VS 2022 to version 17.2.0, my Toolbox entries were blank when I tried to use them to drag and drop into the designer of a project I had just recently created in version 17.1.x.
I ended up fixing this by:
Right-click the Toolbox
Select Choose Items from the resulting context menu
Press the Reset button in the resulting Choose Toolbox Items dialog
Press the OK button when the reset process completed.
I have that problem still after using repair in VisualStudio Instaler. But find solution her : https://thinkaboutit.be/2012/10/my-toolbox-is-empty/
. The localization off that files can be in diffrent places, for VS 2022 i find her: C:\Users\YourUserName\AppData\Local\Microsoft\VisualStudio\17.0_dbab3d69
That files are hiden.
I had the same problem. I have tried with right click on the design windows and add " Toolbox" (SSIS Toolbox in my case). This worked for me.
In the case of an SSIS toolbox not appearing. On the top ribbon menu click on View -> Other Windows -> SSIS Toolbox, this will show the toolbox with SSIS related items.
SSIS Menu image
I had a similar problem(Visual Studio 2022). None of the solutions solved my problem. Eventually my problem was solved by repairing the visual studio.
Go to Start >> All Programs >> “Visual Studio 2022” >> “Visual Studio Installer”. Now, click Visual Studio Installer.
After clicking repair options progress options open. The repair will take some minutes to complete.
I encountered the same problem and solved it by:
closing the toggled/opened toolbox
opening any windows form [designer]
re-opening the toolbox
toolbox components will be reloaded again
I don't know why this bug exists, but I fixed mine using the steps below:
Right click on toolbox -> Show All -> Check.
Wait it to load the controls, then click OK
Rigth click on Toolbox and select -> Show All -> Uncheck
This is an old question but I could fix it easily by just stopping the program running.
If you run your app to test it the toolbox will be empty until you stop the debugger!
In my case, I had opened with ctrl+alt+x. I noticed in the newer versions of VS, there is some confused crossover of toolboxes. In my case, it opened the SSRS toolbox, which was not applicable to my SSIS file.
Closed that, right-clicked in design area, and chose SSIS Toolbox. This opened a toolbox called "SSIS Toolbox" rather than just "Toolbox". All fixed.
I just right-clicked on toolbox area and choose "show all" :) Now it works
Just restart visual studio and it will pop right back
In Visual Studio 2019 you can just right click the dark area inside the toolbox and select "Reset Toolbox".
This will remove custom-added controls or any other auto-detected control, and you will be left only with the standard controls.
The issue should be fixed without completely reseting Visual Studio's settings.

Resharper: Ctrl-Backspace deletes just one subword of a CamelCaseWord

When I have the text:
new ResharperFeature
And I press Ctrl-Backspace, I get:
new Resharper
And I want:
new
This issue exists only on my work PC. It must be misconfigured. What is the setting that I can change to get the "normal" behavior?
Note: I verified that this is a R# problem by suspending R#. The problem went away.
Go to ReSharper > Options > Environment > Editor, and deselect Use CamelHumps
Note that this will also affect Ctrl+W/Ctrl+Shift+W (Extend/Shrink Selection) and Ctrl+Left/Right
This is a known bug in Visual Studio 2010. https://connect.microsoft.com/VisualStudio/feedback/details/533093
Hope it will be fixed for VS 2012

F12 no longer works in Visual Studio

This is driving me crazy. Ever since I installed ReSharper 4, F12 no longer seems to work. If you look at the all the ReSharper short cuts in the Goto sub menu Declaration doesn't have any assigned!
The only way I can go to declaration is by using Alt and ` and then selecting Declaration.
I have tried un-installing and re-installing ReSharper with no luck, I have also, in ReSharper option asked it to use the default Visual Studio Key Bindings but that doesn't to work either.
Interestingly, when I do use Alt and ` I actually get two entries for the Declaration option.
Has anyone come across this problem?
I am using Visual Studio 2005 SP1.
I ran into the same issue and resolved it by first resetting my Visual Studio keyboard mappings:
Tools > Options > Keyboard > Reset
Then going into the ReSharper options and applying the scheme:
Resharper > Options > Visual Studio Integration > Apply Scheme
Update:
For VS2017 onwards:
Tools > Options > Environment > Keyboard > Reset
For Resharper 2017.2:
Resharper > Options > Environment > Keyboard & Menus > Keyboard Shortcuts > Apply Scheme
I have had a few occasions where Resharper and Visual Studio keybindings got mixed up and I had problems sorting them out.
If it is only one or two bindings you care about then you can change them by going to the
Tools->Customize->Keyboard menu option.
For ReSharper 8 and Visual Studio 2012:
Tools > Options > Keyboard > Reset
Then going into the ReSharper options and applying the scheme:
Resharper > Options > Environment > Keyboard & Menus > (Select Visual Studio under Keyboard Shortcuts) > Apply Scheme > Save
I had this problem and it was resolved by following the steps described in the picture:
Open Visual Studio Tabs on the path: Tools>>Options>>Keyboard
Open Visual Studio Tabs on the path: Resharper>>Options>>Keyboard & Menus and Do the following:
And Then Reopen the path above and do the following:
Finally, close the Visual Studio and open it.
I had this issue in VS2015 using Resharper 9.1.3, I tried Ryan's answer but it still didn't work.
After doing the steps Ryan outlined, I clicked F12 where Resharper asks What do you want to do?, I select Use Visual Studio commands. Still doesn't work.
Tools > Options > Keyboard > Select ReSharper.ReSharper_GotoNextHighlight from command list box
Change Shortcuts for selected command to F12 (Text Editor), click Remove and OK.
After this it works!
Try simple way to enable it, press Fn + Esc key of the keyboard.
It is possible that you have enabled Fn mode (Blue Keys) on your keyboard which overrides default behavior of functional keys including F12.
I had the same problem with VS2013 and Resharper 9. I have a code like this:
gridList.Method1();
gridList.Method2();
I then right-click on any of gridList and click Find Usages (or just use Shift+F12) but it says "Usages not found" even though it is just one line away! Sometimes VS restart would help, sometimes it wouldn't. It looks like clearing the cache of Reshaper helps though: Resharper -> Options -> Environment -> General -> Clear Caches. This needs VS to be restarted, but then it started working as expected.
My problem was that I couldn't use the command "Alt + F12" when trying to "peek definition" in Visual Studio. I found out through another forum-thread that it was Nvidia's GeForce Experience that overrides some of the "Alt" shortcuts and uses them for their functionalities with screen recordings etc.
What solved it for me, was going into the GeForce Experience settings and switch off the use of in-game overlay:
Alternatively, if you want to use the overlay, you can just change the short cut commands.
For ReSharper Ultimate 2017.3.3 and Visual Studio 2017:
Tools > Options > Tools > External Sources > Default Visual Studio Navigation > Save
I ran into this problem after an organizational change that caused my windows profile to change. I tried the solutions listed above, but nothing seemed to work.
Here is how I fixed it (brute force worked!)
NOTE: Steps listed are for VS 2012 and ReSharper 7.1.3
Uninstalled Re-Sharper
Exit visual studio, ensure the process devenv.exe is no longer there in the running processes (was there in my case and I had to do a "End Process Tree" from Task Manager)
Fired up VS 2012, and from the menu Tools -> Options -> Environment -> Keyboard selected Visual C# 2005 (or any other setting you love) and pressed Reset
Shutdown VS again (and ensure devenv.exe has been killed in Task manager)
Re-installed re-sharper
Best of luck!
These steps solved it for me:
Uninstall keyboard in Device Manager
Re-insert your keyboard usb
"Web Essentials"
Add or update visual studio "Web Essentials" You can find it at:
Menu>>Tools>>Extensions and Updates
I hope this will save your time. It worked for me.
ReSharper added a crap 'good' new thing that they now call a feature: Smart Go To Declaration. As dumb as it may sound, it comes enabled by default: crap 'good'.
The feature is described on the link provided from here but honestly at least it should've keep it disabled, not reinvent the wheel. It also tells you how to disable that crap 'good' feature.
Sometimes it has noting to do with Visual Studio at all. Be sure your keyboard has its function key setting of the keyboard itself to send the F12 function to Visual Studio. It is an easy thing to miss.
I had just installed Pulover’s Macro Creator and F12 was set as the global hotkey to pause a macro. It was intercepting the keypress before it had a chance to get to VS.
Solution is to change that hotkey to something else. I chose Ctrl-F12. The input box is on the top right of the Pulover window.
Update 2020. I had the same problem and also tried a lot of ways, but that was still didn't working... [VS 2015, ReSharper 2019.3.1]
But, like Andrius said:
Resharper -> Options -> Environment -> General -> Clear Caches. This needs VS to be restarted, but then it started working as expected.
Summary is: (try steps above) + Resharper..-> Clear Caches + VS restart. Hope this will be useful

Resources