forked from redhat-developer/vscode-xml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes redhat-developer#794 Signed-off-by: azerr <[email protected]>
- Loading branch information
1 parent
6244279
commit 86d5edf
Showing
10 changed files
with
210 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Refactor | ||
|
||
## Surround with Tags (Wrap) | ||
|
||
This refactor command gives the capability to select an XML content and surround it with a given tag. To execute this command you can: | ||
|
||
* use command palette (`Ctrl+P`) and type `Surround` | ||
|
||
![Surround with Tags](images/Refactor/SurroundWithTags.gif) | ||
|
||
* use contextual menu | ||
|
||
## Surround with Comments | ||
|
||
As `Surround with Tags (Wrap)`, you can comments a selected XML content: | ||
|
||
![Surround with Tags](images/Refactor/SurroundWithComments.gif) | ||
|
||
## Surround with CDATA | ||
|
||
As `Surround with Tags (Wrap)`, you can surround with CDATA a selected XML content: | ||
|
||
![Surround with Tags](images/Refactor/SurroundWithCDATA.gif) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.