ReSharper set GoToNextHightlight to navigate to the errors first - resharper

ReSharper manages to find the errors without compiling but they don't seem to have higher priority than other hightlights . When I have a file with a lot of warnings (like unknown css class) I want to ignore, I can't use F12(go to next highlight) shortcut without going through all warnings. Of course I can use the scroll bar to go that error but it would be better to use keyboard shortcut. Any suggestions for this this?

Depending on your keymap:
if using the R# keymap, press ALT + F12
if using the VS keymap, press SHIFT + ALT + PgDn
This will invoke the "Go to next error" command, which ignores warnings, suggestions, etc.

Related

Resharper show potential fixes (ctrl + .) not working with stylecop

I very often use ctrl + . resharper shortcut to fix errors in my code. It works perfectly with "standard" errors, but after installing StyleCop.Analyzers I can no longer open suggestions with a shortcut. IDE even suggest to use ctrl + ., but after pressing it either nothing happens or a window with other unconnected options pops up. In order to fix anything I need to hover with mouse and then correct context menu shows up. For example:
After pressing ctrl + . what I can see is:
How do I fix it so I can use ctrl + . shortcut with StyleCop errors?
I'm using VS2019 with ReSharper 2020.

Visual Basic 2013 - Pressing ALT gets me out of code

I just installed my Visual Basic and this is a problem I couldnt find an answer to. Everytime I press ALT it gets me out of code, and because I use SHIFT+ALT to change keyboards a lot while writing code, this is really disturbing to have to click in code again to be able to write.
Any ideas ?
Are you referring to the normal Windows way of accessing the menu via keyboard? This has nothing to do with Visual Studio; it will work similarly in almost any Windows application.
E.g. pressing Alt+F will open the File Menu etc. Just pressing Alt will highlight the menu (you should see the shortcut letters underlined for each item) and pressing a letter key will then open the menu. Instead, press Alt again to return to what you were doing before.

Visual Studio 2012 Ctrl + Alt + Arrow keys not working for shortcut assignments?

I just started using Resharper and am liking it so far, except it changed the way Alt-Up and Down moved lines of code around in the text editor, Resharper wants that to mean Goto Next / Previous method. I wanted to keep it as the original, and assign the Gotos as Ctrl + Alt Up / Down or Alt Gr + Up / Down.
It seems that assigning commands to Ctrl + Alt + Up / Down arrows keyboard shortcut is not possible in Visual Studio, can anybody confirm this? Why is this I wonder.
This is not specific to Resharper I don't think, can anybody that's not using Resharper try to assign some command to Alt Gr + Up / Down arrows and see if it works?
Warning: If you have Intel Graphics running, the Ctrl + Alt + Up / Down arrows are set to flip the screen around 180° - which I never use. You can disable this by right clicking on the desktop, selecting Graphic Options, Hot Keys and Disable. I have disabled these but I wonder if they are interfering still?
found it! I had this issue with CTRL+ALT+LEFT OR RIGHT ARROWS and I killed the igfxHK Module process and it worked! Even though I'd already disabled Hot Keys that didn't do it, the module was still holding on to the key combination for some reason.
Hope this helps.
I had the same issue with Visual Studio Code. Killing the igfxHK module fixed it.

Death by tooltip - stylecop/resharper/intellisense - how to I get intellisense tooltips to show?

Annoying crap. I am using VS 2012; I have ReSharper and StyleCop (SC) installed. If a StyleCop warning is enabled on a line of code, I can't get rid of it unless I fix it. I want to handle the SC warning later and see the intellisense tooltip on one of the class references defined. How the hell do I do this? I do NOT want to temporily disable SC, I only want to tell it to "shut up" for a second so I can view intellisense.
Using Resharper you can quickly disable the analysis of the current file (including the StyleCop analysis) with the following keyboard shortcut
Ctrl + Shift + Alt + 8
Check the intellisense tooltip and after that re-activate the analysis again using the same shortcut.

Accessing suggested actions in VS2012 using keyboard

When I've added a reference to a class but forgot to add using directive, R# would suggest automatic insertion of it. I'd access that by alt+enter.
Now, I'm on a system without R# and that forces me to use the mouse to unfold that tiny thingy to unfold a suggestion menu. How can I do that from the keyboard? Is it possible at all?
What you're looking for is to expand the Smart Tag menu.
This can be done by pressing the Ctrl + Period (.) shortcut.
You can also use Alt +Shift + F10 shortcut for this.
Edit:
And if by any chance the combo above doesn't work for you, you can re-activate it like this:
1 .
Tools > Customize > Keyboard... (notice the Keyboard... button is at the bottom right of that screen)
2 . Find the View.ShowSmartTag command and set it back to the Ctrl + Period (.) shortcut.

Resources