Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macro library and text substitution feature request #1

Closed
SamWindell opened this issue Mar 16, 2016 · 2 comments
Closed

Macro library and text substitution feature request #1

SamWindell opened this issue Mar 16, 2016 · 2 comments

Comments

@SamWindell
Copy link
Contributor

Really appreciate your work on this, and adding it PackageControl, I found it just by chance. I've recently put together a macro and function KSP library, which I think could be useful to you if you do scripting work. It's main feature is the addition of UI arrays and the ability to execute a macro a given number of times, kind of like a for-loop. You can find it on my github: https://github.com/SamWindell/KSEL

I have an idea for a feature request for SublimeKSP. Apologies if this is better suited to send to Nils direct, just wondering what you thought about it.

A pre-compile text substitution would be really helpful. Kind of how the C preprocessor #define works. At the top of the document you could define some constants:

#define NUM 1
#define TEXT string

Then when you hit F5 all occurrences of NUM or TEXT will just be replaced by their value, after this has happened, then the compiler proceeds and builds macros, functions, etc.

Especially in the pseudo arrays that I have made in my macro library, this feature would be really useful.

@nojanath
Copy link
Owner

Thanks for sharing your macro and function library. That looks super helpful.

As for the feature request, that would be something for Nils directly. I'm only planning incremental improvements with this fork for the moment. Nothing major. The main objective was to get this in Package Control and have up-to-date Kontakt support.

@SamWindell
Copy link
Contributor Author

Ok, no worries. Thanks for your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants