Skip to content

Commit e2e3c75

Browse files
committed
changes
1 parent 6da27d6 commit e2e3c75

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/ide/code-snippets-schema-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Provides a container for short code blocks.
6161

6262
### Keywords
6363

64-
Two reserved words are available for use in the text of the `Code` element: `$end$` and `$selected$`. `$end$` marks the location to place the cursor after the code snippet is inserted. `$selected$` represents selected text in the document to insert into the snippet when the snippet is invoked. For example, given a snippet that includes:
64+
Two reserved words are available for use in the text of the `Code` element: `$end$` and `$selected$`. `$end$` marks the location to place the cursor after the code snippet is inserted. `$selected$` represents selected document text to insert into the snippet when the snippet is invoked. For example, given a snippet that includes:
6565

6666
```text
6767
$selected$ is a great color.
@@ -618,7 +618,7 @@ A text value is required. This text specifies the ToolTip description to be asso
618618

619619
## Type element
620620

621-
Specifies the type of the object. The `Object` element is used to identify an item that's required by the code snippet but can be defined outside of the snippet itself. For example, Windows Forms controls, ASP.NET controls, object instances, and type instances should be declared as objects. Object declarations require a type to be specified, which is done with the `Type` element.
621+
Specifies the type of the object. The `Object` element is used to identify an item that's required by the code snippet but is probably defined outside of the snippet itself. For example, Windows Forms controls, ASP.NET controls, object instances, and type instances should be declared as objects. Object declarations require a type to be specified, which is done with the `Type` element.
622622

623623
```xml
624624
<Type>

docs/ide/visual-csharp-code-snippets.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ ms.subservice: general-ide
1515
---
1616
# C# code snippets
1717

18-
In Visual Studio, you can use code snippets to add commonly-used code to your C# code files. *Expansion* snippets are added at specified insertion points. *Surround-with* snippets are added around selected code, and are available for C# and C++ only. For instructions on how to insert or surround code with code snippets, see [Code snippets](code-snippets.md).
18+
In Visual Studio, you can use code snippets to add commonly-used code to your C# code files. Code snippets can make writing program code quicker, easier, and more reliable.
19+
20+
*Expansion* code snippets are added at specified insertion points. *Surround-with* code snippets are added around selected code, and are available for C# and C++ only. For instructions on how to insert or surround code with code snippets, see [Code snippets](code-snippets.md).
1921

2022
## Code snippet reference
2123

0 commit comments

Comments
 (0)