kubeshop / vscode-monokle

An extension for Visual Studio Code to validate your Kubernetes configuration
https://marketplace.visualstudio.com/items?itemName=kubeshop.monokle
MIT License
6 stars 0 forks source link

Validate on edit vs save #49

Closed WitoDelnat closed 8 months ago

WitoDelnat commented 9 months ago

Currently Monokle Validation runs on saving files as compared to saving. This takes away a small part of the real-time validation. Is there a possibility to do this on a debounced editing to give feedback earlier?

f1ames commented 9 months ago

Should be doable with onDidChangeTextDocument (or something similar) from workspace namespace.

f1ames commented 9 months ago

It should be configurable to validate onType or onSave as e.g. ESLint ext does:

image