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

Would be awesome to be able to drive this from the command line #1

Open
gilescope opened this issue Nov 14, 2018 · 2 comments
Open

Comments

@gilescope
Copy link

Would be awesome to be able to drive this from the command line.

Is it possible to do code --format_this_dir ? 🤞

@lacroixdavid1
Copy link
Owner

Sadly, I don't think is it possible to run a VSCode extension directly from the terminal.

@gekkedev
Copy link

Maybe it doesn't help in your case, but don't forget in some cases you're actually using an external tool as formatter for VSCode e.g. using Prettier or ESLint. Such tools already provide a CLI for this purpose (which is what VSCode will use).

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

3 participants