I have always used Ctrl + D to duplicate lines in Microsoft Visual Studio Community 2019
Version 16.8.5.
But recently, for seemingly no reason, it doesn't work. It doesn't even respond. It doesn't work when text is selected or not.
I was wondering if anyone else was encountering this issue. I wonder if it has something to do with an update or something. Any information or help to fix this issue is appreciated.
In VS keyboard options, check what is assigned to the Ctrl+D shortcut and Edit.Duplicate command:
Related
I am using Visual Studio Community and Visual GDB to code and debug STM32 projects.
The problem:
When I type something that is known to Intellisense, (path, variable or anything really), the suggestions come up briefly and then immediately disappear therafter. For that split second I can see that Intellisense has the correct suggestions, but TAB or ENTER does not work since the suggestions disappear very quickly.
Does anyone know how to fix this?
Thank you
You might try to disable any extensions in Visual Studio.
I had the same problem, surfed around and read in some places that disabling extensions would work.
So I disabled them one by one and the problem was gone.
Microsoft Visual Studio Community 2022 (64-bit)
Version 17.0.6
I have been using Ctrl+D for years in Visual Studio however today duplicate no longer works. This has been working in vs 2022 for several months.
When I check the edit menu it shows Ctrl+E,V
I also noticed Alt+Up Alt+Down no longer work to move lines.
Any ideas how these shortcuts can be reset or what may have caused them to change?
I managed to fix the issue by clicking reset mapping scheme.
Tools
Options
Environment
Keyboard
Reset
No idea how they got messed up in the first place because I have never touched these settings. Perhaps it was an extension.
My scheme still showed (Default) before clicking reset.
I'm using version 17.2.3 of Visual Studio Community. Going in and doing a reset didn't do anything for me. I found that Ctrl-C, Ctrl-V was the only thing that worked on a WinForm to duplicate either a single control or multiple controls.
Visual Studio Newb but trying to get used to it.
Right off the bat trying to comment out a few lines of a powershell script.
If I highlight the lines and then do a 'Ctrl+K, Ctrl+C', not letting go of Ctrl(But I did try it every which way).
I get the message -
The key combination(Ctrl+K,Ctrl+C) is bound to command (Comment
Selection) which is not currently available.
Or in the menu its greyed out.
Comment Greyed Out in Menu
Haha, this just seems like such a standard thing to be able to do...I can't believe it has to be turned on somehow in Visual Studio.
I'd appreciate any advice on what I'm doing wrong... thank you!!
I recently upgraded to Visual Studio Enterprise 2019 (version 16.0.3) and I have been having serious problems with autocomplete. It is so slow that I type faster than it is able to update, and frequently after I type out a complete and correct language keyword such as foreach the autocomplete drop down won't appear until moments before I press space which in many cases causes the keyword foreach to be corrected to some nonsense without warning.
This hasn't been a problem for me with any other version of Visual Studio going back to Visual Studio 97, and it is driving me nuts. I have no addons installed.
Is anyone else having this problem, and if so, what if anything were you able to do to resolve it?
You should open window defender then add exclusion folder for visual studio 2019.
I also add my folder source code.
Hope this help to who need
Hello I found that checking out this checkbox speeds ups VisualStudio InteliSence a lot...enter image description here
Upgrading to 16.1.4 seems to have resolved the problem.
I'm working with some clunky old (massive) Microsoft Access databases and, as a result, Visual Studio 2010 is regularly crashing on me.
When I try to use the Data Source Configuration Wizard it basically freezes and tells me that 'Visual Studio is Busy' and then doesn't come back. Not only this, but it locks the Access database.
I've tried Ctrl + Break and Ctrl + End with no joy, I always have to kill it with task manager, and I lose anything I haven't Saved/Commited since my last build!
Does anybody know of a more eloquent way of telling Visual Studio that you've changed your mind?
Thanks
As far as I know, when it says it's busy, you can't interrupt it. It might be a problem with your installation. Did you try it on a freshly installed Windows + Visual Studio?
Another thing you can try is download Visual Studio 11 Developer Preview and see if they have fixed the stability issue.