Skip to content

Commit f955768

Browse files
committed
updated line endings topic, and all notes regarding resetting settings
1 parent 13c8f17 commit f955768

10 files changed

+157
-162
lines changed

docs/ide/building-and-cleaning-projects-and-solutions-in-visual-studio.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ manager: ghogen
3232
By using the procedures in this topic, you can build, rebuild, or clean all or some of the projects or project items in a solution. For a step-by-step tutorial, see [Walkthrough: Building an Application](../ide/walkthrough-building-an-application.md).
3333

3434
> [!NOTE]
35-
> The UI in your edition of Visual Studio might differ from what this topic describes, depending on your active settings. To change your settings, open the **Tools** menu, and then choose **Import and Export Settings**. For more information, see [Personalize the Visual Studio IDE](../ide/personalizing-the-visual-studio-ide.md).
35+
> The UI in your edition of Visual Studio might differ from what this topic describes, depending on your active settings. To change your settings, for example to **General** or **Visual C++** settings, open **Tools**, **Import and Export Settings**, and then choose **Reset all settings**.
3636
3737
### To build, rebuild, or clean an entire solution
3838

@@ -75,7 +75,7 @@ By using the procedures in this topic, you can build, rebuild, or clean all or s
7575

7676
- On the menu bar, choose **Build**, **Build Solution** (CTRL+SHIFT+B).
7777

78-
When this check box is cleared, all projects, their dependencies, and the solution files are built when you run either of the preceding commands. By default, this check box is cleared.
78+
When this check box is cleared, all projects, their dependencies, and the solution files are built when you run either of the preceding commands. By default, this check box is cleared.
7979

8080
### To build only the selected Visual C++ project
8181

@@ -89,13 +89,13 @@ By using the procedures in this topic, you can build, rebuild, or clean all or s
8989

9090
- **Link Only** *ProjectName*
9191

92-
These commands apply only to the [!INCLUDE[vcprvc](../code-quality/includes/vcprvc_md.md)] project that you chose, without building, rebuilding, cleaning, or linking any project dependencies or solution files. Depending on your version of [!INCLUDE[vsprvs](../code-quality/includes/vsprvs_md.md)], the **Project Only** submenu might contain more commands.
92+
These commands apply only to the [!INCLUDE[vcprvc](../code-quality/includes/vcprvc_md.md)] project that you chose, without building, rebuilding, cleaning, or linking any project dependencies or solution files. Depending on your version of [!INCLUDE[vsprvs](../code-quality/includes/vsprvs_md.md)], the **Project Only** submenu might contain more commands.
9393

9494
### To compile multiple C++ project items
9595

9696
1. In **Solution Explorer**, choose multiple files that have can be compiled actions, open the shortcut menu for one of those files, and then choose **Compile**.
9797

98-
If the files have dependencies, the files will be compiled in dependency order. The compile operation will fail if the files require a precompiled header that isn't available when you compile. The compile operation uses the current active solution configuration.
98+
If the files have dependencies, the files will be compiled in dependency order. The compile operation will fail if the files require a precompiled header that isn't available when you compile. The compile operation uses the current active solution configuration.
9999

100100
### To stop a build
101101

@@ -105,12 +105,12 @@ By using the procedures in this topic, you can build, rebuild, or clean all or s
105105

106106
- Choose the Ctrl + Break keys.
107107

108-
## See Also
109-
[How to: View, Save, and Configure Build Log Files](../ide/how-to-view-save-and-configure-build-log-files.md)
110-
[Obtaining Build Logs](../msbuild/obtaining-build-logs-with-msbuild.md)
111-
[Compiling and Building](../ide/compiling-and-building-in-visual-studio.md)
112-
[Understanding Build Configurations](../ide/understanding-build-configurations.md)
113-
[Debug and Release Project Configurations](http://msdn.microsoft.com/en-us/0440b300-0614-4511-901a-105b771b236e)
114-
[C/C++ Building Reference](/cpp/build/reference/c-cpp-building-reference)
115-
[Devenv Command Line Switches](../ide/reference/devenv-command-line-switches.md)
116-
[Solutions and Projects](../ide/solutions-and-projects-in-visual-studio.md)
108+
## See also
109+
[How to: View, Save, and Configure Build Log Files](../ide/how-to-view-save-and-configure-build-log-files.md)
110+
[Obtaining Build Logs](../msbuild/obtaining-build-logs-with-msbuild.md)
111+
[Compiling and Building](../ide/compiling-and-building-in-visual-studio.md)
112+
[Understanding Build Configurations](../ide/understanding-build-configurations.md)
113+
[Debug and Release Project Configurations](http://msdn.microsoft.com/en-us/0440b300-0614-4511-901a-105b771b236e)
114+
[C/C++ Building Reference](/cpp/build/reference/c-cpp-building-reference)
115+
[Devenv Command Line Switches](../ide/reference/devenv-command-line-switches.md)
116+
[Solutions and Projects](../ide/solutions-and-projects-in-visual-studio.md)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ While you can construct a project yourself by adding the necessary files to it,
3636
That being said, solutions and projects are not required to develop apps in Visual Studio. You can also just open code that you have cloned from Git or downloaded elsewhere. For more information, see [Develop code in Visual Studio without projects or solutions](../ide/develop-code-in-visual-studio-without-projects-or-solutions.md).
3737

3838
> [!NOTE]
39-
> The descriptions in this topic are based on the Visual Studio Community edition. The dialog boxes and menu commands you see might differ from those described here, depending on your settings or Visual Studio edition. To change your settings, choose **Tools**, **Import and Export Settings**. For more information, see [Personalize the Visual Studio IDE](../ide/personalizing-the-visual-studio-ide.md).
39+
> The descriptions in this topic are based on the Visual Studio Community edition. The dialog boxes and menu commands you see might differ from those described here, depending on your settings or Visual Studio edition. To change your settings, for example to **General** or **Visual C++** settings, open **Tools**, **Import and Export Settings**, and then choose **Reset all settings**.
4040
4141
## To create a project from a project template
4242
1. There are multiple ways to create a new project in Visual Studio. On the Start Page, enter the name of a project template in the **Search project templates** box, or choose the **Create new project** link to open the **New Project** dialog box. You can also choose **File**, **New**, **Project...** on the menu, or choose the **New Project** button on the toolbar.

docs/ide/encodings-and-line-breaks.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Encodings and Line Breaks | Microsoft Docs"
2+
title: "Visual Studio encoding and line break characters | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
55
ms.reviewer: ""
@@ -24,14 +24,9 @@ ms.author: "gewarren"
2424
manager: ghogen
2525
---
2626
# Encodings and Line Breaks
27-
In Visual Studio you can use the **File/Advanced Save Options** settings to determine the type of line break characters you want. You can also change the encoding of a file with the same settings.
27+
The following characters are interpreted as line breaks in Visual Studio:
2828

29-
> [!NOTE]
30-
> If you have certain types of development settings (Visual Basic, F#, Web Development) you may not see **Advanced Save Options** on the menu. To change your settings (for example to General), open **Tools / Import and Export Settings**. For more information, see [Personalize the Visual Studio IDE](../ide/personalizing-the-visual-studio-ide.md).
31-
32-
In Visual Studio the following characters are interpreted as line breaks:
33-
34-
- CRLF: Carriage return + line feed, Unicode characters 000D + 000A
29+
- CR LF: Carriage return + line feed, Unicode characters 000D + 000A
3530

3631
- LF: Line feed, Unicode character 000A
3732

@@ -41,6 +36,18 @@ In Visual Studio you can use the **File/Advanced Save Options** settings to dete
4136

4237
- PS: Paragraph separator, Unicode character 2029
4338

44-
Text that is copied from other applications keeps the original encoding and line break characters. For example, when you copy text from Notepad and paste it into a text file in Visual Studio, the text has the same settings that it had in Notepad.
39+
Text that is copied from other applications keeps the original encoding and line break characters. For example, when you copy text from Notepad and paste it into a text file in Visual Studio, the text has the same settings that it had in Notepad.
4540

46-
When you open a file that has a different line break characters, you may see a dialog box that asks whether the inconsistent line break characters should be normalized and which type of line breaks to choose.
41+
When you open a file that has different line break characters, you may see a dialog box that asks whether the inconsistent line break characters should be normalized and which type of line breaks to choose.
42+
43+
You can use the **File**, **Advanced Save Options** dialog box to determine the type of line break characters you want. You can also change the encoding of a file with the same settings.
44+
45+
![Advanced Save Options dialog box](media/line_endings.png)
46+
47+
> [!NOTE]
48+
> If you don't see **Advanced Save Options** on the **File** menu, you can add it. Choose **Tools**, **Customize...**, and then choose the **Commands** tab. In the **Menu bar** drop-down list, choose **File**, then choose the **Add Command...** button. In the **Add Command** dialog box, under **Categories**, choose **File**, and then in the **Commands** list, choose **Advanced Save Options...**. Choose **OK** and then choose the **Move Down** button to move the command to any place in the menu. Choose **Close** to close the **Customize** dialog box. For more information, see [Customize menus and toolbars](../ide/how-to-customize-menus-and-toolbars-in-visual-studio.md#customizing_menu).
49+
50+
Alternatively, you can access the **Advanced Save Options** dialog box by choosing **File**, **Save /<file/> As...**. In the **Save File As** dialog box, choose the drop-down triangle next to the **Save** button and choose **Save with encoding...**.
51+
52+
## See also
53+
[Writing code in the editor](../ide/writing-code-in-the-code-and-text-editor.md)
Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "How to: Change Text Case in the Editor | Microsoft Docs"
2+
title: "Convert text to uppercase or lowercase in the Visual Studio editor | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
55
ms.reviewer: ""
@@ -17,30 +17,28 @@ author: "gewarren"
1717
ms.author: "gewarren"
1818
manager: ghogen
1919
---
20-
# How to: Change Text Case in the Editor
20+
# How to: change text case in the Editor
2121
You can use menu commands or keyboard shortcuts to convert the case of selected text to all upper case or to all lower case.
2222

2323
> [!NOTE]
24-
> The dialog boxes and menu commands you see might differ from those described in **Help** depending on your active settings or edition. To change your settings, choose **Import and Export Settings** on the **Tools** menu. For more information, see [Personalize the Visual Studio IDE](../ide/personalizing-the-visual-studio-ide.md).
24+
> The dialog boxes and menu commands you see might differ from those described in this article, depending on your active settings or edition. To change your settings, for example to **General** or **Visual C++** settings, open **Tools**, **Import and Export Settings**, and then choose **Reset all settings**.
2525
26-
## Procedure
27-
28-
#### To switch text to upper case
26+
## To switch text to upper case
2927

3028
1. Select the text you want to convert.
3129

3230
2. On the **Edit** menu, select **Advanced**.
3331

34-
3. To convert text to all upper case, choose **Make Uppercase**, or press **CTRL**+**SHIFT**+**U**.
32+
3. To convert text to all upper case, choose **Make Uppercase**, or press **Ctrl**+**Shift**+**U**.
3533

36-
— or —
34+
— or —
3735

38-
To convert text to all lower case, choose **Make Lowercase**, or press **CTRL**+**U**.
36+
To convert text to all lower case, choose **Make Lowercase**, or press **Ctrl**+**U**.
3937

4038
> [!TIP]
41-
> To revert to the previous case formatting before this change, select **Undo** from the **Edit** menu.
39+
> To revert to the previous case formatting before this change, select **Undo** from the **Edit** menu.
4240
43-
## See Also
44-
[Customizing the Editor](../ide/customizing-the-editor.md)
45-
[Text Editor Options Dialog Box](../ide/reference/text-editor-options-dialog-box.md)
46-
[Writing Code](../ide/writing-code-in-the-code-and-text-editor.md)
41+
## See also
42+
[Customizing the Editor](../ide/customizing-the-editor.md)
43+
[Text Editor Options Dialog Box](../ide/reference/text-editor-options-dialog-box.md)
44+
[Writing Code](../ide/writing-code-in-the-code-and-text-editor.md)

docs/ide/how-to-customize-menus-and-toolbars-in-visual-studio.md

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,12 @@ ms.author: "gewarren"
3434
manager: ghogen
3535
---
3636
# How to: Customize Menus and Toolbars in Visual Studio
37-
You can customize Visual Studio not only by adding and removing toolbars and menus on the menu bar but also by adding and removing commands on any given toolbar or menu.
37+
You can customize Visual Studio not only by adding and removing toolbars and menus on the menu bar, but also by adding and removing commands on any given toolbar or menu.
3838

3939
> [!WARNING]
40-
> After you customize a toolbar or menu, make sure that its check box remains selected in the **Customize** dialog box. Otherwise, your changes won't persist after you close and reopen Visual Studio.
40+
> After you customize a toolbar or menu, make sure that its check box remains selected in the **Customize** dialog box. Otherwise, your changes won't persist after you close and reopen Visual Studio.
4141
42-
**In this topic:**
43-
44-
- [Adding, removing, or moving a menu on the menu bar](../ide/how-to-customize-menus-and-toolbars-in-visual-studio.md#bkmk_addmenu)
45-
46-
- [Adding, removing, or moving a toolbar](../ide/how-to-customize-menus-and-toolbars-in-visual-studio.md#bkmk_addtoolbar)
47-
48-
- [Customizing a menu or a toolbar](../ide/how-to-customize-menus-and-toolbars-in-visual-studio.md#bkmk_customize)
49-
50-
- [Resetting a menu or a toolbar](../ide/how-to-customize-menus-and-toolbars-in-visual-studio.md#bkmk_reset)
51-
52-
## <a name="bkmk_addmenu"></a> Adding, removing, or moving a menu on the menu bar
42+
## Adding, removing, or moving a menu on the menu bar
5343

5444
1. On the menu bar, choose **Tools**, **Customize**.
5545

@@ -59,13 +49,13 @@ You can customize Visual Studio not only by adding and removing toolbars and men
5949

6050
- To add a menu, choose the **Add New Menu** button, choose the **Modify Selection** button, and then name the menu that you want to add.
6151

62-
![Customize dialog box showing how to add a menu](../ide/media/addmenu.png "AddMenu")
52+
![Customize dialog box showing how to add a menu](../ide/media/addmenu.png "AddMenu")
6353

6454
- To remove a menu, choose it in the **Controls** list, and then choose the **Delete** button.
6555

6656
- To move a menu within the menu bar, choose the menu in the **Controls** list, and then choose the **Move Up** or **Move Down** button.
6757

68-
## <a name="bkmk_addtoolbar"></a> Adding, removing, or moving a toolbar
58+
## Adding, removing, or moving a toolbar
6959

7060
1. On the menu bar, choose **Tools**, **Customize**.
7161

@@ -75,7 +65,7 @@ You can customize Visual Studio not only by adding and removing toolbars and men
7565

7666
- To add a toolbar, choose the **New** button, specify a name for the toolbar that you want to add, and then choose the **OK** button.
7767

78-
![Customize dialog box showing how to add a toolbar](../ide/media/addtoolbar.png "AddToolbar")
68+
![Customize dialog box showing how to add a toolbar](../ide/media/addtoolbar.png "AddToolbar")
7969

8070
- To remove a custom toolbar, choose it in the **Toolbars** list, and then choose the **Delete** button.
8171

@@ -84,43 +74,47 @@ You can customize Visual Studio not only by adding and removing toolbars and men
8474
8575
- To move a toolbar to a different docking location, choose it in the **Toolbars** list, choose the **Modify Selection** button, and then choose a location in the list that appears.
8676

87-
You can also drag a toolbar by its left edge to move it anywhere in the main docking area.
77+
You can also drag a toolbar by its left edge to move it anywhere in the main docking area.
8878

8979
> [!NOTE]
9080
> For more information about how to improve the usability and accessibility of toolbars, see [How to: Set IDE Accessibility Options](../ide/reference/how-to-set-ide-accessibility-options.md).
9181
92-
## <a name="bkmk_customize"></a> Customizing a menu or a toolbar
82+
## <a name="customizing_menu">Customizing a menu or a toolbar</a>
9383

9484
1. On the menu bar, choose **Tools**, **Customize**.
9585

96-
The **Customize** dialog box opens.
86+
The **Customize** dialog box opens.
9787

9888
2. On the **Commands** tab, choose the option button for the type of element that you want to customize.
9989

10090
3. In the list for that type of element, choose the menu or toolbar that you want to customize, and then perform one of the following sets of steps:
10191

10292
- To add a command, choose the **Add Command** button.
10393

104-
In the **Add Command** dialog box, choose an item in the **Categories** list, choose an item in the **Commands** list, and then choose the **OK** button.
94+
In the **Add Command** dialog box, choose an item in the **Categories** list, choose an item in the **Commands** list, and then choose the **OK** button.
10595

106-
![Add Command dialog box in Visual Studio](../ide/media/addcommand.png "AddCommand")
96+
![Add Command dialog box in Visual Studio](../ide/media/addcommand.png "AddCommand")
10797

10898
- To delete a command, choose it in the **Controls** list, and then choose the **Delete** button.
10999

110100
- To reorder commands, choose a command in the **Controls** list, and then choose the **Move Up** or **Move Down** button.
111101

112-
- To separate commands into groups, choose a command in the **Controls** list, choose the **Modify Selection** button, and then choose **Begin a Group** in the menu that appears.
102+
- To group commands under a horizontal line, choose the first command in the **Controls** list, choose the **Modify Selection** button, and then choose **Begin a Group** in the menu that appears.
113103

114-
## <a name="bkmk_reset"></a> Resetting a menu or a toolbar
104+
## Resetting a menu or a toolbar
115105

116106
1. On the menu bar, choose **Tools**, **Customize**.
117107

118-
The **Customize** dialog box opens.
108+
The **Customize** dialog box opens.
119109

120110
2. On the **Commands** tab, choose the option button for the type of element that you want to reset.
121111

122112
3. In the list for that type of element, choose the menu or toolbar that you want to reset.
123113

124114
4. Choose the **Modify Selection** button, and then choose **Reset** in the menu that appears.
125115

126-
You can also reset all menus and toolbars by choosing the **Reset All** button.
116+
You can also reset all menus and toolbars by choosing the **Reset All** button.
117+
118+
## See also
119+
[Personalizing the IDE](../ide/personalizing-the-visual-studio-ide.md)
120+
[Customizing the editor](../ide/customizing-the-editor.md)

0 commit comments

Comments
 (0)