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

SUG: Access to a linter? #6

Open
rhaleblian opened this issue Jun 4, 2019 · 1 comment
Open

SUG: Access to a linter? #6

rhaleblian opened this issue Jun 4, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@rhaleblian
Copy link

When i remember to be responsible, i'll run usdchecker on scenes being hand-edited.
Some editors let you run a linter on your buffer or can run one before/during save.
This ever come up as an idea?

@rhaleblian rhaleblian changed the title SUG: access to a linter? SUG: Access to a linter? Jun 4, 2019
@mds-dwa mds-dwa added the enhancement New feature or request label Jun 4, 2019
@mds-dwa
Copy link
Contributor

mds-dwa commented Jun 4, 2019

This never actually come up as an idea before. One quick possibility that doesn't require extra development is to run usdchecker via the Commands > Open with... menu item. As long as you have the original shell still open from launching usdmanager, you should be able to see the output.

Since usdchecker comes with the core USD release, we could add it to the Commands menu as a dedicated menu item like "Open with usdchecker" or "Run through usdchecker," similar to the current "Open with usdview" option. I could also see a little popup plug-in allowing you to specify some options for usdchecker potentially being useful. How often do people find options like --skipVariants, --rootPackageOnly, etc. being used?

As far as integrating with the Save option, I could see that being a user preference, though it can be quite slow if you're editing a large scene. I'm not sure this would fall on our short term road map.

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

No branches or pull requests

2 participants