Skip to content

Commit

Permalink
added features page to documentation with auto close, jump and rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Chen committed May 26, 2021
1 parent db8c5fc commit 0e3530d
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/Features.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Features

## XML Tag Auto Close

[vscode-xml](https://github.com/redhat-developer/vscode-xml) provides an `auto close` feature for XML tags:

Using `/` in an opening tag will auto close the tag.

![Auto Close Tag Slash](images/Features/AutoCloseTagSlash.gif)

Using a `>` at the end of an opening tag generates the corresponding closing tag.

![Auto Close Tag End](images/Features/AutoCloseTagEnd.gif)

## Jump to Start/End Tag

For quick navigation, you can use `Ctrl + Click` on a closing tag to jump to the corresponding opening tag.

![Jump To Opening Tag](images/Features/JumpToOpeningTag.gif)

The same applies to jumping from an opening tag to the respective closing tag.

![Jump To Closing Tag](images/Features/JumpToClosingTag.gif)

## Rename Tag

To rename a single tag and it's corresponding opening/closing, highlight the tag and press `F2` or use the dropdown to select `Rename Symbol`.

![Rename Tag](images/Features/RenameTag.gif)
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Welcome to the [vscode-xml](https://github.com/redhat-developer/vscode-xml) docu
* [XML Commands](Commands.md#commands): More info on the available XML vscode commands.
* [Symbols](Symbols.md#symbols): More info on the available settings for the document symbols (outline).
* [Troubleshooting](Troubleshooting.md#troubleshooting): Info on troubleshooting and fixes to issues.
* [Features](Features.md#features): Notable info and demos on features available to use.

## Developer Guide

Expand Down
Binary file added docs/images/Features/AutoCloseTagEnd.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Features/AutoCloseTagSlash.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Features/JumpToClosingTag.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Features/JumpToOpeningTag.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Features/RenameTag.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0e3530d

Please sign in to comment.