IntelliJ IDEA 版本控制(svn、git) 修改文件后,所属目录的颜色也变化

2019-03-03 12:30|来源: 网路

IntelliJ IDEA 的版本控制默认文件修改了,所属目录的颜色是不会变化,这很不方便。如:

改变前.png


修改方法如下:

File --> settings --> version control --> 勾选 "show directories with changed descendants"

1512275264751048787.png


改了之后效果如下:

捕获.png

相关问答

更多
  • 您可以从File | Settings | Version Control选择当前项目的版本控制系统 File | Settings | Version Control File | Settings | Version Control 。 该设置存储在其中一个项目文件( .idea/vcs.xml )中,因此如果您没有将该文件提交到版本控制,则可以在不同的机器上使用不同的版本控制系统。 You can select the version control system for the current pr ...
  • 我刚刚反对同样的问题。 如果您在安装git(在Windows上)时选择不执行完整的PATH(环境变量)集成,则需要告诉IntelliJ在哪里可以找到git.cmd ; 你可以做到这一点 Settings > Project Settings > Version Control > VCSs > Git I just came up against the same problem. If you choose not to do the full PATH (environment variable) i ...
  • 简单的答案:不要把这些文件放在源代码控制库中,因为你可以“生成”它们(如果你不需要它们,如果他们是烦人的,如果他们可以破坏别人的环境,这更真实)。 我个人使用以下值为svn:ignore : target *~ *.log .classpath .project *.ipr *.iws *.iml .settings Short answer: don't put these files in the source control repository as you can "gener ...
  • 浪费了更多时间之后,我发现我已经将两种不同的AspectJ sytnax混合在一起。 一个是关于方面(比如“公共方面LoggingAspect”),另一个是常规Java注释(比如“@Aspect”或“@Around”)。 当我用“public class LoggingAspect”替换了“公共方面的LoggingAspect”时,它就起作用了。 很难发现,因为一切仍然没有问题编译。 希望有朝一日能够帮助某人,或者至少在将来的ajc版本中,他们会添加更详细的编译器输出。 After wasting even ...
  • 您需要在IDE版本控制设置中添加Subversion和Git根: 将目录与特定版本控制系统相关联 You need to add both Subversion and Git roots in IDE Version Control settings: Associating a Directory with a Specific Version Control System
  • 当您使用激活器的命令构思或git(您拉动协作者的设置)时,可能会发生此问题。 我有同样的问题(也是自动完成不适用于我公司的课程)。 我删除了.setting,.idea,所有内容都以dot开头。 从Intellij下一个打开项目并配置我的项目。 这解决了我的问题,我希望也可以帮到你。 My problem is resolbved. As Sarvesh Kumar Singh mentioned I have created activator project and open that project ...
  • File > Settings > Version Control 还要确保在intellij中启用了GIT插件。 File > Settings > Version Control Also make sure you have GIT plugin enabled in intellij.
  • IDEA 不支持Subversion 1.8工作副本 ,您可以使用IDEA内置的Subversion客户端签出项目以获得兼容的工作副本。 IDEA doesn't support Subversion 1.8 working copies, you can checkout the project using IDEA built-in Subversion client to get the compatible working copy.
  • 正确。 您确实希望在执行合并后使用已解决合并冲突的选项。 请记住,当SVN发生冲突时,它会生成.mine文件,rOLDREV和.rNEWREV文件。 合并后执行→已解决并将修改提交到存储库。 请注意,Resolve命令并不能真正解决冲突。 它只删除filename.ext.mine和filename.ext.r *文件,以允许您提交更改。 Correct. You do want to utilize the option that the merge conflict has been resolved ...
  • 转到Settings - > Version Control - > Subversion并尝试将“使用命令行客户端:”设置为简单的svn (无路径)。 鉴于svn.exe在路径中可用并且可以在正常命令行上通过svn执行,这应该可行。 Go to Settings -> Version Control -> Subversion and try setting "Use command line client:" to simply svn (no path). Given that svn.exe is ...