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

Support -s flag output #55

Closed
oojacoboo opened this issue Jul 29, 2017 · 3 comments
Closed

Support -s flag output #55

oojacoboo opened this issue Jul 29, 2017 · 3 comments
Assignees
Milestone

Comments

@oojacoboo
Copy link

The current error output doesn't tell you what rule definition originated the error. This makes debugging and optimizing your rulesets significantly more difficult.

It's be nice if this information was included on the tooltip, but if not there, at least in the debug panel output. My phpcs.xml file includes the -s flag argument, but it doesn't seem that's being respected with output.

@ikappas
Copy link
Owner

ikappas commented Oct 27, 2017

@oojacoboo I've just added support for this to the development branch. Can you test this and let me know whether it covers your use case?

@ikappas ikappas added this to the 1.0.0 milestone Oct 27, 2017
@oojacoboo
Copy link
Author

@ikappas struggling with testing these at the moment. See #35. It'd be nice if there were an easier way to test dev builds of extensions in vscode :/

@ikappas
Copy link
Owner

ikappas commented Nov 3, 2017

This has been implemented in 1.0.0-beta.x. You can enable this option by setting the following configuration:

"phpcs.showSources" : true

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

No branches or pull requests

2 participants