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

YAML spec vscode extension for realtime feedback #104

Draft
wants to merge 133 commits into
base: main
Choose a base branch
from

Conversation

cisaacstern
Copy link
Collaborator

@cisaacstern cisaacstern commented Jul 26, 2024

Closes #103

🤯

Screenshot 2024-07-26 at 3 46 20 PM
☝️ Here, there is a subtle typo in task: get_subjectgroup_observation (the task name is missing the trailing s) ... and the extension knowns that and is telling us in real time as I edit the file!

@cisaacstern
Copy link
Collaborator Author

cisaacstern commented Jul 26, 2024

Some next steps:

  • Get language server to start with the currently selected python interpreter in vscode
  • Setup a "hot reload" configuration of the server so that the validation (optionally) evolves as the the Spec model evolves
  • Document an easy way to set this up in your local environment (eventually could be released on marketplace, but that's probably overkill at this point)
  • Use the loc field in the error to backtrack to which line(s) (and possibly columns as well) are causing the error (rather than red-underlining the whole text)
  • Figure out how to have this validation only ecoscope compilation specs (not a all yaml files)
  • Fix all the silly placeholder names in package.json etc.
  • Some lightweight tests

Base automatically changed from more-verbose-yaml-spec to main July 31, 2024 16:36
@cisaacstern cisaacstern mentioned this pull request Aug 4, 2024
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VSCode Extension for live validation of compilation specs
1 participant