简体   繁体   中英

How to use git repository for IntelliJ Code Style

We have our code style settings in a private git repository. I want to use this git URL to set my project's code style.

Right now, I clone this repository and import the XML into IntelliJ. The issue is as the repository is updated, I need to manually git pull on my local computer.

I know there is https://www.jetbrains.com/help/phpstorm/sharing-your-ide-settings.html but that shares your entire setting - I just want code style.

There are Read-only sources in Settings Repository. You could create a separate repo and put code style there, and add it as a read-only source.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM