I’ve tried putting some I7 code in extensions but I’m a little frustrated by it, maybe I’m doing something backwards. Perhaps the whole “problem” is that I’m used to always work in very tight code-compile-test loops, I don’t sit there writing code for an hour before compiling.
Here’s what I do: I have one big folder for my own extensions (and I’m using git to version control it). So I pop open an .i7x file in my editor of choice (which is Sublime Text, with the syntax coloring from Nate Dickson. When I want to try it, I just “open” the file (double-click in Finder or cmd-down in Forklift) . It opens in that weird Inform7 IDE Extension window with an “install” button. So i click install. As far as I can tell all this does is to copy the file to ~/Library/Inform/Extensions/Author Name/Extension.i7x. Maybe I could skip the install step by just editing the file right “in place”, under /Library/Inform/Extensions.
Anyway, the problem is that installing a new extension version does not seem to work in the (Mac?) IDE. If I do Open Extension… within the IDE I do get the updated version in a window, but when I compile and run it seems to always use whatever version was installed when I opened the Inform IDE. Except for new extensions I think, so maybe temporarily renaming the file is a workaround? Or is there some way to force an extension reload in the mac IDE that I don’t know about? Or do you need to quit and reopen the IDE?
And what’s up with that special window you get when you open an extension? It’s a text editor with an install button, but once you click install the install button goes away, although I can keep editing. How am I supposed to use that window?