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

Does not shows errors onType #9

Closed
codewp opened this issue May 9, 2016 · 1 comment
Closed

Does not shows errors onType #9

codewp opened this issue May 9, 2016 · 1 comment

Comments

@codewp
Copy link

codewp commented May 9, 2016

This extension does not shows errors onType although "php.validate.run": "onType" is exists in user settings.

This extension shows errors after saving file.

Visual Studio Code information. Version 1.0.0 Commit fa6d0f03813dfb9df4589c30121e9fcffa8a8ec8 Date 2016-04-13T14:21:33.326Z Shell 0.35.6 Renderer 45.0.2454.85 Node 4.1.1 On Ubuntu 14.4

@ikappas
Copy link
Owner

ikappas commented May 19, 2016

Hi @codewp and thank you for your feedback.

This is by design. phpcs cannot work with in-memory files and performs linting only on existing filesystem files. That is why it only works on save.

@ikappas ikappas closed this as completed May 19, 2016
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