views:

66

answers:

1

Many of my scripts etc in intellij are marked with a question mark. Then when I click on them them it prompts me:

The file "bla" cannot be associated with a registered file type.  Please choose one:

<insert table of file choices>

This would not matter except the files are not searchable (with ctrl-shift-n) until they are marked as text. This is a major problem for me. I have an enormous code base and I don't want to mark all of the unknown files as text. Is there anyway that I can do that?

*(Note: I have cross posted this to the intellij form

A: 

This question has been replied in the forum:

In Settings | File Types, you can specify wildcards for file names. You can associate * with the text file type, but this will probably cause some unexpected results when IDEA will start treating binary files as text. It's better to associate more specific wildcards if you can. Also note that Ctrl-Shift-N searches through all files, regardless of whether they are associated with a file type. It's Find in Files (Ctrl-Shift-F) that searches only through files of known filetypes.

CrazyCoder