Question to LocalFileSystem ignored files

General IDE settings allow specifying file or directory name patterns to be ignored ("Ignore files and folders:").
How do i check if a VirtualFile is being ignored?

NOTE: this has nothing to do with the Ignored list in the "Changes" Tool Window
Appreciate any help.

2 comments
Comment actions Permalink

Hello Dan,

General IDE settings allow specifying file or directory name patterns
to be ignored ("Ignore files and folders:"). How do i check if a
VirtualFile is being ignored?


FileTypeManager.getInstance().isFileIgnored()

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Great! Thanks!

0

Please sign in to leave a comment.