我在PhpStorm 2016遇到了一些麻烦。出于某种原因,每当我关闭应用程序时,一堆设置文件都会被推送到我的GitHub上。下面是一些推送的xml文件的屏幕截图,其中包括_windows
文件夹和检查folder
。你可以看到这些文件与我的实际Web应用程序文件混合在一起,当从git中拉出时,这些文件也被拉下来了。PhpStorm忽略设置文件和文件夹
有没有办法一直没有这种情况发生?每次我删除这些文件时,它们都会奇迹般地重新出现在我的git中。我不认为忽略这些文件是对此的补救措施。
我.gitignore
有以下几点:
# Created by .ignore support plugin (hsz.mobi)
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff:
.idea/workspace.xml
.idea/tasks.xml
.idea/dictionaries
.idea/vcs.xml
.idea/jsLibraryMappings.xml
# Sensitive or high-churn files:
.idea/dataSources.ids
.idea/dataSources.xml
.idea/dataSources.local.xml
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml
# Gradle:
.idea/gradle.xml
.idea/libraries
# Mongo Explorer plugin:
.idea/mongoSettings.xml
## File-based project format:
.iws
## Plugin-specific files:
# IntelliJ
/out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
这些为.idea
文件夹中正常工作。有任何想法吗?
没有足够的数据..但到目前为止,它看起来像错误配置“设置库”插件 – LazyOne
错误配置设置回购。我必须检查一下......你以前见过这些文件吗? – Dimitri
这些是IDE范围的配置文件(至少大部分文件名匹配)。在Windows 7上,你可以在'C:\ Users \%USERNAME%\。PhpStorm%VERSION%\ config \ options'找到它们。 – LazyOne