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

Add option to lint while typing instead of waiting for file save #89

Open
wJoenn opened this issue Feb 18, 2024 · 1 comment
Open

Add option to lint while typing instead of waiting for file save #89

wJoenn opened this issue Feb 18, 2024 · 1 comment

Comments

@wJoenn
Copy link

wJoenn commented Feb 18, 2024

While browsing through the source code I noticed that the getConfig method returns onSave: true.
Would it be possible to add a configuration so that we can change this settings to lint while writing the code instead of only checking after saving ?
Similar to ruby-lsp's behaviour with Rubocop

ruby.rb.-.the-hub.WSL_.Ubuntu.-.Visual.Studio.Code.2024-02-18.17-35-56.mp4
@nobodywasishere
Copy link

WIP implementation here. Won't be usable until after the next ameba release though.
https://github.com/nobodywasishere/vscode-crystal-ameba/tree/nobody/lint-on-type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants