-
-
Notifications
You must be signed in to change notification settings - Fork 954
Feature Request: Control+F to find within Help section, or filter. #3158
-
Adding the ability to search for a particular function/synth/fx/sample/lang via hotkey would speed up learning and being able to use the help as reference, especially if the search result would be both the info page for the thing as well as instances where the thing appears within the tutorial examples.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 7 comments
-
Markdown browsers that support folder directories handle this well. You can find the markdown files in the repository.
Notable supports searching and directories. Place the md files in <notable-data-path>\notes\sonic-pi
Beta Was this translation helpful? Give feedback.
All reactions
-
Agreed that support for searching (both within the help and the code) would be nice. However, until we get the ability to modify shortcuts, control-f is already assigned and unavailable.
Happy for people to propose how they might add this feature and to discuss plans.
Beta Was this translation helpful? Give feedback.
All reactions
-
I'm not an erlang person at all but it looks like there are a few options for document search on this list
Beta Was this translation helpful? Give feedback.
All reactions
-
@jeremymeyers thanks for this - but the GUI is currently written in C++ using Qt. We use Erlang for all the UI currently and with plans to suck in aspects of the Ruby server in the future.
Beta Was this translation helpful? Give feedback.
All reactions
-
This may be above my current knowledge level. I'm happy to help hunt for FOSS solutions if the technical need could be specifically stated :)
Beta Was this translation helpful? Give feedback.
All reactions
-
There is QHelpSearchEngine build into QT https://doc.qt.io/qt-5/qhelpsearchengine.html
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi
For reference, the code for shortcuts is found here:
https://github.com/sonic-pi-net/sonic-pi/blob/dev/app/gui/qt/mainwindow.cpp#L535
Roughly from Line 535 to 630, with the relevant functions being called from other files
@samaaron it was previously mentioned above that control F is already mapped - to the "Move forward one character" function as I understand it.
I am playing with an idea to understand how things work:
- if we had to swap the mappings around for certain commands, would any other changes need to be performed?
If you can detail what those necessary changes are, I'll start to look into it :)
My goal here is to create an enjoyable experience. The holy grail is for customizable keymaps for users (optional Vim/emacs/custom keymaps, etc)
Beta Was this translation helpful? Give feedback.