I see all these examples in Visual Studio Code where you can pull up a pane with the 10 (or fewer) suggested solutions. But I can't get that in Visual Studio. And I can't find anything about how other than saying Ctrl + Enter should do it.
I've also found on my system that it requires Ctrl+Alt+ instead of just Alt+ in Visual Studio 2022 for the other commands. So maybe something is wrong with my Copilot installation although I didn't do anything other than install it.
Related
Problem picture
Environment:
Windows10 Professional Visual Studio 2017 Unity 2017.4.12f1
I changed the default installation path of Visual Studio 2017 and installed it successfully.
The install path as follows:
D:\win10\Program\visual_studio\2017
However, in the Build setting of Unity, it still can't find my Visual Studio 2017.
How can I solve the problem? Thanks~
Go to Edit > Preferences, and select your Visual Studio to be the preferred external editor. Use Browse if Visual Studio is not listed. More info here.
You need to install windows 10 SDK
https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/
Here's a third answer. I just bumped in to this, and checked that yes VS was the preferred editor, so I went to open up VS to try uninstalling and reinstalling the GameDevWithUnity workflow, but VS popped up a dialog saying I needed to reboot my computer before installation could complete. So it seems like VS was stuck in the middle of an upgrade, which makes it reasonable that Unity couldn't find an appropriate version. I rebooted and everyone is happy.
I'm trying to make use of Visual Studio's Emacs keybindings. In particular EmacsWordNext, I tried first mapping to Ctrl-Right, hit Assign and OK it didn't work, hitting Ctrl-Right doesn't do anything. I thought maybe because of the key conflict so I tried a different combo, one that didn't conflict, but same. I tried other Emacs binding but none did anything. I thought it was my Visual Studio on my machine, so I tried it on another machine but same thing...
Using Visual Studio 2015 Community Edition.
What am I missing? Any ideas?
HI this links below discuss similar issues you can try the solution there .
Using Emacs bindings in Visual Studio Community 2015
I apologize as this may seem as bit of a general question.
I have developed a couple of VB programs using Visual Studio 2010 Professional and others on Visual Studio 2013 Ultimate. While I have not done any work in about a month with either version of Visual Studio, I thought I would go in and start work on a new project.
After entering some code in Visual Studio 2010 using WinForms, I found I was unable to run the code in the debugger (pressed the start button and F5).
It acted like it would start, then it just stopped and returned back to my code.
I thought I would try it on another program that was completed and working a couple of months ago, but I had the same issue present itself. Attempting to use Visual Studio 2013 had the same effect.
Any ideas from anyone? Has anyone else experienced this same issue recently? Once again, I do apologize for the lack of examples here, but I'm not sure what I can include to show the problem.
IMO, you should try resetting visual studio settings (and a restart may solve the issue)
you can try following
do it via visual studio -> tools -> import export settings
or you can run this command devenv /resetuserdata
or checkout this http://msdn.microsoft.com/en-us/library/ms241273.aspx
In Visual Studio 2010 you can assign keyboard shortcuts for moving lines up and down.
I can't find these commands in 2012.
Have they been renamed or removed? Is there any way, out-of-the-box, to move lines using ALT + ↑↓? (I'm not buying ReSharper.)
This command is a part of Productivity Power Tools.
The 2012 version was released in November 2012. You can find it here:
Productivity Power Tools for Visual Studio 2012
Nothing happened to it, these commands don't exist in VS2010 either. Check what add-ins you've got installed.
Not sure what it does, but consider Edit.ScrollLineUp/Down. Default binding is Ctrl+Up/Down arrow.
i've created binding for Visual Studio's Edit.BriefBookmarkDropx commands:
Edit.BriefBookmarkDrop1: Ctrl+Shift+1
Edit.BriefBookmarkDrop2: Ctrl+Shift+2
Edit.BriefBookmarkDrop3: Ctrl+Shift+3
...
Edit.BriefBookmarkDrop9: Ctrl+Shift+9
Using Tools -> Options -> Keyboard:
Except that when i hit Ctrl+Shift+2, nothing happens:
i know Microsoft likes to obfuscate Visual Studio features. What's the secret trick that i'm missing?
Note: i am installed DPack into Visual Studio Professional - an addon that provides brief bookmarks (and a number of other essential features). Do not confuse this for an answer to my question:
you cannot install addons into Visual Studio Express
you cannot install addons into the Visual Studio Shell
my question isn't about addons
Bonus Reading
MSDN: How to: Use Bookmarks with Brief Emulation (Visual Studio 2008)
Numbered Bookmarks addon for Visual Studio 2005
DPak Numbered Bookmarks
It took four years, but i figured it out. Everything i was doing was correct. The only issue is that Visual Studio is stupid. Here's how to configure Visual Studio to drop a Brief bookmark:
How's that different from what i showed in the question?
Fails Use new shortcut in: Global
Works Use new shortcut in: Text Editor
By default any keys you bind in the Global space do nothing.
Which begs the question why the option is there, and the default? But usability is not something Visual Studio team prides itself on.