Any text editors for Mac with hotkey PASTE of pre-defined text for faster coding?
-
07-07-2021 - |
سؤال
Coding PHP on a Mac using TextEdit. It's always annoying to have to type the same lines of code that I use over and over (Ex: MyClass::myLocalizedString('Hello');
).
Anyone know of a useful editor for Mac that can save me time by allowing me to predefine a string and bind it to a hotkey combination?
Ex: Cmd+1 pastes the text MyClass::myLocalizedString('');
المحلول
Tincta Pro also has a code-snippets feature with shortcut expansion.
(Disclaimer: I'm the developer of Tincta)
نصائح أخرى
I think there are plenty of choises. For instance, you can use Keyboard Maestro to create a hotkey or use TextExpander for short snippet. I think you might be able to create this with Quicksilver too, but for this I'm not sure.
لا تنتمي إلى StackOverflow