Skip to content

Commit e7dc2e9

Browse files
Learn Build Service GitHub AppLearn Build Service GitHub App
authored andcommitted
Merging changes synced from https://github.com/MicrosoftDocs/visualstudio-docs-pr (branch live)
2 parents 5cbdd76 + 59bb7f2 commit e7dc2e9

5 files changed

+21
-4
lines changed

docs/ide/creating-solutions-and-projects.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Create projects & solutions"
33
description: Create Visual Studio solutions and projects and use them to store artifacts, including source code files, bitmaps, icons, and component and service references.
4-
ms.date: 10/03/2024
4+
ms.date: 11/12/2024
55
ms.topic: how-to
66
f1_keywords:
77
- vs.openprojectfromweb
@@ -62,6 +62,21 @@ If you have a file that applies to multiple projects, like a readme file for the
6262

6363
Starting with [version 17.7](/visualstudio/releases/2022/release-notes), you can compare files in Solution Explorer by using the right-click context menu options. For more information, see [The file comparison tool](use-solution-explorer.md#the-file-comparison-tool) in [Learn about Solution Explorer](use-solution-explorer.md).
6464

65+
## Copy files between Visual Studio instances
66+
67+
With Visual Studio version 17.12 and later, you can now copy and paste code files and folders between different Visual Studio instances using the Solution Explorer.
68+
69+
1. Select the desired file or folder in Solution Explorer.
70+
1. Copy or cut the selected file or folder using **Ctrl+C** or **Ctrl+X**.
71+
1. Switch to another Visual Studio instance where you want to paste the file or folder.
72+
1. Paste the file or folder using **Ctrl+V** to include those files or folders in your new solution.
73+
74+
All copied changes will be accurately reflected in the file system.
75+
76+
:::image type="content" source="media/vs-2022/copy-between-visual-studio-instances-using-solution-explorer.gif" alt-text="Copy files or folders between Visual Studio instances using Solution Explorer." lightbox="media/vs-2022/copy-between-visual-studio-instances-using-solution-explorer.gif":::
77+
78+
In addition to copy and paste, you can also drag the files and folders from one instance of Visual Studio to another.
79+
6580
::: moniker-end
6681

6782
## Create a .NET project that targets a specific version of the .NET Framework

docs/ide/find-code-changes-and-other-history-with-codelens.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,12 @@ You can also view the file-level indicators for an entire file.
7575
> [!NOTE]
7676
> File-level indicators are not available for C# and Visual Basic files.
7777
78-
To get more details about a change, right-click the item. Depending on whether you're using TFVC or Git, there are options to compare the versions of the file, view details and track the changeset, get the selected version of the file, and email the author of that change. Some of these details appear in **Team Explorer** if you have it enabled; otherwise, these details appear in **Git Changes**.
78+
To get more details about a change, right-click the item. Depending on whether you're using TFVC or Git, there are options to compare the versions of the file, view details and track the changeset, get the selected version of the file, and email the author of that change. Some of these details appear in **Team Explorer** if you have it enabled; otherwise, these details appear in **Git Changes** tab, and might also appear on the horizontal scrollbar at the bottom of the editor.
7979

8080
You can also see who changed your code over time, which can help you find patterns in your team's changes and assess their impact.
8181

82+
Starting in Visual Studio 2022 version 17.12 Preview 2, you can show or hide file-level indicators on the editor's horizontal scrollbar. To hide the indicators, open **Tools > Options > Text Editor > Advanced**, and then disable the **Show file level CodeLens indicator** option. This option affects visibility for file types that have the file-level CodeLens control in the bottom editor scrollbar such as XAML, HTML, and CSS, and does not affect files that contain inline CodeLens.
83+
8284
### Find changes in your current branch
8385

8486
Your team might have multiple branches, for example a main branch and a child development branch, to reduce the risk of breaking stable code. You can find out how many people changed your code and how many changes were made in the main branch by pressing **Alt**+**6**.
Loading
Loading

docs/ide/whats-new-visual-studio-2022.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "What's new in Visual Studio 2022"
33
titleSuffix: ""
44
description: Discover new features in Visual Studio 2022, including answers to questions and AI consultations while you code with a subscription to GitHub Copilot.
5-
ms.date: 08/13/2024
5+
ms.date: 11/12/2024
66
helpviewer_keywords:
77
- "Visual Studio, what's new"
88
- "what's new [Visual Studio]"
@@ -15,7 +15,7 @@ ms.topic: whats-new
1515
---
1616
# What's new in Visual Studio 2022
1717

18-
**Updated for the 17.11 release.** See [full release notes](/visualstudio/releases/2022/release-notes) | View [product roadmap](/visualstudio/productinfo/vs-roadmap/)
18+
**Updated for the 17.12 release.** See [full release notes](/visualstudio/releases/2022/release-notes) | View [product roadmap](/visualstudio/productinfo/vs-roadmap/)
1919

2020
>[!div class="button"]
2121
>[Download Visual Studio 2022](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta)

0 commit comments

Comments
 (0)