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

Analysis: add support for reading stdin #318

Closed
lopi-py opened this issue Jan 19, 2022 · 0 comments · Fixed by #325
Closed

Analysis: add support for reading stdin #318

lopi-py opened this issue Jan 19, 2022 · 0 comments · Fixed by #325
Labels
enhancement New feature or request pr welcome Please contribute a pull request

Comments

@lopi-py
Copy link

lopi-py commented Jan 19, 2022

Some linters have the option to pass - instead of a filename, example: selene -, this allows to put the code into stdin

Why

This is useful to update diagnostics while editing, without this option, the file must be saved and then diagnostics are updated, because luau-analyze reads only the file.

@lopi-py lopi-py added the enhancement New feature or request label Jan 19, 2022
@zeux zeux added the pr welcome Please contribute a pull request label Jan 19, 2022
@zeux zeux closed this as completed in #325 Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pr welcome Please contribute a pull request
Development

Successfully merging a pull request may close this issue.

2 participants