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

Additional custom document validation #99

Open
2 tasks
davelopez opened this issue Jan 21, 2021 · 0 comments
Open
2 tasks

Additional custom document validation #99

davelopez opened this issue Jan 21, 2021 · 0 comments
Labels
enhancement New feature or request language server Related to the language server

Comments

@davelopez
Copy link
Collaborator

davelopez commented Jan 21, 2021

The current validation of the tool documents is based on the Galaxy XML Schema Definition.
There are some validation rules that are interesting to have to better comply with the IUC best practices that do not necessarily need to be enforced by the schema definition (see galaxyproject/galaxy#11196) but would be great to display them as warnings during tool wrapper development.
For example:

  • The id attribute of a tool should be lowercase and contain only letters, numbers, underscores, and dashes. If a tool declares an id that does not follow this pattern a warning should be displayed.
  • Show warning when multiple macro definitions share the same name.
@davelopez davelopez added enhancement New feature or request language server Related to the language server labels Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request language server Related to the language server
Projects
None yet
Development

No branches or pull requests

1 participant