Skip to content

Commit 46f722d

Browse files
authored
Merge pull request #8424 from MicrosoftDocs/main637976702639447289sync_temp
Repo sync for protected CLA branch
2 parents af40d68 + b86931f commit 46f722d

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

.github/workflows/stale-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
pull-requests: write # for actions/stale to close stale PRs
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/stale@v5.1.1
21+
- uses: actions/stale@v4.0.0
2222
with:
2323
repo-token: ${{ secrets.GITHUB_TOKEN }}
2424
stale-issue-message: 'Thanks for sharing your feedback. We apologize for our delayed response. Due to the sheer volume of feedback in our repo, we have decided to prioritize the newest issues and are automatically closing our oldest issues with an Issues bot. If you believe your feedback is still actionable, then either respond directly in this issue or open a new documentation issue and we’ll review. If no activity occurs in the next 14 days, this issue will be closed.'

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
pull-requests: write
1414

1515
steps:
16-
- uses: actions/stale@v5.1.1
16+
- uses: actions/stale@v4.0.0
1717
with:
1818
repo-token: ${{ secrets.GITHUB_TOKEN }}
1919
days-before-pr-stale: 14
Loading

docs/ide/reference/options-text-editor-all-languages.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Options, Text Editor, All Languages
33
description: Learn how to use the General page in the All Languages section to change the default behavior of the Code Editor within Visual Studio.
44
ms.custom: SEO-VS-2020
5-
ms.date: 11/04/2016
5+
ms.date: 09/01/2022
66
ms.topic: reference
77
f1_keywords:
88
- VS.ToolsOptionsPages.Text_Editor.JavaScript.General
@@ -56,6 +56,8 @@ This dialog box allows you to change the default behavior of the Code Editor. Th
5656
5757
A grayed checkmark is displayed when an option has been selected on the General options pages for some programming languages, but not for others.
5858

59+
:::image type="content" source="media/tools-options-text-editor-all-languages-general.png" alt-text="Screenshot of the Options dialog box that shows the General settings for all programming languages in the text editor.":::
60+
5961
## Statement Completion
6062

6163
**Auto list members**
@@ -109,6 +111,10 @@ When selected, the mouse cursor changes to a pointing hand as it passes over a U
109111

110112
When selected, displays the **Navigation bar** at the top of the code editor. Its dropdown **Objects** and **Members** lists allow you to choose a particular object in your code, select from its members, and navigates to the declaration of the selected member in the Code Editor.
111113

114+
**Automatic brace completion**
115+
116+
When selected, Visual Studio provides a closing parenthesis when an open parenthesis is typed.
117+
112118
**Apply Cut or Copy commands to blank lines when there is no selection**
113119

114120
This option sets the behavior of the editor when you place the insertion point on a blank line, select nothing, and then Copy or Cut.
@@ -117,7 +123,7 @@ This option sets the behavior of the editor when you place the insertion point o
117123

118124
- When this option is cleared, the Cut command removes blank lines. However, the data on the Clipboard is preserved. Therefore, if you then use the Paste command, the content most recently copied onto the Clipboard is pasted. If nothing has been copied previously, nothing is pasted.
119125

120-
This setting has no effect on Copy or Cut when a line is not blank. If nothing is selected, the entire line is copied or cut. If you then Paste, the text of the entire line and its endline character are pasted.
126+
This setting has no effect on Copy or Cut when a line isn't blank. If nothing is selected, the entire line is copied or cut. If you then Paste, the text of the entire line and its endline character are pasted.
121127

122128
> [!TIP]
123129
> To display indicators for spaces, tabs, and line ends, and thus distinguish indented lines from lines that are entirely blank, select **Advanced** from the **Edit** menu and choose **View White Space**.

0 commit comments

Comments
 (0)