How to turn off opening of native files?

Hi,

I have a lot of big XLS files in my project. In IntelliJ 8, these could not be opened, but in IntelliJ 9, these are opened by the native editor when selecting them. I really don't want to open those files, sometimes I just want to move them or add/remove them from SVN, but since they are opened automatically when they are selected, this is not possible. How do I turn this behavior off? I tried the help, but couldn't find anything about it.

Thanks,

Erik

5 comments

Go to Settings | File Types, select "Files opened in associated applications" file type, and remove the extensions that you do not want to open natively.

0

Bodiam wrote:

Hi,

I have a lot of big XLS files in my project. In IntelliJ 8, these could not be opened, but in IntelliJ 9, these are opened by the native editor when selecting them. I really don't want to open those files, sometimes I just want to move them or add/remove them from SVN, but since they are opened automatically when they are selected, this is not possible. How do I turn this behavior off? I tried the help, but couldn't find anything about it.

Thanks,

Erik


This doesn't exactly answer your question but might help.
The bin\idea.properties file.  The property

idea.max.intellisense.filesize
sets the file size limit for using intellisense so if you do open those large files they will not be parsed.

Exactly what steps are causing those files to be opened ?

I work this XLS files daily and haven't noticed any annoying behaviors.
IJ 9 now will let you CTRL+Click navigate to templates for XSLT 2.0 files where IJ 8 only supported XSLt 1.0.
That is the only change I have noted.



 

0

Also note that in "Go to file", you can type for example *.xls, but then DO NOT accept one of the suggestions, but merely select it and use ALT-F1 to focus the file in the project view.

0

Hi Rob,

No idea what you're talking about :) I guess you're talking about XSLT files instead of Excel (XLS) files?

The question is answered by Dmitry in the answer above, so thanks for that!

Erik

0

Hi Stephen,

Thanks for the tip! I actually consider this an usability bug, especially with a lot of those native files (eg for testing), but your workaround works nicely! Thanks!

0

Please sign in to leave a comment.