Sublime Forum

Feature Request: ctrl+shift+g

#1

Hello! Got a Sublime Text Feature Request:

Big fan of having folders and projects setup for different windows & utilising ctrl+shift+f to keyboard warrior my way around my project. (in java for example it’s nice to ctrl+shift+f "class " to get to the file easily. sucks having to use my mouse to select the search result tho!

I’ve been thinking, It’d be great if ctrl+shift+g opened a prompt similar to ctrl+g but for the whole folder-space, in which you can start typing filename:line OR!! filename::function utilising the same f12 function following logic. similar how f12 with multiple results has a dropdown, it could actively show options for filenames, so you can partially complete the name until the you get the top result and type : to “confirm” sublime’s got the correct 0th search result, then it’s just ctrl+g logic (or with the cool extension :: to start searching function names B)

EXTENSION! a way to use ctrl+g to find a function in the current file too? double tap ctrl+g? similar to FileName::FunctionName and FileName:LineNumber syntax i’ve seen around the block a bunch, you hit ctrl+g it’s one :, double tap is like a :: input?

thank u for your time,

  • ramar
0 Likes

#2

This functionality is provided by goto-anything (ctrl+p). See https://docs.sublimetext.io/guide/usage/file-management/navigation.html

0 Likes