I recently installed ReSharper within Visual Studio 2017. Whenever I hover over method that has a lot of overloads, half my screen is being covered with suggested candidates.
This is rather impractical as I cannot keep editing the method that I put my cursor on nor can I select portions of the method, since the overlay covers the method in question.
Is there a setting within ReSharper where I could turn off this feature?
Maybe there is a setting that would even limit the number of rows?
Within ReSharper's IntelliSense settings, I disabled Automatically show parameter info after x-milliseconds, as well as Display signature at once. Prior to that I checked that Limit the number of candidates to 5 was active.
However, none of the options had any effect on the resulting screenshot below:
Screenshot of half the screen covered with possible candidates - removed the code and possible candidates - hopefully this doesn't make it even more confusing than it is already ;-)
Related
I started a new job a few weeks ago.
In my previous job, I was working with 2 screens. I know have 3 screens here (what an upgrade!)
I have always been bothered by a small bug, and since today I don't have a lot of code to do, I decided to finally try to solve this problem. The layout I want to achieve is pretty simple (see screenshots below): One file on the left screen, and another one on the right.
What happens is the following:
When I enter debug mode, the layout stays the same except one thing... the separation between two files (which is usually right between the two screens). Annoying for breakpoints and stuff, so I resize it, debug, and...
When I leave debug mode and go back to debug, the layout go back to what it was... except the separation which moved as well!
And last but not least, if I close Visual Studio and open it again, my two file views are now expanded on both screens, separated horizontally (<- this one is new, I had never seen that before).
Every time I go to debug mode, or go back to design, I would resize it to fit my two screens. And then it would shift again at the next debug. After some time it shifts with a smaller amount of pixels. Then, it just stops shifting, as if it learned that it shouldn't change. Until at some point, it goes back to normal and forces me to resize again.
I tried to use add-ons such as Perspectives or Layout O Rama , but they didn't keep any information about the two Code windows. No matter how I was saving them (let's say, one would be 20% of the left screen, and the other would expand on 2 screens), it would ANYWAY go back to the strange, shifted layout.
I also tried Visual Studio Productivity Power Tool and it's terrible. If I dock a code tab as a Window on my second screen, and dock for example the Find Results on it, it would be separated or reorganized every time I switch to Debug/Design
Has anyone experienced that yet? Am I the only one feeling that my Visual Studio is a pet who will learn how to do his own layout as time goes?
Thank you!
Also, as an image is always better than a description, here are a few screenshots:
Here, the normal, regular layout, with the red line being where my screens stop. Perfect, al dente layout allowing me to use the best of my two screens
Here, the one happening every time I go to debug. Notice how ONLY the code windows shifted (the bottom part with error list on the left and find results on the right didn't change at all )
And this is the one I get when I restart my IDE, forcing me to recreate my layout all the time
Thanks a lot!
Does anyone know if there is a way to keep the Intellisense QuickInfo from disappearing after 10 seconds? After I type a period to get the member list, I usually like to read the QuickInfo for the highlighted member. However, it automatically disappears after 10 seconds and I usually can't finish reading the content in that short time.
BTW, when I refer to "QuickInfo," I'm referring to the box that shows up to the right of the member list which contains the complete member signature and a description. See http://msdn.microsoft.com/en-us/library/hcw1s69b.aspx.
There is probably no proper solution to your problem, because the tooltips are controlled by the system not the visual studio process. But you can print the screen to capture the tooltip and then paste it to paint like in this answer.
How to increase the time tooltips remain visible in Visual Studio
I would like to create an extension for visual studio in which some UI behaviors are overridden. I have found many examples of adding UI components to VS, but none where they change them. A very good example of what I want to do is make it so that each tab takes up exactly 50 pixels in width (at the top of the editor window group). Is this possible? If so, what would be a good resource for me?
For your specific example, the Document Tab Well extension inside the Productivity Power Tools pack lets you set minimum and maximum widths for the editor tabs, so you could force it to 50 pixels if you want.
In general, there is no uniform way you can override or replace UI components in Visual Studio. A few components were designed to be easily replaced, while some components cannot be replaced, but many aren't replacable. The general problem with replacing components is it fails the "what if two extensions want to do it test", because it's not clear which replacement wins. Thus most extension points are add-only.
My advice: if you want to replace a specific component, ask a separate question on Stack Overflow and hopefully somebody can chime in on how to customize that particular component.
The TFS pending changes view (VS2010) is annoying to use, especially the fact that the hierarchy view is always expanded. Further when I check in a few files, the pending changes view is refreshed and all the items are expanded and is selected. Considering there are multiple solutions in the workarea (which are functionally and logically disjoint) and at any time I could be working on multiple tracks, the auto refresh, expand and select forces me to go through each node and collapse and deselect it.
A bit of searching brought me to this page where there specify a workaround to have the Hierarichal view selected by default using macros. Extending this method to resolve the above issue didn't materialize as I believe the events of node collapse and deselection are not getting recorded.
Is there any solution to this issue similar to say the VS Power Tool which provided an exceptional feature 'Collapse All', that collapses all the projects in the solution!
Your complain is not new, many many people complained about that to MS for year, unfortunately there's no real solution.
There's no workaround for the expand/collapse issue, but to improve the experience when you deal with many changes in multiple solutions you can activate the "filter by solution" item to only show the pending changes of the current opened solution. It reduces the number of items, hoping things will get better for you.
As Dave Shaw said the experience was totally refactored in VS11, it's much better now.
I'm using VS 2008 and I notice a lot of wasted screenspace, such as the Error List upgrade I propose below. Is there any way to change the way panels are rendered to make them smaller? Or maybe some addon to VS that does what it does but with compacted panels.
Current Error List - Only 2 errors visible
Future - 6 errors visible in same space
I don't know how to customize panels the way you're asking, but I've found my own way of dealing with panels I don't need all the time.
I keep panels like errors, search results or output set to Auto-Hide. That way they can take up a pretty decent amount of space when I want to see the lists, but they're not visible at all the rest of the time. Works well for me. When I'm not using one of those panels the only windows that are visible are the solution explorer and the code editor.
If you can afford more monitors, get them. You won't have to worry about auto-hide and you'll have enough room for it all.