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

How to check IntelliJ project into version control? #3326

Open
dhalperi opened this issue Mar 10, 2022 · 10 comments
Open

How to check IntelliJ project into version control? #3326

dhalperi opened this issue Mar 10, 2022 · 10 comments
Labels
P3 We're not considering working on this, but happy to review a PR. (No assignee) product: IntelliJ IntelliJ plugin type: user support User support

Comments

@dhalperi
Copy link

dhalperi commented Mar 10, 2022

For our open source project https://github.com/batfish/batfish, we would like to check in project configuration like shared scopes, run configurations, format settings, required plugins, etc. But I can't figure out how to get this to work.

(Draft: batfish/batfish@master...dhalperi:idea , which also deletes the old Maven .idea project)

Following the IntelliJ instructions for directory-based projects, I checked in the recommended XML and IML files.

However, when we

  1. Open the project in IntelliJ it recognizes .ijwb/.idea (and I trusted it)
    Screen Shot 2022-03-10 at 1 17 18 PM

    but does not turn on Bazel mode

    Screen Shot 2022-03-10 at 1 17 32 PM
  2. Import the project as a new Bazel project, but of course it fails at import

    Screen Shot 2022-03-08 at 12 06 20 PM

I see hints that this is expected to work

Has anyone made this work / what are we missing?

@sgowroji
Copy link
Member

sgowroji commented Oct 7, 2022

Hello @dhalperi, Could you please reply if you still looking support for this issue with new Intellij release. Mostly the issue vanishes by restarting the IDE. Thanks!

@sgowroji sgowroji added product: IntelliJ IntelliJ plugin type: user support User support more-data-needed Awaiting response from issue author labels Oct 7, 2022
@dhalperi
Copy link
Author

Hi @sgowroji - the behavior here does not seem to have changed whatsoever.

Can you clone the repo and branch above, and give me step-by-step instructions for what you're doing?

@sgowroji sgowroji added awaiting-maintainer Awaiting review from Bazel team on issues and removed more-data-needed Awaiting response from issue author labels Feb 24, 2023
@mai93 mai93 added P2 We'll consider working on this in future. (Assignee optional) and removed awaiting-maintainer Awaiting review from Bazel team on issues labels Apr 6, 2023
@mai93 mai93 removed their assignment Jul 5, 2023
@mai93 mai93 removed the P2 We'll consider working on this in future. (Assignee optional) label Jul 5, 2023
Copy link

github-actions bot commented Jan 5, 2024

Thank you for contributing to the IntelliJ repository! This issue has been marked as stale since it has not had any activity in the last 6 months. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-maintainer". Please reach out to the triage team (@bazelbuild/triage) if you think this issue is still relevant or you are interested in getting the issue resolved.

@github-actions github-actions bot added the stale Issues or PRs that are stale (no activity for 30 days) label Jan 5, 2024
@dhalperi
Copy link
Author

dhalperi commented Jan 5, 2024 via email

@dhalperi
Copy link
Author

dhalperi commented Jan 6, 2024

@bazelbuild/triage can you take the needed action if any?

@github-actions github-actions bot removed the stale Issues or PRs that are stale (no activity for 30 days) label Jan 6, 2024
@dhalperi
Copy link
Author

Curious if the team has any update here?

Copy link

Thank you for contributing to the IntelliJ repository! This issue has been marked as stale since it has not had any activity in the last 6 months. It will be closed in the next 14 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale.

@github-actions github-actions bot added the stale Issues or PRs that are stale (no activity for 30 days) label Sep 18, 2024
@dhalperi
Copy link
Author

Definitely still needed. Who from the bazelbuild org will be looking at this? The bot being the only commenter is not useful nor a good customer experience.

@dhalperi
Copy link
Author

@mai93 do you know how to set this correctly as awaiting the team?

@mai93 mai93 added P3 We're not considering working on this, but happy to review a PR. (No assignee) and removed stale Issues or PRs that are stale (no activity for 30 days) labels Sep 23, 2024
@tpasternak
Copy link
Collaborator

tpasternak commented Sep 23, 2024

@dhalperi I never seen the article from 2019 you shared above and didn't know this is an option at all. I can't promise we will fix that, but you could experiment by checking-in the .ijwb directory, and then using just File -> open -> .ijwb instead of Import bazel project.

Sorry for this answer but my load is too high to try/work on it now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 We're not considering working on this, but happy to review a PR. (No assignee) product: IntelliJ IntelliJ plugin type: user support User support
Projects
Status: Backlog (awaiting response)
Development

No branches or pull requests

4 participants