I was just trying out the Snippets panel again. Here are some observations. I think it would be useful to implement some of them, though obviously the more the better!
- Last used as default: When opening the Snippets panel, it defaults to the Arrows snippets, I suggest it be better suited to defaulting to last used. For example, I only use the Rainmeter Snippets, but it is awkward and often more time consuming to open Snippets panel, select the Rainmeter snippets file from the drop-down list and finally the actual snippet. Perhaps an option in the settings to allow current or suggested behaviour?
- Add CRLF on enter: When using the snippets panel, it traps keyboard focus. So using multiple snippets means constantly back and forward with the mouse/keyboard to shift focus between Snippets and Editor. Why? Because you double click to enter a snippet, then need to shift focus back to editor to press Enter key in order to create a new line. I suggest an option in settings to allow the Enter key to stay focused in the Editor, so you can Double click a Snippet, Press Enter key, then Double click another Snippet, etc, so as to avoid the constant shifting focus. OR... I think maybe better, allow Snippets to detect a new line in the Snippets file itself. Example: Plugin - ActionTimer=Plugin=ActionTimer\n so if the snippet itself contains \n then it also adds a new line to the Editor. This may alleviate the issue in certain circumstances.
- Allow tooltips in Snippets: This would allow users to set a tooltip for each Snippet. So when hovering a Snippet, a tooltip would be shown, if it has been set in the Snippets file. Example: Plugin - ActionTimer=Plugin=ActionTimer\n ; Place tooltip here So if the snippet contains a semi-colon, then a tooltip would be shown containing the text after it.
- UI Tabs need HotKeys: I have around 1400 text files that require converting to UTF16LE with BOM from UTF8. I am having to do this manually and found a small limitation in use of Tabs. There seems to be no way to select a Tab via a HotKey. Maybe I missed it? It would be good if there were a way to set a HotKey to move the Tab selection Left and Right.
Whatever you think anyway, no worries if you decide against them.
Thanks for all your work on CudaText!