question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update JetBrains configuration files

See original GitHub issue

NOTE

  • This issue has undergone changes to the proposal during the discussion process.
  • I note that the title and summary have been updated to reflect what I expect them to say so as not to give incorrect information when referred to later.
  • If you want to see the original process, check the record.

Summary

  • When I clone this workshop repository and open it with Rider, the personal configuration file of Rider is detected as a change.
  • In my environment, the following appears in the diff (@Rider 2021.1.2).
        .idea/.idea.resharper-rider-samples/.idea/.gitignore
        .idea/.idea.resharper-rider-samples/.idea/.name
        .idea/.idea.resharper-rider-samples/.idea/encodings.xml
        .idea/.idea.resharper-rider-samples/.idea/indexLayout.xml
        .idea/.idea.resharper-rider-samples/.idea/vcs.xml

Proposed improvement

  • Add all project configuration recorded by the latest Rider (2021.1.2) to the repository.

(Initially, I thought that it was a personal setting that should not be included in the repository and I thought to add it to “.gitignore”, but I was wrong; the update of Rider increased the number of configuration files, but it was not reflected in the repository.)

The following describes the idea of sharing the configurations: https://www.jetbrains.com/help/idea/creating-and-managing-projects.html#share-project-through-vcs

Related issues

https://github.com/JetBrains/resharper-rider-samples/issues/20 Proposal for creating a Japanese localized version

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
maartenbacommented, May 9, 2021

@sun-flat-yamada The reference page is mostly correct, I believe for Rider the recommended way is to now place this in .idea/.idea.xxxxxxx/.idea/.gitignore. For the localized version, you can add the below entires into localized/jp/.idea/.idea.resharper-rider-samples/.idea/.gitignore. Some files can be added to VCS, and others will be ignored by this file.

# Default ignored files
/shelf/
/workspace.xml
# Rider ignored files
/modules.xml
/.idea.JetBrains.Space.iml
/contentModel.xml
/projectSettingsUpdater.xml
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/
/aws.xml
1reaction
maartenbacommented, May 7, 2021

@sun-flat-yamada Absolutely, please go ahead and add these entries to .gitignore

Read more comments on GitHub >

github_iconTop Results From Across the Web

Directories used by the IDE | IntelliJ IDEA Documentation
By default, IntelliJ IDEA stores user-specific files for each IDE instance (configuration, caches, plugins, logs, and so on) in the user's ...
Read more >
Directories used by the IDE to store settings, caches ...
path): %APPDATA%\JetBrains\IntelliJIdea2022.2\plugins; System (idea.system.path): %LOCALAPPDATA%\JetBrains\IntelliJIdea2022.2; Logs (idea ...
Read more >
Configuring the IDE | IntelliJ IDEA Documentation
From the main menu, select File | Manage IDE Settings | Restore Default Settings. Alternatively, press Shift twice and type Restore default ...
Read more >
Project settings | IntelliJ IDEA Documentation
To configure project settings, select IntelliJ IDEA | Settings on macOS or File | Settings on Windows and Linux from the main menu....
Read more >
Changing IDE default directories used for config, plugins ...
To change the default location of a particular tool, hover an IDE item in the Toolbox Tools tab, press a gear icon, click...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found