Skip to content

Commit 01f9b36

Browse files
authored
Merge pull request #3821 from MicrosoftDocs/master637024391886430055
For protected CLA branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents d281471 + 4c5215c commit 01f9b36

22 files changed

+85
-12
lines changed

docs/install/modify-visual-studio.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Modify Visual Studio"
33
titleSuffix: ""
44
description: "Learn how to modify Visual Studio, step-by-step."
55
ms.custom: "H1Hack27Feb2017,seodec18"
6-
ms.date: 07/31/2019
6+
ms.date: 08/23/2019
77
ms.topic: conceptual
88
helpviewer_keywords:
99
- "modify Visual Studio"
@@ -35,15 +35,17 @@ Not only have we made it easier for you to personalize Visual Studio to match th
3535

3636
Here's how.
3737

38-
## Modify workloads
39-
40-
Workloads contain the features you need for the programming language or platform that you're using. Use workloads to modify Visual Studio so that it supports the work you want to do, when you want to do it.
41-
4238
>[!IMPORTANT]
4339
>To install, update, or modify Visual Studio, you must log on with an account that has administrative permissions. For more information, see [User permissions and Visual Studio](../ide/user-permissions-and-visual-studio.md).
4440
45-
>[!TIP]
46-
> The following procedure assumes that you have an internet connection. For more information about how to modify a previously created [offline installation](create-an-offline-installation-of-visual-studio.md) of Visual Studio, see the [Control updates to network-based Visual Studio deployments](controlling-updates-to-visual-studio-deployments.md) page.
41+
## Modify workloads
42+
43+
[Workloads](https://visualstudio.microsoft.com/vs/visual-studio-workloads/) contain the features you need for the programming language or platform that you're using. Use workloads to modify Visual Studio so that it supports the work you want to do, when you want to do it.
44+
45+
>[!NOTE]
46+
> The following procedure assumes that you have an internet connection.
47+
>
48+
> For more information about how to modify a previously created [offline installation](create-an-offline-installation-of-visual-studio.md) of Visual Studio, see both the [Update a network-based installation of Visual Studio](update-a-network-installation-of-visual-studio.md) page and the [Control updates to network-based Visual Studio deployments](controlling-updates-to-visual-studio-deployments.md) page.
4749
4850
::: moniker range="vs-2017"
4951

@@ -53,7 +55,7 @@ Here's how.
5355

5456
![Visual Studio Installer](media/vs2017-locate-the-visual-studio-installer.PNG "Locate the Microsoft Visual Studio Installer")
5557

56-
>[!NOTE]
58+
>[!TIP]
5759
>On some computers, the Visual Studio Installer might be listed under the letter **"M"** as the **Microsoft Visual Studio Installer**.<br/><br/> Alternatively, you can find the Visual Studio Installer in the following location: `C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe`
5860
5961
1. Click or tap to start the installer, and then choose **Modify**.
@@ -111,15 +113,16 @@ Here's how.
111113

112114
## Modify individual components
113115

114-
If you don't want to install workloads to customize your Visual Studio installation, choose the **Individual Components** tab from the Visual Studio Installer, select what you want, and then follow the prompts.
116+
If you don't want to install [workloads](https://visualstudio.microsoft.com/vs/visual-studio-workloads/) to customize your Visual Studio installation, choose the **Individual Components** tab from the Visual Studio Installer, select what you want, and then follow the prompts.
115117

116118
[!INCLUDE[install_get_support_md](includes/install_get_support_md.md)]
117119

118120
## See also
119121

122+
* [Learn more about Visual Studio workloads](https://visualstudio.microsoft.com/vs/visual-studio-workloads/)
123+
* [List of Visual Studio workload & component IDs](workload-and-component-ids.md)
120124
* [Update Visual Studio](update-visual-studio.md)
121125
* [Update a network-based installation of Visual Studio](update-a-network-installation-of-visual-studio.md)
122126
* [Update Visual Studio while on a servicing baseline](update-servicing-baseline.md)
123127
* [Control updates to network-based Visual Studio deployments](controlling-updates-to-visual-studio-deployments.md)
124-
* [Workload & component IDs](workload-and-component-ids.md)
125128
* [Uninstall Visual Studio](uninstall-visual-studio.md)

docs/install/visual-studio-administrator-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Before you deploy Visual Studio across your organization, there are a few decisi
8989
9090
* (Optional) [Apply a volume license product key](automatically-apply-product-keys-when-deploying-visual-studio.md?view=vs-2019) as part of the installation script so that users don't need to activate the software separately.
9191

92-
* (Optional) Update the network layout to [control when and where from product updates are delivered to your end-users](controlling-updates-to-visual-studio-deployments.md?view=vs-2019).
92+
* (Optional) Update the network layout to [control when and from where product updates are delivered to your end-users](controlling-updates-to-visual-studio-deployments.md?view=vs-2019).
9393

9494
* (Optional) Set registry policies that affect the deployment of Visual Studio such as where some packages shared with other versions or instances are installed, [where packages are cached](set-defaults-for-enterprise-deployments.md?view=vs-2019) or [whether packages are cached](disable-or-move-the-package-cache.md?view=vs-2019).
9595

@@ -128,7 +128,7 @@ We have several tools available to help you [detect and manage installed Visual
128128
129129
* (Optional) [Apply a volume license product key](automatically-apply-product-keys-when-deploying-visual-studio.md?view=vs-2017) as part of the installation script so that users don't need to activate the software separately.
130130

131-
* (Optional) Update the network layout to [control when and where from product updates are delivered to your end-users](controlling-updates-to-visual-studio-deployments.md?view=vs-2017).
131+
* (Optional) Update the network layout to [control when and from where product updates are delivered to your end-users](controlling-updates-to-visual-studio-deployments.md?view=vs-2017).
132132

133133
* (Optional) Set registry policies that affect the deployment of Visual Studio such as where some packages shared with other versions or instances are installed, [where packages are cached](set-defaults-for-enterprise-deployments.md?view=vs-2019) or [whether packages are cached](disable-or-move-the-package-cache.md?view=vs-2017).
134134

mac/TOC.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
# Source Editor
3232
## [Editor Features](source-editor.md)
3333
## [Refactoring](refactoring.md)
34+
## [IntelliSense](intellisense.md)
3435
## [Comments](comments.md)
3536
## [Editor Behavior](editor-behavior.md)
3637
## [Task Comments](task-comments.md)

mac/intellisense.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
title: "IntelliSense"
3+
description: "Information on using IntelliSense in Visual Studio for Mac"
4+
author: cobey
5+
ms.author: cobey
6+
ms.date: 08/16/2019
7+
---
8+
9+
# IntelliSense
10+
11+
IntelliSense provides several features to help enhance the experience of writing and editing code. For example, in addition to code completion, the IntelliSense engine also provides member lists, parameter info, and quick info.
12+
13+
In Visual Studio for Mac, IntelliSense is provided by the core editor service, and is supported in many languages, such as C#, XAML, F#, JavaScript and more. Visual Studio for Mac also features advanced IntelliSense features, such as the ability to show completions from libraries that are not yet imported into the project.
14+
15+
## Code Completion
16+
17+
When typing within a supported file, such as a C# code file, valid completions for the string you are currently typing will be displayed in a completion list and updated as you type. Furthermore, if you delete text, the list will again auto-update to include the wider range of possibilities for completing the given string.
18+
19+
The completion window also offers support for filtering the included completions by type. For example, it is possible to limit the members of the list to only represent types such as classes or delegates. This filtering process can be enabled either through clicking on a specific icon representing the type which will be filtered or via keyboard shortcuts corresponding with a given type. The icons, which are located at the bottom of the completion window, are as follows:
20+
21+
| Icon | Name | Keyword | Hotkey |
22+
| -----------------------------|---------------| -----------|--------|
23+
| ![Classes Icon](media/classes-icon.png) | class | `class` | ⌥C
24+
| ![Constant Icon](media/constant-icon.png) | constant | `const` | ⌥O
25+
| ![Delegate Icon](media/delegate-icon.png) | delegate | `delegate` | ⌥D
26+
| ![Enum icon](media/enums-icon.png) | enum | `enum` | ⌥E
27+
| ![Event Icon](media/event-icon.png) | event | | ⌥V
28+
| ![Field Icon](media/fields-icon.png) | field | | ⌥F
29+
| ![Interface Icon](media/interface-icon.png)| interface | `interface`| ⌥I
30+
| ![Keyword Icon](media/keyword-icon.png) | keyword | | ⌥K
31+
| ![Method Icon](media/method-icon.png) | method | | ⌥M
32+
| ![Namespace Icon](media/namespace-icon.png)| namespace | `namespace`| ⌥N
33+
| ![Props Icon](media/props-icon.png) | property | | ⌥P
34+
| ![Snippet Icon](media/snippet-icon.png) | snippet | `class` | ⌥S
35+
| ![Struct Icon](media/struct-icon.png) | structure | `struct` | ⌥S
36+
37+
By clicking on any of the icons, or by pressing the corresponding hotkeys, the completion list will limit to only types as defined by the filter set.
38+
39+
![Intellisense Type Filtering](media/intellisense-typefiltering.gif)
40+
41+
## Show Import Items
42+
43+
By default, IntelliSense completion will only display completions from libraries which have been imported into your project. For example, if you do not have `System.Collections.Generic` imported via `using` then you would not have a completion for `List<>`. In order to display completions from libraries that are not imported, you must enable **Show Import Items** within the Preferences for Visual Studio for Mac. This setting can be found under **Preferences > Text Editor > IntelliSense**:
44+
45+
![IntelliSense Show Import Items](media/intellisense-showimport.png)
46+
47+
Once **Show Import Items** is enabled, the completion list will include completions that you have not yet imported. Upon selecting an item which corresponds to an undeclared library, the `using` statement for that library will automatically be added to the header of the code file. The name of the library to which the completion belongs is also listed along with the completion itself.
48+
49+
![Show Import Items List](media/intellisense-importaction.png)
50+
51+
## Parameter Window
52+
53+
Another feature of IntelliSense is the ability to provide a parameter list where appropriate. The parameter list provides details of the method signatures for the code being called. By clicking on the up/down arrows within the signature, you can cycle through each of the available parameter signatures to determine the most appropriate for your needs. In addition to the details of the types of data allowed, there may also be a description as defined in the target method via XML comments.
54+
55+
![Parameter List](media/intellisense-parameter.png)
56+
57+
As you fill in the parameters, the parameter that you are currently editing will be bolded, while the inactive parameters will have the standard weight.
58+
59+
60+
## Triggering Completion Window and Parameter Window
61+
62+
The completion window will be triggered automatically as you type within your source file. However, you can also trigger the completion window by using the shortcut `control-space`. This key combination will cause the completion list to appear at the current position of your caret.
63+
64+
You can also manually trigger the appearance of the parameter window by typing `control-shift-space`. When your caret is in the position that is valid for a parameter list, the parameter list will appear near the caret position.
65+
66+
## See also
67+
68+
- [Quick Actions (Visual Studio on Windows)](/visualstudio/ide/quick-actions)
69+
- [Refactor code (Visual Studio on Windows)](/visualstudio/ide/refactoring-in-visual-studio)

mac/media/classes-icon.png

4.53 KB
Loading

mac/media/constant-icon.png

3.77 KB
Loading

mac/media/delegate-icon.png

3.71 KB
Loading

mac/media/enums-icon.png

3.55 KB
Loading

mac/media/event-icon.png

3.46 KB
Loading

mac/media/fields-icon.png

3.44 KB
Loading
272 KB
Loading
49.8 KB
Loading

mac/media/intellisense-parameter.png

69.5 KB
Loading

mac/media/intellisense-showimport.png

469 KB
Loading
20.1 MB
Loading

mac/media/interface-icon.png

3.53 KB
Loading

mac/media/keyword-icon.png

3.63 KB
Loading

mac/media/method-icon.png

3.67 KB
Loading

mac/media/namespace-icon.png

3.73 KB
Loading

mac/media/props-icon.png

3.58 KB
Loading

mac/media/snippet-icon.png

3.42 KB
Loading

mac/media/struct-icon.png

3.91 KB
Loading

0 commit comments

Comments
 (0)