Context
I am using VS 2022 for a month or more. I tried to get used to its menu alignment and submenu placement, but now I am giving up. It is still a continuous distraction point and productivity killer for me.
I do not know if it is the VS 2022 application itself or some Windows 11 thing, and can not recall how VS 2019 behaved on Windows 10...
Question
Is there any way to configure how the menu items are aligned and which direction the submenu opens?
Based on Adrian's valuable comment and How to revert back Visual Studio menu alignment blog post:
Following the instructions the blog article above (use Tablet PC Settings -> "Other" tab -> Handedness) unfortunately, when I bring up the Tablet PC Settings, there is only one tab: "Display", so there is no "Other" tab with handedness settings on my machine...
...however based on this handedness idea, I found the registry setting: MenuDropAlignment (HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows). This seems to be a WPF thing too, and its value was '1' in my machine, do not ask why... maybe somewhere in the new Windows 11 setup, I answered a question being left handed :-)
This does not change the fact, that WPF and VS 2022 behaves weird. It seems all other applications (like Windows Shell, Office ) disregard this setting, and regardless its value of 1, behaved normally.
However VS 2022 "honors" this setting, and behaves counterintuitive, so I set the value to 0, and bingo, now VS 2022 behaves just like any other application.
Related
What is the inline hints on/off shortcut in visual studio 2022?
I checked these checkboxes and it works but the shortcut Alt+F1 not work. (Visual Studio Community 2022 (64-bit) - Preview
Version 17.2.0 Preview 2.1)
I found your question because I was having the same issue. I think I've figured out what's going on.
Are you coding in C# or C/C++ ?
If you're doing C#, HOLDING DOWN the alt-F1 keys will TEMPORARILY show ALL the types of hints available; i.e. those you haven't told it to show all the time. When you release alt-F1 the 'extra' hints will disappear. If, as in your image, you've chosen to show almost everything all the time, holding down alt-F1 probably won't display anything different. (try diabling some of the stuff below the first line and see if there's a difference when you hold down alt-F1)
On my system it reacts rather slowly; if you just tap quickly you might not see any change.
(if that doesn't work, you might want to check to see if any extensions you're using are overriding the alt-F1 shortcut)
If you're using C/C++ the inline hints works a bit differently. Here alt-F1 or ctrl-ctrl can TOGGLE hints.
The options settings for C/C++ are located in "Text Editor/ C/C++ / IntelliSense", and the list of inline hint settings are quite a bit more limited than those listed for C#.
On vanilla Visual Studio 2022 press ctrl twice.
If you are using Visual Assist press Alt + F1
I have seen this question asked many times, however the answers do not seem to apply to Visual Studio Community 2022 (64-bit): how can I disable the pop-up boxes that appear whenever you hover over variables or functions? This functionality is enabled by default and is incredibly annoying.
Note that I am not referring to auto-completion, just the pop-ups when hovering.
In the hours I have spent researching this problem I have seen references to File/Preferences, the '%APPDATA%\Code\User\settings.json' file and many other suggestions, but none seem to apply to this version of Studio.
I am coding in C# however I believe this is a problem with the editor in all languages.
Are you talking about Tooltips? There is no standard way in the UI, but Mads Kristiansen did make an extension to do this. The bad news is he does not appear to have updated it for VS 2022. The good news is that the code is available online:
For mac;
Click to "VÄ°SUAL STUDIO" (on top left corner),
Click "Extensions",
Click to "Installed" button on top middle,
Disable z.Ned Core Debugger"
I am having an issue within the razor view in Visual Studio 2012. For some reason, most of the time when I am trying to edit a style property, my keyboard freezes and doesn't allow me to type anything.
<section style="height: 15[Try to edit here]">
For instance, trying to add in a zero or 'px' where the "Try to edit here" has been placed above is impossible as the keyboard freezes.
I have ReSharper 7.1 installed, I'm not sure if that is the culprit?
Closing the tab and re-opening it fixes the issue, but it then re-occurs later on (not sure if there is a pattern as to when it re-occurs)
This happens to me often. I just switch tabs and come back and it doesn't happen(for sometime of course :-)). It could be some kind of unresolvable bug although i would suggest that you uninstall ReSharper and try again to see if it gets fixed.
It happens to me and my other colleagues as well.
I have found it to be linked to having a floating code window(s). Unlike the floating window for something like Find Results (without a title bar), these appear almost like another instance of Visual Studio. These do not come to the front when the main Visual Studio Window is selected. I have found the keyboard stops responding only on these windows if there is a Find Results kind of floating window open. When the problem occurs, clicking on another VS window and come back sorts it.
In earlier versions of VS, any pulled code windows appeared without a thick title bar and window controls box.
I tried posting images of the two kinds of floating windows but don't have enough reputation to do so! Let me know if it is confusing and I'll try to clarify.
This may not be the only way for this problem to occur but this is what I've observed consistently in the last few weeks of using Visual Studio 2012. I have C# environment settings with Resharper 7 and Reflector installed.
So i'm using Visual Studio 2010 with a dual monitor setup and I like to have my Build/Team -explorer tab on my other screen.
But the the problem I am raging with is the following:
"sketch" of the problem: http://pastebin.com/X8K3ihGJ
If i'm coding and I switch to the word doc on screen 1 (it pops to the front (y) )
But if i then want to click on the build explorer on screen 2, the vs main screen on screen 1 goes to the front.
Is there anyway it's possible you can set the visual studio windows' on top state's independent from each other?
It's a minor issue but it's hurting me all day :)
Thx!
Try the Productivity Power Tools extension. Dock the build explorer in a floating tab well and enable the "enable independent floating tab well" option in the Document Tab Well settings. This will allow windows to be on top independent of each other.
In Visual Studio, you are able to dock code windows in horizontal and vertical tab groups (something you can also do with tool windows).
However, when doing so you may end up with a lot of redundant screen space. What would be ideal would be if you could mix docking orientations for code windows. This is possible with tool windows in Visual Studio 2010. Here is an image showing the feature used for tool windows:
My question is: is it possible to get this same functionality with the code windows - i.e. being able to mix horizontal and vertical docking, like with the tool windows shown? I've heard rumours that its possible, but I've been unable to find any truth in that.
I too wish this was a naitive feature in visual studio, but there is one workaround by using the 'floating tab group' feature of visual studio
Move the visual studio main window out of the way (maybe to another monitor, or to smallest area of the monitor needed to see the tooling windows)
"Tear out" or Right Click > Float on the desired tab
Position the tab to your desire (I suggest using WinSplitRevolution, via codinghorror)
Repeat, note that you can move a tab to an existing 'floating' tab group
And voila!
There are some setbacks, some commands will pop up over the main tooling window instead of your current tab group etc. but its still pretty nice. I'm not sure if there's any changes coming in VS2012, but I haven't heard about anything related.