Visual Studio 2013 - cannot edit files with my keyboard - visual-studio-2013

I'm not using Resharper.
New install (Professional 2013) and new user to Visual Studio.
I check out a file and then double click on it to edit it. The editor brings up the file. I can cut and paste into the file but I'm unable to edit the file using the keyboard (and the cursor keys don't work inside the file). If I 'Open With' Notepad I can make changes.
The only modification I've made to Visual Studio is to add the Oracle Developer Tools for Visual Studio Copyright (c) 2005, 2013 add on.

Related

Auto Complete Not Working In New Visual Studio 2022 For UNITY

So I have had visual studio 2019 and I used it with unity. I needed to delite it and reinstall it becouse of somthing and when I reinstalld it I installed new 2022 version. Ever since auto complete isn't working.
I have downloaded the "Game development with Unity" modifyer and selected Visual Studio Community 2022 in unity preferences but it still isn't working.
Does anyone have an idea what is wrong maby?
In the Unity Editor, select the Edit > Preferences menu. On the left, select the External Tools tab.
Select Browse... from the dropdown list.
Navigate to the C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE directory and select devenv.exe. Then select Open.
Close the Preferences dialog to complete the configuration process.
And make sure that you have Microsoft Visual Studio installed in package manager:
check this link: https://learn.microsoft.com/en-us/visualstudio/gamedev/unity/get-started/getting-started-with-visual-studio-tools-for-unity?pivots=windows
there are 2 fixes that I think will help you:
You need to enable IntelliSense by opening Tools -> Options -> Search for Intellisense, and head over to the C# Section and enable features like Show completion list after a character is typed.
For good practice, you should also install the C# packages for Visual Studio 2022.

Open Visual Studio Solution file only in VS 2019

I was using .NET Core API project with 2.2 Framework in VS 2017. Now we have migrated all the .NET Core API Projects to 3.0 Framework.I have both VS 2017 and 2019 installed in my machine. When we click on ".sln" file it gets openend in VS 2017. But i want the .sln file to be openend in VS 2019.
Please let me know the changes required to achieve this.
Thanks
For one, you can delete the solution file and create a new one dotnet new sln.
Assuming you have .NET Core 3.0 sdk installed and active (in case of globa.json being present), it should create you an *.sln file for VS 2019.
Alternatively edit your sln and change the first few lines to
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29512.175
MinimumVisualStudioVersion = 10.0.40219.1
thats the sln header VS 2019.4 (16.4) creates on new solutions
Right-click on the .sln file
From the popup menu click on "Open with" and in the submenu click on "Choose another app"
In the splash window select "Microsoft Visual Studio Version Selector", don't forget to tick the "Always use this app to open .sln files" checkbox, and click "OK".
If prompted to save changes to the "devenv.sln" file, save changes.
In this way, a double click on a .sln should open it with the version of Visual Studio that was used to create it.
Open Visual Studio 2019 and select File-->Open than browse to the solution file that should be ported to VS2019 to open it.
After the solution file was successfully opened in VS2019, chose to Save All.
From now on, your solution file will be opened with VS2019 once you doubleclick solution file in file explorer.
P.S.
Editing solution file manually to update VS version is not recommended because it does not respect possible structural changes of the solution file that may appear between VS versions.
Or,
create a shortcut to the .sln file
right-click the shortcut, choose Properties, General
Opens with, click Change and select Visual Studio 2019
(note - this only changes the shortcut, not the .sln itself, but it's a quick safe fix)

Open visual studio project in its respective version instead of Visual Studio 2017

Ever since I installed Visual Studio 2017, it now wants to be the one to open all of my projects. Before installing 2017, if I double clicked a VS 2010 .csproj or .sln in Explorer (Windows 10), it would open in VS 2010. But now opening a project for all previous versions opens in 2017. Even if I right-click and choose Open With > Microsoft Visual Studio Version Selector it always chooses 2017. To open it in the correct version of Visual Studio, I have to first open VS and then browse to the project to open. This is a pain when I don't remember which version the project should open with and just want to click it and open it. Can I reset it to open a project in the version of visual studio it belongs with?
I confirmed how this is meant to work with the team. The only requirement is that you set Microsoft Visual Studio Version Selector as the Default App for .SLN files in Windows. That app launches the version of Visual Studio specified in the solution file. If you crack open a .sln file in an editor, you'll see a section that specifies the version of VS that should be used. It'll look something like this:
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.25909.2
One thing to keep in mind though is that value will change whenever a different version of Visual Studio writes to the solution file. E.g., if you create a solution in VS 2010, close VS 2010, launch VS 2017, open the same solution, add a project to it (this is what forces VS to make a change to the .sln file), the version in the solution file will then change to VS 2017. I.e., the last version of VS to write to the solution file, will be set as the version to be used when opening it.
If you're finding it's not working as described, we likely have a bug here. Let me know if that's what you think is happening.

No Template for LINQ to SQL in VS 2017 Community

I tried to open a DBML file recently, and when it didn't open correctly, I found out that I had to install the LINQ to SQL option for VS2017 Community. I used the Visual Studio Installer to add the LINQ to SQL option. When I reopened VS 2017 Community, DBML files opened correctly, but I still could not find the template for new DBML files (LING to SQL files).
How can I enable that template?
Here's what helped me:
Quit Visual Studio 2017
Launch the Visual Studio Installer
Choose to modify the Visual Studio Installation
Visual Studio Installer
Click on "Individual Components", scroll down and click the checkbox next to "LINQ to SQL tools"
Individual Tools
Click "Modify" and then restart Visual Studio 2017
You may need to update your version of Visual Studio before the modify option displays.

visual studio 2013, 2015 how to show full file path

I am trying to find the setting in VS IDE to show full file path, and I found this solution, the right way to achieve my gold. It is source from msdn.microsoft.com.
Dung Le.
Install the File Path On Footer extension
Tested, Quick and easy. Download, double-click to install, restart Visual Studio IDE. Support for Visual Studio 2015, 2013, 2012, 2010
This lightweight extension lets you display the full path of the file at bottom of Visual Studio's Editor.

Resources