Skip to content

Improve key-based "navigate to resource..." action #3433

Closed
@jmesserly

Description

@jmesserly

One of my favorite features of Textmate and Sublime Text (and even Visual Studio) is the ability to easily jump to a file by using shortcut key + typing part of the file name. I can almost get this in the Dart Editor using the Ctrl+3 search box. However, I've run into a few issues:

The file is missing semi-randomly. Some files that are clearly in my file tree, and definitely being analyzed, don't show up. I'm not sure how I get it into this state. It seems like if you find a file, and then (without leaving the search box) shift+home and type another file name, sometimes it doesn't show up. However, leaving the search box and coming back will usually find it.

Second issue: if there's only a file result, I wish it would go to the file instead of defaulting to a search when I hit enter. I end up doing "Down arrow, down arrow, enter". Or maybe a different key should bring up a file search? In Sublime Text it's Ctrl+P, in Visual Studio you type "of <filename>" where of stands for open file (http://www.alteridem.net/2007/09/11/quickly-findopen-a-file-in-visual-studio/). But it lets you disambiguate your intent when searching.

Metadata

Metadata

Assignees

Labels

closed-not-plannedClosed as we don't intend to take action on the reported issuetype-enhancementA request for a change that isn't a bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions