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

Change Hotkeys for InstaSearch #26

Closed
Tracked by #130
x87 opened this issue Apr 12, 2020 · 4 comments
Closed
Tracked by #130

Change Hotkeys for InstaSearch #26

x87 opened this issue Apr 12, 2020 · 4 comments
Labels
priority:p2 Medium priority scope:IDE type:nice-to-have minor enhancements
Milestone

Comments

@x87
Copy link
Collaborator

x87 commented Apr 12, 2020

Currently Instasearch uses Ctrl+Num[2,4,6,8] combos. The Num keys are hardly available on laptops that makes this feature unusable.

Proposal: change hotkeys to Ctrl+ArrowUp/Down/Left/Right. Deprecate old combos, keep for a couple versions then remove.

@x87 x87 added priority:p2 Medium priority type:nice-to-have minor enhancements scope:IDE labels Apr 12, 2020
@x87
Copy link
Collaborator Author

x87 commented Aug 31, 2020

Need to support functions
https://docs.sannybuilder.com/coding/data-types#labels

@x87 x87 mentioned this issue Aug 2, 2021
48 tasks
@x87 x87 added this to the v3.8.0 milestone Aug 2, 2021
@wmysterio
Copy link

I would like to be able to bind all available keys. After "Visual Studio" I automatically press "F5" to compile instead of "F6 / F7"))

@x87
Copy link
Collaborator Author

x87 commented Aug 3, 2021

@wmysterio good point. I added F5-F8 to options. Can't make all hotkeys customizable at this moment as I'm wrapping up the release, but I will be making more hotkeys customizable in the future.

@x87
Copy link
Collaborator Author

x87 commented Aug 3, 2021

InstaSearch is called "Navigate to Symbol" in v3.8.0 This function has been changed from the previous releases.

The default combo is Alt+Right.
If the cursor is under a label or a mission name (as in 0417: start_mission MISSION_NAME), or a function (my_func()) IDE will navigate to the label (or the mission/function first line of code).

The default combo to return back to the previous location is Alt+Left. Sanny Builder supports deep navigation (Navigate to one label, then to another, and so on and so forth), and returning back to previous locations.

In the future I want to expand this feature to be able to navigate to other points of interest, for example from the constant or variable name to the declaration.

Previously InstaSearch allowed to search the word under the cursor with Ctrl+Num4 or Ctrl+Num6. This functionality has been removed.

@x87 x87 closed this as completed Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:p2 Medium priority scope:IDE type:nice-to-have minor enhancements
Projects
None yet
Development

No branches or pull requests

2 participants