Page 3 of 3

Re: Some small issues and FR's

Posted: 24.02.2026 21:13
by main Alexey
yes, I removed ~50 hotkeys from CudaExt package (and updated it in addons-manager).
if you can repeat the bug (hotkeys always setup), do it on these plugins, they have initial hotkeys, pls:

Emmet Lite
Plain Tasks
Scratches
SQL Tools

give me steps to repeat on clean app.

Re: Some small issues and FR's

Posted: 25.02.2026 15:02
by sl23
I installed them but no idea what the hotkeys are so can't test.

Re: Some small issues and FR's

Posted: 25.02.2026 15:38
by main Alexey
For example for Emmet_Lite, its file install.inf has:

Code: Select all

[item1]
section=commands
caption=Emmet Lite\Expand abbreviation
method=expand_abbrev
hotkey=Ctrl+,
You see the line 'hotkey=', it is the hotkey.

you don't need to PRESS this hotkey! only see - is it in the menu 'Plugins / Emmet Lite'?

Re: Some small issues and FR's

Posted: 26.02.2026 14:12
by sl23
Oh, in that case, no it isn't in the menu. None of them are. Must be something I've done with my set up causing interference with hotkeys maybe?
Thanks.

Re: Some small issues and FR's

Posted: 26.02.2026 14:39
by sl23
Regarding my issue with the earlier Code and Snippet buttons... I see why you are confused now. After testing the new install, I see there is the sidebar with those buttons on. However, I do not want that sidebar in view, so I set some buttons on the main toolbar at the top to do the same job, almost.

It seems that there wasn't a way previously to create a Code button that does the same job as the sidebar Code button. Same for the snippets. The Code button I created uses the command numbered: 2565. The only way to add a snippets button that I could find was to do the same and use command called: cuda_snippet_panel.open_dlg.

However, this doesn't function correctly. I want it to work in the exact same way as the Sidebar buttons. This means clicking any of those buttons does two things:
1. Opens and closes the sidebar.
2. Selects the panel associated with the button clicked.

My Configured toolbar buttons don't appear to have the ability to have a command that can work that way. So what happens is that when I click the Code button, it opens and closes the sidebar, opening the code tree panel. On first load, by default the code tree opens, but if I switch to the Snippets sidebar using my configured button, I have to use the code tree button to close it. Just seems a bit odd. It would be better and should be done the same way as in the Sidebar panel.

Is there commands associated with each of the sidebar buttons that I can use for configured toolbar buttons, so they function in the exact same way? Hope that explains better, seeing as I now understand your confusion. ;)

Re: Some small issues and FR's

Posted: 26.02.2026 19:14
by main Alexey
I am afraid we don't have commands to do the exact same thing. We have these commands (my search in py/cudatext_cmd.py)

cmd_ToggleSidePanel = 2533
cmd_ShowSidePanelAsIs = 2546
cmd_ShowSidePanelAndSyntaxTree = 2547 <-- this is good candidate for you?
cmd_HideSidePanel = 2548
cmd_ToggleSidePanelAndSyntaxTree = 2565 <-- you used this

Re: Some small issues and FR's

Posted: 26.02.2026 21:18
by sl23
Hmm, the 2565 is perfect, but there needs to be one for the other functions too. Maybe it's too much work, idk.
If the Snippets worked this way, it would likely serve as a fix for this issue.

Re: Some small issues and FR's

Posted: 28.02.2026 16:17
by main Alexey
I made small change to the command 2565. only for the cmd for the code-tree, it must work now like the sidebar button.
beta-2 win64
https://github.com/Alexey-T/CudaText/di ... t-15955796

Re: Some small issues and FR's

Posted: 28.02.2026 16:23
by sl23
Omg! Again, perfect! Thanks very much :D