Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The most important missing feature of Notepad++ is the ability to search for a file withing a "project" using some ctrl+p functionality. I know that Notepad++ doesn't have a "project" concept but this could work like this:

* User presses ctrl+p

* Notepad++ searches all parent folders of the current open file until it finds a .git directory, then stops. If no .git file is found abort

* It creates an index of the files contained in the folder with the .git directory recursively (this may take some time when done for the first time but after the 1st time the index will be kept in memory and no time should be needed)

* It displays a box that the user can type parts of the file and moves focus to that box (i.e after the ctrl + p the user can write his query)

* It uses the index to present a list of files that match the user query; the user can navigate the list using the arrow keys

* The user selects a file and can open it in a new tab, optionally he could also replace the current tab or open it in a split pane



The search in Notepad++ has a project based search [0]. Never used it myself because the Find in Files (Ctrl+Shift+F) feature has been good enough when using the Directory and in all sub-folders options.

[0] https://npp-user-manual.org/docs/searching/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: