Is there a way to mark a file extension as BINARY to prevent the IDE from trying to open it even on user error?

Answered

I want to mark some files like Adobe Illustrator as BINARY never open in the IDE, even due to user error.

I copied an existing plugin icon Illustrator file to a new project and in a rush forgot to de-select the "Open file in editor" which caused the illustrator file to open and hang the IDE. Force quite did its job.

I would like to make *.ai and some other extensions as non-openable. Is this possible?

 

 

0
3 comments

Workaround associated *.ai with image file type.

Now trying to open it shows it as an invalid image but no hanging.  

0

Mapping the extension to Files opened in associated applications should help:

1

Thank you Serge. I was unaware that this option existed. It is the best solution.

There are still years of learning what is available in these IDEs. 

0

Please sign in to leave a comment.