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

Full support XML tags #19

Open
ruv opened this issue May 5, 2017 · 6 comments
Open

Full support XML tags #19

ruv opened this issue May 5, 2017 · 6 comments

Comments

@ruv
Copy link

ruv commented May 5, 2017

XML element name may contain dot and colon (for xml namespace prefix). Example:

<ns:test.passed xml:space="preserve">
  it is well formed xml
</ns:test.passed>

For the moment such tags are not supported by this add-on.

@ruv
Copy link
Author

ruv commented May 5, 2017

Also, this add-on is affected by the same bug as #203 in bracket-matcher — i.e., it changes another's closing tag in certain cases. Don't sure who is responsible in this case.

@dsandstrom
Copy link
Owner

Adding support for the period might cause conflicts. The problem is I need a way to signify that the user has stopped typing a tag and typing a period is currently one way to stop the tag. This is to support https://atom.io/packages/auto-id-class. With this package enabled, typing a period adds a class attribute.

However, I can see adding an option to the package on how the period is handled. Whether it stops the tag input or not.

@dsandstrom
Copy link
Owner

If the #203 bug is a separate problem, please add another issue.

@ruv
Copy link
Author

ruv commented May 10, 2017

Yes, done — #20

@ruv
Copy link
Author

ruv commented May 10, 2017

However, I can see adding an option to the package on how the period is handled. Whether it stops the tag input or not.

It would be nice. Support of colon in name should be even easier.

@dsandstrom
Copy link
Owner

The option would be an text field where you can add any characters you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants