Edit several HISE projects all at once. Meet FAR: a fantastic find and replace tool.
-
I found a great and very practical way to change various parameters or pieces of code across several HISE projects.
Rather than opening each project in HISE, and then tweaking components, you can use a tool called FAR (find and replace) to search for any string in any file within directories and subdirectories, then replace that string with another.
So, you could just select your main folder that contains all of your HISE projects and replace whatever you need across all projects with a couple of clicks. It is a free tool.
https://findandreplace.sourceforge.net/
I updated the matrix of 17 projects from 16-32 channels and all the relevant comboboxes within minutes.
-
@gorangrooves You can do this in most text editors too. I use Pulsar mostly (was Atom). Sublime, Cuda Text, VSCode, Emacs, LiteXL, can also do this.
Nice to see a standalone app for it though.
-
@d-healey But, you can't do with regular text editors what this does. Yes, you can find + replace short strings, but not chunks of code, like 10 lines. Try pasting into the 'find' field anything longer than a single line. It will be truncated and render the function useless for replacing chunks for code.
FAR can match long sections of code across projects and replace them all at once. Give it a try.
-
@gorangrooves Aha I didn't realise it can do multiple lines, that's good. It's probably possible in the other editors too, perhaps with addons but I haven't looked. It's rare I would have multiple lines of exactly the same code.