I made an extension for inlining Bike outlines within other Bike outlines! It’s something I’ve been thinking about for ages, and I thought I’d need to develop some kind of helper daemon but it turns out the extension API is enough!
This isn’t “production” or “release” ready, it’s very much a prototype, you can find the code under src/inlining.bkext in my fork of bike-extension-kit, along with instructions for building and installing it
Pretty cool right?
How to use it
Install extension (requires Bike 2.0 preview version)
back up your files (seriously, this extension does programmatic edits, and it has not been QAed)
add a row <inline: $document> where $document is the name of another open document. The inlined document must be open in Bike.
Way to stretch the extension API in interesting directions!
I think this could be even more useful in some future “workspace” version of Bike. Then Bike should have access to all documents open or closed, and so the user wouldn’t have to remember to open the inlined documents.
I agree, I think that API is needed to make this efficient for larger outlines. I’ll try to get it done sooner than later.
Seems to work beautifully, thanks! I’ve removed the polling and now it’s both responsive and has nice low CPU even when i embed Moby Dick inside Moby Dick