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

CodeLens for registering/unregistering catalog #572

Closed
angelozerr opened this issue Aug 3, 2021 · 1 comment · Fixed by eclipse/lemminx#1390 or #830
Closed

CodeLens for registering/unregistering catalog #572

angelozerr opened this issue Aug 3, 2021 · 1 comment · Fixed by eclipse/lemminx#1390 or #830
Assignees
Labels
Milestone

Comments

@angelozerr
Copy link
Contributor

angelozerr commented Aug 3, 2021

It should be nice to insert in catalog xml file a Codelens [Register catalog] to insert it to the list of catalog (see xml.catalogs).

[Register catalog]
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
  <uri name="http://docs.oasis-open.org/odata/ns/edmx" uri="./schemas/edmx.xsd" />
  <uri name="http://docs.oasis-open.org/odata/ns/edm" uri="./schemas/edm.xsd" />
</catalog>

When catalog.xml is already registered, it should be nice to have a [Unregister catalog] codelens.

It should be good to have a vscode command and quickfix for that too.

@angelozerr angelozerr added enhancement New feature or request codelens labels Aug 3, 2021
@angelozerr angelozerr changed the title Codelens for adding catalog CodeLens for adding catalog Aug 3, 2021
@angelozerr angelozerr changed the title CodeLens for adding catalog CodeLens for registering/unregistering catalog Aug 6, 2021
@angelozerr
Copy link
Contributor Author

I would like to work on this issue because in my case when I test some user issues, I need to check if user catalog.xml is registered or not by reading the settings.json.

With those codelens it will b ereally easy to know if XML catalog is registered in the settings.json and it will be really easy to register / unregister XML catalogs.

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