camunda / zeebe

Distributed Workflow Engine for Microservices Orchestration
https://zeebe.io
3.05k stars 549 forks source link

Symlink `.idea` folder for `zeebe` subfolder #18165

Closed korthout closed 2 weeks ago

korthout commented 2 weeks ago

Description

It's annoying to open the mono repo in IntelliJ when working only on Zeebe. I prefer to work in the zeebe subfolder. However, that means that all the shared idea settings are not available.

By symlinking the .idea folder users that open the zeebe subfolder in IntelliJ will have all the same settings as the mono repo, without having to duplicate the settings.

This change does not affect anyone that works from the mono repo in IntelliJ.

This PR adds a soft symlink created using:

cd zeebe
ln -s ../.idea .idea

Related issues

None

nicpuppa commented 2 weeks ago

It might not work with windows, but not sure whether Zeebe engineers use windows I think linux/mac is more common in this area. :)

@tmetzke 🙃

tmetzke commented 2 weeks ago

I am working with the mono repo, so 🤷 I can give it a try with a new Zeebe-only workspace.

mustafadagher commented 2 weeks ago

Nice idea @korthout ! Did you try a scenario where you change the editorconfig or some other idea configs while you're on the zeebe subfolder. what would be the outcome?

korthout commented 2 weeks ago

Did you try a scenario where you change the editorconfig or some other idea configs while you're on the zeebe subfolder. what would be the outcome?

@mustafadagher I haven't tested this, but I expect that it works just like the rest. In the Zeebe subfolder project, you'll have the exact same settings as in the mono repo.

korthout commented 2 weeks ago

Ok, let's get this merged. If anyone objects, we can revert it. Please speak up if this PR causes you any issues.

korthout commented 2 weeks ago

Seems that our CI is unstable. Let's retry that once. Otherwise, I'll wait until it stabilizes.

backport-action commented 2 weeks ago

Successfully created backport PR for stable/8.5: