IntelliJ IDEA 13 TFS .tfignore

As of TFS 2012, TFS supports a .tfingore file that excludes files that match a certain pattern from being checked in. More information is available here http://msdn.microsoft.com/en-us/library/ms245454.aspx#tfignore.

Would it be difficult for the TFS plugin in IntelliJ IDEA to support this?

1
Avatar
Permanently deleted user

Supporting .tfignore files would be part of basic versioning features. Without this support the tfs plugin now complains in my project, that 53428 files are unversioned inside node_modules :-/ !..

0

There is an internal Ignored file list, so you could add the node_modules folder there - Settings | Version Control | Ignored Files

Here is the request to support tfignore - https://youtrack.jetbrains.com/issue/IDEA-125729

0
Avatar
Permanently deleted user

Thanks for your reply @Dmitriy, i see the internal ignored- file- list is saved in .idea/workspace.xml so this is indeed a workaround,.. although in my team we're not allowed to commit .idea directories ;-)...

0

> we're not allowed to commit .idea directories

Why? It contains project configs that are recommended to be shared (not all files should be shared though). See https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems

You should never commit workspace.xml though, even if other files are committed. And it is indeed a major disadvantage of the internal Ignored Files list.

0

请先登录再写评论。