You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/containers/docker-compose-properties.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ The following table shows the MSBuild properties available for Docker Compose pr
34
34
|DockerComposeBaseFilePath|dcproj|Specifies the first part of the filenames of the Docker Compose files, without the `.yml` extension. For example: <br>1. DockerComposeBaseFilePath = null/undefined: use the base file path `docker-compose`, and files will be named *docker-compose.yml* and *docker-compose.override.yml*.<br>2. DockerComposeBaseFilePath = *mydockercompose*: files will be named *mydockercompose.yml* and *mydockercompose.override.yml*.<br> 3. DockerComposeBaseFilePath = *..\mydockercompose*: files will be up one level. |`docker-compose`|
35
35
|DockerComposeBuildArguments|dcproj|Specifies the extra parameters to pass to the `docker-compose build` command. For example, `--parallel --pull`. |
36
36
|DockerComposeDownArguments|dcproj|Specifies the extra parameters to pass to the `docker-compose down` command. For example, `--timeout 500`.|-|
37
-
| DockerComposeEnvFilePath | dcproj | The relative path to an .env file that's passed to `docker compose` commands via `--env-file`. See [Substitute with a .env file](https://docs.docker.com/compose/environment-variables/set-environment-variables/#substitute-with-an-env-file). | Empty |
37
+
| DockerComposeEnvFilePath | dcproj | The relative path to an .env file that's passed to `docker compose` commands via `--env-file`. See [Use the env_file attribute](https://docs.docker.com/compose/how-tos/environment-variables/set-environment-variables/#use-the-env_file-attribute). | Empty |
38
38
|DockerComposeProjectName| dcproj | If specified, overrides the project name for a Docker Compose project. | "dockercompose" + auto-generated hash |
39
39
|DockerComposeProjectPath|csproj or vbproj|The relative path to the Docker Compose project (dcproj) file. Set this property when publishing the service project to find the associated image build settings stored in the docker-compose.yml file.|-|
40
40
|DockerComposeProjectsToIgnore|dcproj| Specifies projects to be ignored by Docker Compose tools during debug. This property can be used for any project. File paths can be specified one of two ways: <br> 1. Relative to dcproj. For example, `<DockerComposeProjectsToIgnore>path\to\AngularProject1.csproj</DockerComposeProjectsToIgnore>`. <br> 2. Absolute paths.<br> **Note**: The paths should be separated by the delimiter character `;`.|-|
Copy file name to clipboardExpand all lines: docs/ide/reference/documents-environment-options-dialog-box.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Documents, Environment, Options Dialog Box
3
3
description: Learn how to use the Environments page in the Documents section to control the display of documents in the IDE and manage external changes to documents and files.
4
-
ms.date: 10/23/2023
4
+
ms.date: 9/26/2024
5
5
ms.topic: reference
6
6
f1_keywords:
7
7
- VS.Environment.Documents
@@ -33,7 +33,11 @@ ms.subservice: general-ide
33
33
---
34
34
# Options dialog box: Environment \> Documents
35
35
36
-
Use this page of the **Options** dialog box to control the display of documents in the integrated development environment (IDE) and manage external changes to documents and files. You can access this dialog box by clicking **Options** on the **Tools** menu and then selecting **Environment** > **Documents**.
36
+
Use this page of the **Options** dialog box to control the display of documents in the integrated development environment (IDE) and manage external changes to documents and files.
37
+
38
+
To access this dialog box, go to **Tools** > **Options** > **Environment** > **Documents**.
39
+
40
+
:::image type="content" source="media/documents-options.png" alt-text="Screenshot of the Documents section in the Options dialog box":::
37
41
38
42
**Detect when file is changed outside the environment**
Copy file name to clipboardExpand all lines: docs/ide/reference/options-text-editor-all-languages-scroll-bars.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Options, Text Editor, All Languages, Scroll Bars
3
3
description: Learn how to use the Scroll Bars page in the All Languages section to change the default behavior of the code editor scroll bars within Visual Studio.
@@ -76,11 +76,13 @@ The scroll bar has two modes: bar mode and map mode.
76
76
77
77
### Use map mode for vertical scroll bar
78
78
79
-
In *map mode*, when you click a location on the scroll bar, the cursor jumps to that location in the file instead of just scrolling up or down a page. Lines of code are shown, in miniature, on the scroll bar. You can choose how wide the map column is by selecting a value in **Source overview**. To enable a larger preview of the code when you rest the pointer on the map, select the **Show Preview Tooltip** option. Collapsed regions are shaded differently and expand when you double-click them.
79
+
In *map mode*, when you click a location on the scroll bar, the cursor jumps to that location in the file instead of just scrolling up or down a page. Lines of code are shown, in miniature, on the scroll bar. You can adjust the width of the scroll bar, that is, the map column, by selecting a value in **Source overview**. To enable a larger preview of the code when you rest the pointer on the map, select the **Show Preview Tooltip** option. Collapsed regions are shaded differently and expand when you double-click them.
80
80
81
81
> [!TIP]
82
82
> You can turn the miniature code view off in map mode by setting **Source overview** to **Off**. If **Show Preview Tooltip** is selected, you still see a preview of the code at that location when you hover your pointer on the scroll bar, and the cursor still jumps to that location in the file when you click.
83
83
84
84
## See also
85
85
86
-
-[How to: Customize the scroll bar](../how-to-track-your-code-by-customizing-the-scrollbar.md)
86
+
-[How to: Customize the scroll bar](../how-to-track-your-code-by-customizing-the-scrollbar.md)
87
+
-[Suggest a feature](https://aka.ms/feedback/suggest)
88
+
-[Report a problem](../how-to-report-a-problem-with-visual-studio.md)
Use the **IntelliSense** options page to modify settings that affect the behavior of IntelliSense for C#. To access this options page, choose **Tools** > **Options**, and then choose **Text Editor** > **C#** > **IntelliSense**.
21
+
Use the **IntelliSense** options page to modify settings that affect the behavior of IntelliSense for C#.
22
+
23
+
To access this options page, choose **Tools** > **Options** > **Text Editor** > **C#** > **IntelliSense**.
22
24
23
25
The **IntelliSense** options page contains the following options:
24
26
@@ -30,10 +32,14 @@ The **IntelliSense** options page contains the following options:
30
32
31
33
- Show completion list after a character is deleted
32
34
35
+
- Automatically show completion list in argument lists
36
+
33
37
- Highlight matching portions of completion list items
34
38
35
39
- Show completion item filters
36
40
41
+
- Automatically complete statement on semicolon
42
+
37
43
## Snippets behavior
38
44
39
45
- Never include snippets
@@ -76,6 +82,14 @@ The **IntelliSense** options page contains the following options:
76
82
77
83
Performs automatic object name completion for the members that you have recently selected.
78
84
85
+
## Show items from unimported namespaces
86
+
87
+
Performs completion for types and extension methods that you haven't imported yet with a `using` directive.
88
+
89
+
## Tab twice to insert arguments
90
+
91
+
Automatically inserts arguments when writing a method call. To use this feature, start writing a method call and press tab twice.
Copy file name to clipboardExpand all lines: docs/ide/signing-in-to-visual-studio.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.subservice: general-ide
11
11
---
12
12
# Sign in or switch Visual Studio user accounts
13
13
14
-
In this article, you learn how to sign in to Visual Studio, add and switch user accounts, update your profile, sign out of your account, and the benefits to signing in. If you are looking to learn how to use multiple accounts for sign-ins, check out our article, [Access multiple accounts associated with the Visual Studio sign-in account](sign-in-access-multiple-accounts.md).
14
+
In this article, you learn how to sign in to Visual Studio, add and switch user accounts, update your profile, sign out of your account, and the benefits to signing in. To learn how to access multiple user accounts in Visual Studio, see [Access multiple accounts associated with the Visual Studio sign-in account](sign-in-access-multiple-accounts.md). For guidance on how to add your public GitHub or GitHub Enterprise account to your Visual Studio keychain, see [Work with GitHub accounts in Visual Studio](work-with-github-accounts.md).
15
15
16
16
You can get subscription support and search the frequently asked questions about subscriptions, accounts, and billing [on our Subscription support page](https://visualstudio.microsoft.com/subscriptions/support/).
17
17
@@ -166,4 +166,11 @@ To sign out of all accounts:
166
166
167
167
You can also use the **Account Settings** dialog to sign out of all accounts.
168
168
169
-
::: moniker-end
169
+
::: moniker-end
170
+
171
+
## Related content
172
+
173
+
-[Access multiple accounts associated with the Visual Studio sign-in account](sign-in-access-multiple-accounts.md)
174
+
-[Work with GitHub accounts in Visual Studio](work-with-github-accounts.md)
175
+
-[Extend a trial version or update a license](how-to-unlock-visual-studio.md)
176
+
-[Sign in to Visual Studio with accounts that require multifactor authentication (MFA)](work-with-multi-factor-authentication.md)
Copy file name to clipboardExpand all lines: docs/ide/using-regular-expressions-in-visual-studio.md
+13-3Lines changed: 13 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ ms.subservice: general-ide
21
21
22
22
Visual Studio uses [.NET regular expressions](/dotnet/standard/base-types/regular-expressions) to find and replace text.
23
23
24
-
## Regular expression examples
24
+
## Regular expression syntax
25
25
26
26
The following table contains some regular expression characters, operators, constructs, and pattern examples. For a more complete reference, see [Regular expression language](/dotnet/standard/base-types/regular-expression-language-quick-reference).
27
27
@@ -47,15 +47,15 @@ The following table contains some regular expression characters, operators, cons
47
47
|Specify the number of occurrences of the preceding character or group. For more information, see [Match exactly n times](/dotnet/standard/base-types/quantifiers-in-regular-expressions#match-exactly-n-times-n).|{n}, where 'n' is the number of occurrences|`x(ab){2}x` matches "xababx"<br/>`x(ab){2,3}x` matches "xababx" and "xabababx" but not "xababababx"|
48
48
|[Match text in a Unicode category](/dotnet/standard/base-types/character-classes-in-regular-expressions#unicode-category-or-unicode-block-p). For more information about Unicode character classes, see [Unicode Standard 15.0 Character Properties](https://www.unicode.org/versions/Unicode15.0.0/ch04.pdf#G39).|\p{X}, where "X" is the Unicode number.|`\p{Lu}` matches "T" and "D" in "Thomas Doe"|
49
49
|[Match a word boundary](/dotnet/standard/base-types/anchors-in-regular-expressions#word-boundary-b)|\b (Outside a character class `\b` specifies a word boundary, and inside a character class `\b` specifies a backspace.)|`\bin` matches "in" in "inside" but finds no matches in "pinto"|
50
-
|Match a line break (that is, a carriage return followed by a new line)|\r?\n|`End\r?\nBegin` matches "End" and "Begin" only when "End" is the last string in a line and "Begin" is the first string in the next line|
50
+
|Match a line break (that is, a carriage return followed by a new line, or a new line only)|\r?\n|`End\r?\nBegin` matches "End" and "Begin" only when "End" is the last string in a line and "Begin" is the first string in the next line|
51
51
|Match any [word character](/dotnet/standard/base-types/character-classes-in-regular-expressions#word-character-w)|\w|`a\wd` matches "add" and "a1d" but not "a d"|
52
52
|Match any [whitespace character](/dotnet/standard/base-types/character-classes-in-regular-expressions#whitespace-character-s)|\s|`Public\sInterface` matches the phrase "Public Interface"|
53
53
|Match any [decimal digit character](/dotnet/standard/base-types/character-classes-in-regular-expressions#decimal-digit-character-d)|\d|`\d` matches "4" and "0" in "wd40"|
54
54
55
55
An example regular expression that combines some of the operators and constructs to match a hexadecimal number is `\b0[xX]([0-9a-fA-F]+)\b`. This expression matches "0xc67f" but not "0xc67g".
56
56
57
57
> [!TIP]
58
-
> In Windows operating systems, most lines end in "\r\n" (a carriage return followed by a new line). These characters aren't visible but are present in the editor and passed to the .NET regular expression service.
58
+
> In Windows operating systems, most lines end in "\r\n" (a carriage return followed by a new line). These characters aren't visible but are present in the editor and passed to the .NET regular expression service. When you deal with files from the web or from a non-Windows operating system, be sure to account for the possibility that they use new line only for a line break.
59
59
60
60
## Capture groups and replacement patterns
61
61
@@ -93,6 +93,16 @@ The following image shows a regular expression `(?<repeated>\w+)\s\k<repeated>`
93
93
94
94
For more information about named capture groups, see [Named matched subexpressions](/dotnet/standard/base-types/grouping-constructs-in-regular-expressions#named-matched-subexpressions). For more information about regular expressions that are used in replacement patterns, see [Substitutions in regular expressions](/dotnet/standard/base-types/substitutions-in-regular-expressions).
95
95
96
+
## Examples
97
+
98
+
| Pattern | Description |
99
+
| - | - |
100
+
|`int ([_A-Za-z][_A-Za-z0-9]*)`| Match single integer definitions. Identifiers begin with one uppercase or lowercase letter, followed by zero or more (indicated by `*`) letters or numbers. The identifier is captured as `$1` by the outer parentheses. |
101
+
| `(private|internal|public)*\s*([\w]+\s+)int\s+([_A-Za-z][_A-Za-z0-9]*)\s+=\s+[+-]+(\d)+` | Match C# integer declarations that are initialized to integer literals, capturing the various parts, including the access level, modifiers like `const` or `static`, the identifier, and the defined value. Note the use of `\s+` for at least one whitespace character, or `\s*` if whitespace might or might not occur. |
102
+
|`foreach\s*\(([\w\d]*)\s+([\w\d]*)\s+in\s+(.*)\)`| Match the opening line of a `foreach` loop. The literal parentheses are escaped with backslash (`\`). The various groups are captured as `$1`, `$2`, and `$3` by the unescaped parentheses. |
103
+
|`#define\s+([_A-Za-z][_A-Za-z0-9]*)`| Matches `#define` definitions (without the value, if any). The defined token is stored in `$1`. |
104
+
|`#include\s+["<](.*)[">]`| Match includes in a C++ source file. |
Copy file name to clipboardExpand all lines: docs/ide/work-with-github-accounts.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,9 @@ In this article, you learn how to add your public GitHub or GitHub Enterprise ac
15
15
16
16
## Adding public GitHub accounts
17
17
18
-
You can add your public GitHub account at any point, even if you haven't [signed into Visual Studio with a Microsoft account, work account, or school account](signing-in-to-visual-studio.md#sign-in-to-your-account).
18
+
You can add your public GitHub account at any point, after you've [signed into Visual Studio with a Microsoft account, work account, or school account](signing-in-to-visual-studio.md#sign-in-to-your-account).
19
+
20
+
If you have [GitHub Copilot installed](visual-studio-github-copilot-install-and-states.md), you can add a GitHub account by selecting **Add GitHub account to Visual Studio** from the [GitHub Copilot status icon](visual-studio-github-copilot-install-and-states.md#copilot-is-inactive), even if you haven't [signed into Visual Studio with a Microsoft account, work account, or school account](signing-in-to-visual-studio.md#sign-in-to-your-account).
19
21
20
22
**Add a GitHub account from the **Account settings** dialog:**
0 commit comments