DEV Community

Igor Santos
Igor Santos

Posted on

Quick tip: Sharing JetBrains code style throughout the repository

This is a quick one. There's an article from JetBrains explaining how to properly include the .idea folder in the project's repository. However, I was never able to understand how to include the Code Style there. On three different projects, we ended up sharing the Code Style export through Slack... lol

However, if you simply copy the style from the IDE into the Project itself, it will start showing properly on the .idea folder. The problem is that this option is not really obvious, and there's little clue on why this single setting is not included on the said folder, while other parts of the project settings are clearly marked as "shared/project exclusive".

Copy style into JetBrains project

This has been tested on PHPStorm, but I'm pretty sure it will work on PyCharm, IntelliJ, WebStorm or whatever else flavor of a JetBrains IDE you use!

Have fun coding.

Image of Wix Studio

2025: Your year to build apps that sell

Dive into hands-on resources and actionable strategies designed to help you build and sell apps on the Wix App Market.

Get started

Top comments (0)

Image of Bright Data

High-Quality Data for AI – Access diverse datasets ready for your ML models.

Browse our extensive library of pre-collected datasets tailored for various AI and ML projects.

Explore Datasets

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay