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

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.

Related

Visual Studio 2022: Resharper - IntelliCode AutoComplete disappearing when typing

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.

VS2015: Tooltips stopped showing when hovering on variables in Immediate Window

I remember some time ago I could assign a variable in Immediate Window during debug and when hovering mouse over I could see a tooltip with member values just like when hovering over variables in the code.
Now this feature stopped working in my Visual Studio 2015. Did Microsoft remove this feature in VS2015 or I messed something up? Is there a setting for this somewhere in the menus?
EDIT: Because not everyone is so sure about this feature ever existing, I add a screenshot from Visual Studio 2012 where you can clearly see the tooltips for text typed in Immediate Window (here I use the variable web):
Update:
I test it in different VS version(VS2012/VS2013/VS2015/VS2017), it really has this issue in VS2015 or VS2017. But it has this feature in VS2012 or VS2013.
I report this issue to the product team here:
https://developercommunity.visualstudio.com/content/problem/55570/vs2015vs2017-tooltips-stopped-showing-when-hoverin.html
If possible, you could also share your comment there.

"Add Existing Item" feature disabled - how to enable / why does it happen?

I didn't use MSVS since v2008 (but I never was good at it). The version I'm talking about is 2012. I work mostly in Emacs, but for the team I must create MSVS projects and maintain them in a workable state. Now once I create a file, MSVS would not let me add it to the solution (click on "Project" in "Solution Explorer" -> context menu -> select "Add" -> "Add Existing Item" is grayed out.)
This used to work two days ago. Since then I've installed a plugin through NuGet that allows adding custom mime-types to IIS used in MSVS for ASP.NET projects. That was all the changes I've made.
How do I troubleshoot this? Why can this possibly happen? What could possibly be the reason for disabling this functionality?
EDIT
Sorry, it looks like it isn't possible to do it while "debugging" the project - somehow I must have fatfingered a debug session w/o noticing it. When I restarted the Studio, it prompted me about the open debugging session. After restarting the Studio the functionality was back. Still, it's strange you can't add files during debugging... or maybe I'm missing something.
I had the same problem today. The solution is to leave the debug mode in visual studio. Then the before grayed out menu point "Add New Item" project is available.
btw: you leave the debug mode in visual studio (2013) with Shift+F5 or click the red square in the gui.
Add Existing option is disable when you are in debug mode please stop debugging then try to add existing item.

Visual Studio 2010 events button has disappeared

Hi I have been working with visual studio 2010 ultimate all day developing an asp.net webforms application.
I just realized that on the properties for controls window the button for events is missing , the one that looks like a thunderbolt.
An hour ago that button was there and now somehow it has disapeared and I can't figure out how to make it visible again.
I have tryed reseting the visual studio settings and reseting the computer but nothing worked
How can I get the button back?
I had the same problem. This helped me.
1.Restart visual studio 2010.
2.Click and select a control in markup page(.aspx)(like
3.After selecting , Click "View" in menu and select "Property window".
Check the property box, Thunderbolt ll be available. It just happened for me!
If the above solution not working go on with this!
1.Select design view in markup(.aspx)
2.Select any individual control like a button or label..
3.Now, you will be able to see a ">" button on the right side? Click it.
4.Remember to select only one control./.now check your property window! Whoohoo..
Actually while the solution above works, it puts you through more steps than you need. You can resolve this famous disappearing thunderbolt by simply clicking on Design view, and then clicking back on Source view, then clicking again to select the control in source view.
The Thunderbolt icon and events for the control will magically reappear.
You do not need to restart Visual Studio, and you do not need to select anything while in Design view.
And now, for my RANT about this annoying bug:
Even though this is easy to resolve, it is a MAJOR inconvenience to developers in my opinion, because we have to do this silly workaround all the freaking time.
This is in fact a BUG in Visual Studio. It has existed since at least Visual Studio 2010 (many users have reported it here and in MS forums across this and all later versions of VS). I have confirmed that this bug still exists in the latest build of Visual Studio 2022. So clearly MS has no plans to fix it.
[Rant Mode Off]
Cheers,-=Cameron

How can I see the solution explorer in Visual Studio 2008 while debugging?

This is probably a really easy question, but I've spent too much time looking for the answer, so I'm putting my question here:
Whenever I run an app in Visual Studio 2008, my solution explorer disappears... any suggestions as to how I can find it?
Thanks :)
While in debug mode, go to the "View" menu and click "Solution Explorer". Or use Ctrl+W, S
When you are in Debug mode, you can always enable every part of the shell by going to View > Solution Explorer for example.
Remember that the layout of your shell changes between development mode and debug mode. You can save these changes if you want to (eg: when you reinstall Visual Studio) by using the Import/Export Settings in the Tools menu.

Resources