浏览代码

[Unity] ignore Jetbrains plugin folder (#3026)

When a Unity project is opened in Jetbrains Rider, it installs a editor plugin into the Assets/Plugins/Editor/Jetbrains folder to manage Unity->Rider integration. This plugins life cycle is managed by your local Rider install and is automatically updated by Rider. It should not be committed to source control.  This is documented by Jetbrains here https://www.jetbrains.com/help/rider/Unity.html

This change should ignore both the Jetbrains plugin folder and its .meta file correctly. For completeness, it would be nice to also ignore the /.idea*/ settings folder that Rider autogenerates, but i see a PR implementing that change has already been rejected.
LotteMakesStuff 6 年之前
父节点
当前提交
65bc8a7090
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Unity.gitignore

+ 3 - 0
Unity.gitignore

@@ -17,6 +17,9 @@
 # TextMesh Pro files
 [Aa]ssets/TextMesh*Pro/
 
+# Autogenerated Jetbrains Rider plugin
+[Aa]ssets/Plugins/Editor/JetBrains*
+
 # Visual Studio cache directory
 .vs/