this is something i just noticed by reading a reply from taktik in another forum thread, so i’m posting it in case others have also missed it before
if we want (for reference purposes) to jump directly to a specific line in the official Renoise API docs, we can do that by placing an # character at the end of the link, followed by the line number
for example, in the Renoise.Application.API document, we find the information about the status bar,
just click on the line link at the left to get the full link to that specific location, like this (although this forum shortens down the link as it’s displayed here):
Hi… It really helped (me, at least) to do a cat * >fullapi.txt in the folder where the documentation resides on your drive. I then made two aliases:
alias Sol=“pico Solution.txt”
alias sol=“cat Solution.txt | grep $1”
so…
“sol maximize”
renoise.app().window:maximize()
-- "un-maximize" or "un-minimize" the window, or just bring it to front.
renoise.app().window.is_maximized
renoise.song().tracks[].devices[].is_maximized, _observable
if something looks interesting, I can always Sol back to the full api and find it.
I know this is pretty OSX/Unix specific I guess, and the second OSX-specific thing I’d be very interested in is using Alfred (kind of like Quicksilver on steroids) to actually find a bit of text in the web api… Should be possible, but I’m not yet entirely sure how.
This is indeed handy, but probably not something you can rely on 100% in the long-term. If the file you’re linking to changes a lot, or some code gets cleaned up and moved around, then you could be linking to something completely different. Probably not a big deal, but something to keep in mind.
Hence why something like “get newest lua api documentation files” → “dump files to one file” → grep one file for matches just works. And of course that’s just the grep way, anyone else could just use find or wotever