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

Add way to install IntelliJ codestyle locally to project #178

Closed
chrisbanes opened this issue Mar 26, 2018 · 3 comments
Closed

Add way to install IntelliJ codestyle locally to project #178

chrisbanes opened this issue Mar 26, 2018 · 3 comments

Comments

@chrisbanes
Copy link

At the moment the --apply-to-idea parameter installs the codestyle globally to the IJ/AS profile, and changes the project to use that global profile.

I prefer to bundle the codestyle locally in the project's .idea folder (example). It would be nice if there was a nice way to do that. I'd even argue it should be the default (but we're probably past that now).

@shyiko
Copy link
Collaborator

shyiko commented Mar 26, 2018

Thank you for the example, Chris!
If what we need can be configured through project's .idea then there is absolutely no reason to modify anything globally. I'll update --apply-to-idea.
🙇‍♂️

@vanniktech
Copy link
Contributor

I never commit those .idea folders and I'd use the current solution. I guess having both would not harm either way.

@shyiko
Copy link
Collaborator

shyiko commented Apr 22, 2018

Added ktlint --apply-to-idea-project (0.22.0+).

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