I have an xcode-project, that contains large json-files inside a resource folder. From time to time I'm interacting with them, for example when I need to rename or delete something. It occasionally happens - yes I'm kinda clumsy - that I double-click on these files, causing Xcode to try to open these files with 10MB or more, inside an editor. Xcode freezes then and I need to kill the process and restart xcode, which is kind of unhealthy I suppose.
So.. does anybody know a way to stop Xcode from trying to opening such a file, or for example to set a max file size for files Xcode is allowed to open, or some other workaround.