Nightcode icon indicating copy to clipboard operation
Nightcode copied to clipboard

Goto-file feature

Open kumarshantanu opened this issue 12 years ago • 2 comments

In large projects a shortcut to quickly find files based on fuzzy-match is of immense help. One possible way to have this in Nightcode could be to add a Go to text-box in the left pane. An apt keyboard shortcut should be used; other editors' shortcuts are listed below:

Editor Shortcut
Sublime Text Ctrl+P (go to anything)
Emacs Textmate mode Windows/Cmd+T (go to file)
Eclipse Ctrl+Shift+T (go to Java class), Ctrl+Shift+R (go to file)
IntelliJ IDEA Ctrl+N (go to Java class), Ctrl+Shift+N (go to file)

kumarshantanu avatar Jan 02 '14 10:01 kumarshantanu

One thing I've been thinking about is making use of the empty space in the editor pane when a folder is selected. We could display a search box there, which only searches within that folder. It would also be great to use that space to display a visual representation of all the files within it. I plan on exploring this more in the near future, and I think it will overlap fairly well with this feature idea.

oakes avatar Jan 03 '14 08:01 oakes

+1 Using the empty space in editor pane is a good idea! It can also be used for other related features, e.g. grep within files.

kumarshantanu avatar Jan 03 '14 08:01 kumarshantanu