I'm having a really annoying issue with visual studio 2012.
During Debug I was used to look at the results of objects setting breakpoints and then moving mouse over the object and start exploring.
Now on my laptop that has a screen width of 1280px, it's not possible because the variable values are not wrapped, and the box goes completely out of the screen.
see the picture below:
and I'm not able anymore to click on the plus sign on the far left to view all the elements of the IEnumerable, or List...etc..
Is there some settings I have to modify to make it work also on 1280px screen?
At the root level, it (a DataTip dialog) has an unpin icon. Click the icon and the dialog floats above any open windows, and you can drag the dialog to a comfortable place, so you can expand to view all the elements in the IEnumerable (hopefully 1280px is enough).
View data values in Data Tips in the code editor
1920px (or higher) is a better resolution.
Related
Is it possible to get the window tabs in a vertical row? That way I can navigate to way more windows directly, using the mouse. I know there are paid tools available, but using them is not an option in my working environment...
I fear this will cost me some precious evenings, making an add-in myself. Can anyone give me a head start? What are the best starting points for making a SSMS add-in like this? Or even better, is there an existing project I can use as a starting point?
If you don't want to spend money on Tab Studio, then you can still have your tabs vertically.
Just click on the 'Solutions Explorer' on the top tool bars (or ctrl+alt+L), then drag the appearing window, and nest it into the left of the management studio window, the same way as Object Explorer is there by default.
It will list all the files in the 'project' vertically, which will happens to be all your tabs on the top.
When using Visual Studio 2015 Community Edition my cursor frequently disappears when I perform the Ctrl+. shortcut to resolve missing dependencies. For example, if I am creating a new Entity Framework entity and want to add the [Required] attribute to one of my properties:
Type [Required]. The attribute gets a red squiggly underline.
Click Ctrl+. to bring up the suggested imports
Select the using System.ComponentModel.DataAnnotations option using the arrow keys
Press Enter to select it and import the using statement
Sometimes I can continue coding without any issues. But most of the time my cursor disappears and I have to click back on the code editor to get my cursor back.
It happens to me on several different computers using Windows 7, Windows 8.1, or Windows 10. I've tried resetting my VS2015 configurations to default, but it didn't seem to help. The only other thing I can think of that might be worth mentioning is that I'm use the Dark theme.
Has anyone else experienced this? Is there a setting change so that the editor keeps focus, or a keyboard shortcut to get the cursor back? It isn't the end of the world to use the mouse but I never had to do it in 2013 so it is slightly annoying.
I ran into the same issue, and found that if I went to my mouse properties and changed the default pointer for Text Select to one with white in it, I didn't lose the pointer in the editor. I don't know if this'll solve your issue, but it helped with mine.
I've had this problem as well, for me it seemed to be a glitch with the touch screen capabilities on my laptop. The cursor would disappear when using the track pad and moving into the work area in VS, and come back when I moved it outside to like solution explorer or similar.
Easily resolved by tapping the screen.
I had the missing cursor issue in VS 2015 Community Edition and it turns out the culprit was the Gotomeeting client software running on my desktop. I was accessing VS 2015 in an RDP session and as long as Gotomeeting was running on the desktop running the RDP client my VS 2015 cursor in the RDP session would disappear randomly.
I had the problem that the blinking cursor completely disappeared in Visual Studio 2017 (and probably other places as well). Found this old block post, that helped me:
I found the cause of the problem. I had also noticed that I did not have a text cursor (caret) in programs like Windows Live Mail. Somehow my caret size got changed to zero. The solution in Windows 7 was to go to Control Panel, Ease of Access Center, Make the computer easier to see, and under Make things on the screen easier to see set the thickness of the blinking cursor to 1 (mine was displaying a blank field). After applying the change, the text cursor displayed fine in Visual Studio Editor and Windows Live Mail.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/c7ba185e-1840-4649-984e-c12d5525baa2/cursor-not-visible-in-visual-studio-editor?forum=vseditor
None of the (many across web) posted solutions for the disappearing cursor worked. I found a solution that works for me go to:
Tools/Options/Environment/General/Window layout
there are 2 radio buttons:
Tabbed Documents
Multiple Documents
You must select one or the other. I switched to Multiple Documents and this solved the problem.
Details: this problem manifests when changing the focus to any other open window/application via Alt+Tab. On return, Vis Studio has no cursor visible. Ctrl+Tab is a sorry workaround, yet effective. But this fix is totally sat for me.
Try pressing the "insert" button. You might need to hold down the "fn" key for this.
The Navigate Backward (Ctrl+-) and Forward (Ctrl+SHIFT+-) buttons on the IDE use to be controlled by the mouse lateral Back/Forward buttons in VS 2010.
In VS 2012, the mouse buttons only works in some cases, like going back after clicking in "Go To Definition" in a method call. They are not attached to the IDE buttons.
Trying to fix that, I've installed this plugin: Mouse Navigation
Well, it works fine until you use the "Go To Definition", after that, the embedded VS Back/Forward mouse functionality start to conflict with the plugin, resulting in messy behavior!
Am I the only one with this problem? I've tried to Google it, but I've found nothing.
This is really annoying! I hope someone can help me to solve that.
Edit:
As you can see at the marked answer, the plugin have been fixed by its developer thanks to this topic. The last version (2.2.0) is working fine.
Some clarifying:
Visual Studio (2012) separates the normal navigation from "click to go" navigation.
Normal navigation: mouse click anywhere in code editor, tab change also.
Click to go navigation: Go to definition, search result click. It is controlled by the buttons named: "Browse Back / Next" "Previous/Next Definition, Declaration or Reference". You can find it in the View custom toolbar.
The default VS mouse back/forward buttons are attached to the "Browse Back / Next" buttons, not to the Navigate back/forward.
The VS plugin Mouse Navigation sets the mouse buttons to the Navigate back/forward. The only remaining problem is that because VS doesn't consider "click to go" as normal navigation, when you click to go to a definition and try to go back using the Ctrl+- or mouse back, you will not return to the last position, but to the previous "Normal navigation" position.
My suggestion to the plugin developer is to try to make VS consider "click to go" navigation as normal ones, completely solving this issue.
I just updated the Mouse Navigation extension to improve reliability of the commands. For some reason I never updated the extension to properly use the new IMouseProcessorProvider interface when I migrated from Visual Studio 2008 to Visual Studio 2010, and that bug never bothered me enough to revisit the extension until today.
You should find that version 2.1.0 behaves properly in Visual Studio 2010-2013.
The reason it only half works without the plug-in is because the mouse forward/back buttons do not map to navigate forward/back but rather some other navigation command (which never made sense to me as to what it was doing).
The way I solved this problem is to use my mouse software (SetPoint from Logitech in my case) to bind mouse forward/back to CTRL+SHIFT+- and CTRL+- respectively, while Visual Studio is in the foreground. This leaves my back/forward buttons working correctly in other applications (web browser) but while in Visual Studio I get the expected functionality.
Also, Visual Studio 2013 does seem to have better mouse back/forward control... though I haven't been using it long enough to be able to say whether the problem is truly fixed.
I am working on a project in Visual Studio 2013, and recently I have found that the controls on any form simply refuses to move when I use the mouse to drag and drop. Instead it lets me drag, then as soon as I move the cursor it snaps back into place. Then when I let go, it selects the control the cursor is hovering over.
The keyboard keys work fine, but I don't see why the program has simply changed the rules on me from a convenient system to an annoying and tedious one.
The controls are not locked and the problem effects every form. If it helps, I use Citrix as a thin client on my computer to access school programs.
Hi can you please check the CSS styles
setting:Tools--> Options-->HTML Designer-->CSS styling--> then check
the "Change position to absolute for controls added using toolbox,
paste or drag and drop" check Box.
It should work
I've just recently started using VS2008 for a new tools project, and have been spending a lot of time in Eclipse/Java. The one thing I am missing is the thing I could have sworn was in VS2005 the last time I worked with it - the class outline.
I'm speaking of the basic outline in Eclipse, where you can see the class members, methods, etc and click on them to navigate to them.
The only thing that sounds like it might be it (but is not) is the Class View.
Any help?
This is probably the closest addin that you'll find that has it:
Source Code Outliner Power Toy
(The window on the left is what it adds to Visual Studio)
alt text http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=SourceCodeOutliner&DownloadId=3493
"You can dock the Source Code Outliner anywhere, like to the left side of the Visual Studio window next to the Code Editor window."
"Click a method or variable name in Source Outliner and the code associated with what you clicked displays near the top of the Code Editor window."
JetBrains Reshaper.
This is what I had to do:
Open the Object Browser (View->Object Browser). It will open as a tab.
Right click the tab and select the "dockable" option. Then it will open as a window floating around.
I have 2 monitors, so in one of them I have visual studio, and in the other I put the Object Browser window. If you click something in the Object Browser, it will take you to where it is defined in the visual studio editor.
Not the same as the Eclipse outline (I miss it too), but this is the closest to it I'have found without adding pluggins.
Try this menu option:
View > Class View
The default keyboard shortcut is
Control + Shift + C