Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xml] add on enter rules #41320

Open
pabian84 opened this issue Jan 9, 2018 · 3 comments
Open

[xml] add on enter rules #41320

pabian84 opened this issue Jan 9, 2018 · 3 comments
Assignees
Labels
feature-request Request for new features or functionality languages-basic Basic language support issues
Milestone

Comments

@pabian84
Copy link

pabian84 commented Jan 9, 2018

  • VSCode Version: Code 1.19.1 (0759f77, 2017-12-19T09:46:23.884Z)
  • OS Version: Windows_NT x64 10.0.16299
  • Extensions:
Extension Author (truncated) Version
xml Dot 1.9.2
auto-close-tag for 0.5.5
auto-complete-tag for 0.0.2
auto-rename-tag for 0.0.15
beautify Hoo 1.1.1
csharp ms- 1.13.1
qub-xml-vscode qub 1.2.8

Steps to Reproduce:

  1. Automatic indentation does not work when writing XML(appending child).
  2. Automatic indentation works when writing HTML.

Reproduces without extensions: Yes/No

@vscodebot vscodebot bot added the editor label Jan 9, 2018
@aeschli aeschli changed the title XML auto indentation [xml] add on enter rules Jan 11, 2018
@aeschli aeschli added the languages-basic Basic language support issues label Jan 11, 2018
@aeschli aeschli added this to the Backlog milestone Jan 11, 2018
@aeschli aeschli added feature-request Request for new features or functionality and removed editor labels Jan 11, 2018
@aeschli
Copy link
Contributor

aeschli commented Jan 11, 2018

Did you check out the XML extensions in the marketplace?

@pabian84
Copy link
Author

I am using 'Auto Close Tag', 'Auto Rename Tag' and 'XML Tools (by Qub)'. And I checked 'XML Tools (by Josh Johnson)', 'XML Language Support' and 'XML Formatter',

-Translate by Google Translator

@c3er
Copy link

c3er commented Sep 25, 2018

This seems to be right issue for my feature request (if not, I'll open a new one).

I wish for XML a similar support as for HTML - in particular:

  • Automatic closing of tags
  • Automatic indentation while typing the tags
  • Highlight of matching tag while the cursor is inside a tag (name).

The mentioned features are all supported by VS Code for HTML without any extensions and I didn't found anything in the marketplace for XML, besides of "Close HTML/XML tag" (that fulfills only the first wish).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality languages-basic Basic language support issues
Projects
None yet
Development

No branches or pull requests

3 participants