nppfavorites icon indicating copy to clipboard operation
nppfavorites copied to clipboard

I cannot insert more than six favorites files

Open MR-Diamond opened this issue 6 years ago • 6 comments

Notepad ++ v7.5.9 on Windows 7 Ultimate 64 bit.

I edited the NppFavorites.ini file to add my favorites files:

[NppFavorites]
favFile0=C:\path_to_file1
favFile1=C:\path_to_file2
favFile2=C:\path_to_file3
favFile3=C:\path_to_file4
favFile4=C:\path_to_file5
favFile5=C:\path_to_file6
favFile6=C:\path_to_file7
favFile7=C:\path_to_file8
favFile8=C:\path_to_file9

But inside Notepad++, in the menu Plugins > NppFavorites I can only see six favorites, from favFile0=C:\path_to_file1 to favFile5=C:\path_to_file6; there is no way to see C:\path_to_file7, C:\path_to_file8 and so on, if I add more favorites.

MR-Diamond avatar Oct 28 '18 13:10 MR-Diamond

I typically have a lot of open tabs and was hoping this plugin could help minimize this by having a place where I could keep a list of favorite files so I don't have to always have them open. I tried the same thing as MR-Diamond, with the same result, before seeing this issue. I believe this is due to the fact that references to favFile0, favFile1, favFile2, favFile3, favFile4, and favFile5 are hard coded in the PluginDefinition.cpp source file. There are three sections in this source file that have these references.

While I am not a programmer, I would think that it would be possible to use a variable to define the favFile# entries and their associated paths, e.g., favFile(i) and path_to_file(i).

Thanks for you help.

psaine avatar Apr 11 '19 12:04 psaine

Thanks helder, for your very useful plugin.

I liked that it shows the full path of the favorites, that have already showed to me that I had stored a wrong file with the same file name of the other that I indeed wanted to store, allowing me to fix the error.

As an improvement, I also ask you to allow more than only 6 favorite files, even without allowing keyboard shortcuts for them, what I don't need. In fact, I would preffer if the plugin had only 1 keyboard shortcut, to open its list of favorite files, from where it already is very easy to select any file we want to open.

Thanks again.

Marcos Cançado Ribeiro

Cambeiro avatar Apr 21 '19 00:04 Cambeiro

if possible, fix the plugin and make about 20 paths. paths after the 9th you can not use keyboard shortcuts only the path. it would also be very convenient if a button appears on the toolbar to quickly click and open the list, now through the menu for a long time using the plugin. can you do that?

OmlineEditor avatar May 15 '20 13:05 OmlineEditor

very convenient if a button appears on the toolbar to quickly click and open the list

JediSQL avatar Feb 21 '21 19:02 JediSQL

Man, I came to this repo to leave feedback, but it seems like everyone has had the same issues as me and beat me to the punch lol. So I'll just keep it simple and second this request as well. Thanks for making such a useful plugin!

h3xpl01t avatar Mar 25 '21 07:03 h3xpl01t

Please, make the plugin to display at Plugins menu > NppFavorites command how many files we add to the NppFavorites.ini file, allowing their opening from this menu, even without shortkeys for each file.

It would also be very good to allow us users to choose the menu name for each file, regardless of the real filename, specially to allow us to avoid the display of the whole path of the file, displaying instead only its name.

Thank you.

Cambeiro avatar Nov 27 '22 05:11 Cambeiro