-
Notifications
You must be signed in to change notification settings - Fork 41
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
Feat/validate commands #591
Conversation
Validates: - Command Name - Argument Types - Argument Count
…/validate-commands
Diagnostics and warnings are stored per definition until the definition passes. This allows warnings in one command to still appear if one of its command arguments has an error.
Needs further testing to see if this functions properly
I will work on fixing the current bugs atm! |
Alright everything should be fixed now just waiting for review approval! |
Alright should be fixed now! |
Awesome, I'll take a look and hopefully merge this for today's nightly build 👏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work; LGTM!
This reverts commit 6432865.
PR had the wrong base branch selected |
Description
Adds validation for the MC Function language.
Motivation and Context
This allows bridge to catch command syntax errors within editor before you go into game.
Screenshots (if appropriate):
Types of changes
Checklist:
Resolves #77
Resolves #167