Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas

Popular ideas Here are the most popular ideas ever about notepad-plus.

quick identify window file-type  
Written by jlucg the 17 Mar 10 at 15:33. Global category: Files & tabs. New
Depending on the context, one has different type of files open :
- html, css
- html, php, ...
- .C, .h

or files from different project parts :
- public files / private files
- project Tree, project Apple Tree, Project Fruits, ...

or files from different sources :
- local
- distant live FTP work version (though FTPSync plugin)

Actual interface doesnt provide any way to know at a immediate glance the type of file-s that is-are open.

The idea is to enable the user to provide the definition of the different type of files he is working with, and for each of these types, to define a color. This color would appear obviously on the tab title or on the margin of the filewindow.
9
votes
up equal down
Solution #1: tab colors according to regexp on the filepath and filename
Written by jlucg the 17 Mar 10 at 15:33.
provide the user with a window to define keywords for recognising some files and a color for the recognised files.

If the keyword appear in the filepath and name, then the tab for that file has the color on the tab name thumb (background or border or big dot or margin or other way graphical and immediate to spot)

I give here simple example :

local blue
www orange

would enable all css files to appear with a blue bordered title tab ...

But instead of keywords it could be regexp :
\.css blue
\.html green

...
-2
votes
up equal down
Solution #2: Use the window border undet the tabs instead
Written by cchris the 6 Sep 10 at 11:42.
While the overall idea is attractive, the tab background is used to display text on t,and dealing with the readability of the file name could easily become a challenge.

Also, what to do when a file matches several patterns leading to a different colouring?

A better solution could be to use the border that separates the tab area from the actual document view. Thickening it a bit at high screen resolution, so as to make it at least say .1 inch wide, will help. And in the case of concurrent colouring, alternating colours could be used - thus making it clear whether a CSS file is local or remote, and still showing CSS differently than JS.
2
votes
up equal down
Solution #3: Coloured tabs based on location trough regex
Written by rjd22 the 18 Nov 10 at 09:06.
In MVC it is normal that the files are all on different locations. It would be nice if you could decide the color of the tabs based on the path.

Like if the structure is:

app/controller/news.php
app/model/news.php
app/view/news.php

You could easily decide the tab color by regex:
.*/controller/.*
.*/model/.*
.*/view/.*

This would make it really easy to distinguish what the tab is: a model, controller or view
0
votes
up equal down
Solution #4: Make it possible to choose a tab's color
Written by rgjac the 9 Sep 13 at 14:02.
Right-clicking on a tab would show an option to change its color.

Add a comment or propose a solution >>

Make moving or copying text betweeen buffers easier  
Written by cchris the 4 May 10 at 23:48. Global category: Files & tabs. New
How do you vopy/move text between two documents opened in Notepad++?

There is the good old copy/cut and paste, but it usually clobbers whatever is in the clipboard.

If the buffers are on different views, you can drag and drop text, which is fine. So what if the source and destination are on the same view?

Sure, you can clone the target document to the other view, and then drag text as above. But perhaps this is not a good idea because the views are significant - that is, you have your own rules for putting a file on one side or the other, and then you need to reemmember to remove the cloned document from the other view.
6
votes
up equal down
Solution #1: Use the tabs to make dragging text more convenient
Written by cchris the 4 May 10 at 23:48.
One very convenient way could be, in order to drag text from doc A to doc B on different tabs on the same view, to just drag text to the tab of the target document and dwelling there for a little while (say 800ms). When such a gesture is detected, N++ would change focus to te target document, allowing then to drop the dragged text as if it came from tht document.
0
votes
up equal down
Solution #2: More than 2 views
Written by cchris the 4 May 10 at 23:52.
Of course, an even more versatile solution would be to clone the source document to a third view, assuming the standard two are in use already. This third view could be in a dockable window for convenient placement. And then, if you can have 3 views, you can have N of them.
-2
votes
up equal down
Solution #3: Multiple instances
Written by jslepub the 10 May 10 at 06:40.
You can install multiple copies of N++ in different directories and open more than 1 instance.

Add a comment or propose a solution >>

Current operation seems counterintuitive  
Written by paladineater the 26 Mar 10 at 23:16. Global category: Files & tabs. New
When there are multiple tabs, when you close a tab, it disappears. However, when there is only one tab, when you close the tab, the corresponding file is closed, but a new one opens.

6
votes
up equal down
Solution #1: Settings -> Preferences option to 'Exit when last tab closed'
Written by paladineater the 26 Mar 10 at 23:16.
I am proposing an option be available in Settings -> Preferences that, when checked, causes Notepad++ to close and exit when the last tab is closed.
-1
votes
up equal down
Solution #2: Introduce a state of no document open. All have been closed deliberately.
Written by tadkaliszewski the 19 Nov 13 at 14:47.
My suggestion is to introduce a notion of a state where no document is open because a user has closed all open documents deliberately or has just opened the notepad++ for the first time. For instance in Visual studio it is possible to close all documents and nothing gets opened nor created automatically.

See the 2 comments or propose a solution >>

Inonsistency in sorting of multiple open documents.  
Written by egozentric the 23 Mar 13 at 10:22. Global category: Files & tabs. New
[Typo=] Inconsistency ...

As of v.6.2.3 the Doc switcher lists file in the order they where opened/created.

The file tabs can be arranged manually to any sequence one preferers. And this i suspect a lot of coders with multiple inter-related documents use this to kind of group them together in some sort of sequence that makes sense to them.

We have a NEED to group/sequence our documents.
1
votes
up equal down
Solution #1: Doc switcher should mirror tabs order
Written by egozentric the 23 Mar 13 at 10:22.
1) I would like that the list in the Doc Switcher mirrors this order / grouping. from the Tabs.

3
votes
up equal down
Solution #2: Selectable options of sorting modes
Written by egozentric the 23 Mar 13 at 10:26.
2) Implementing this invites the options to sort by other strategies such as by Alphabetic, by size, by nr of lines, by latest modified/saved etc. default should be == same order as the tabs(manual).

1
votes
up equal down
Solution #3: Interactive listing in Doc Switcher
Written by egozentric the 23 Mar 13 at 10:36.
3) drag and drop functionality within the Doc switcher to move the listed files amongst them selves, Just like in the tabs


1
votes
up equal down
Solution #4: user option setting to use same sorting Doc switcher/Tabs
Written by egozentric the 23 Mar 13 at 11:13.
4) Add as user preference setting. Checkmark if whether to to bind the sorting of Doc Switcher to the sorting of Tabs OR not

1
votes
up equal down
Solution #5: Grouping / nesting Files in Doc Switcher
Written by egozentric the 23 Mar 13 at 11:36.
5) Further option to create labels in a tree (nested) structure list where one can "map" ones documents into logical groups inside the Doc switcher.
Insert separator / group / label / node into file listing
1
votes
up equal down
Solution #6: Additional context sub menus in Doc Switcher
Written by egozentric the 23 Mar 13 at 11:51.
6) Add a context (sub)menu of mutex checkmarks/radio button in Doc switcher.

- Sort files by
- - tab ordering
- - Most recent modified
- - Most recent saved
- - Most recent opened
- - Nr of lines
- - File size
- - Alphabetic
- - Custom/Manual
- - - Move Up / Move Top / Move down / Move Bottom.
- - - insert Separator / Label / Node
- - - Move into node / Move up from node.
- - - group by extension / label
- - reverse selected order
1
votes
up equal down
Solution #7: User selectable color coding and icons selection
Written by egozentric the 23 Mar 13 at 11:59.
7) each file/group/label could show as a different (user selectable) color on the tab(s)
and also selectable icons / Stars / Bangs! etc... (not only the red/blue floppy)
0
votes
up equal down
Solution #8: Use the Project panel to open files related to a project
Written by cchris the 26 Nov 13 at 14:57.
This provides one level of nesting and appears to solve all the grouping issues. If several projects need to be open simultaneously, use multiple instances. The doc switcher is meant to operate on a moderate number of files.

See the 1 comments or propose a solution >>

New setting: Always Move To Other View  
Written by anudedeus the 25 Jan 11 at 13:03. Global category: Files & tabs. New
We could have that setting that would automatically move any new or just opened document to another view, when the current number of opened document = 1.
Examples (when this setting is TRUE):
#1
- Open NPP. Open a document: no changes, as this is the first and only document opened.
- Open another document (by any means, can be via menu or drag'n'drop), or create a new one. This would automatically open in another view.

#2
- Close all documents.
- Drag'n' drop 4 documents to npp. Opens the 1st one in the 1st view, all the remaining ones in the 2nd view.


Cheers,
Alex
1
votes
up equal down
Solution #1: If docs.count =1 and setting=true, open in new view
Written by anudedeus the 25 Jan 11 at 13:03.
Basic logic (suggestion):

-OnNewDocument/OnOpenDocument() events:
if (current document count = 1) and (NewSetting=true) then
Open document in new view
else
open document in active view.

Very simple to implement, I presume.
2
votes
up equal down
Solution #2: Introduce a Lock current view setting
Written by cchris the 26 Jan 11 at 11:39.
Such a setting would cause any newly opened document to open in the view that does not hold the current document. Locking could be shown as a small icon on the status bar; double clicking it would toggle the locking, in addition to a new checkable View menu item.
Since there is no guarantee about the order in which multiple dragged files are opened in N++, what "the first" is depends on too many subtle things. Tinkering with this would be quite user unfriendly.
Perhaps an extra "Move all other tabs to other view" command could be useful as well.
1
votes
up equal down
Solution #3: Use setting only in the simplest case
Written by anudedeus the 27 Jan 11 at 10:12.
"Such a setting would cause any newly opened document to open in the view that does not hold the current document. "
- And what's the problem with that? By default, the setting would be FALSE, until the user goes to the Preferences and change it. The user will be aware of that behaviour, so if he/she doesn't like it, won't use it.
- About the concern about ordering of multiple files drag'n'drop: again, what's the problem with that? Open 1 document (the 1st one that is listed) in 1 view, the rest in the other view. Again, it's a new feature, the users will decide if it suits them or not. They will have to try it for themselves, as the DEFAULT will be false/disabled.

Maybe I should clarify where I got the idea for this setting from: very frequently I drag'n'drop 2 (and only 2) files to the editor, and that's either because one is dependent of the other (in my case, a Delphi .pas unit and its equivalent .dfm file), or because I'm comparing too versions of the same file, to find differences between them.

How about another solution then, like this:
if it's a drag'n'drop
and
number of selected files = 2
and
number of current open files = 0
and
the new user setting = true
then
open file[0] in view 1,
open file[1] in view 2

In this solution, EVERY other circumstance will open the files as it's currently implemented.

(sorry, I had this posted as a comment, but then I realised it's actually another solution, ignore the comment I posted on 26/Jan)

See the 2 comments or propose a solution >>

the default filename of New File  
Written by user-id-2698311 the 13 Jan 10 at 04:52. Global category: Files & tabs. New
can you set the default new file to a unique name?
for example :20091111-1137
0
votes
up equal down
Solution #1: using the date time string as new created file‘s name
Written by user-id-2698311 the 13 Jan 10 at 04:52.
using the date time string as new created file‘s name

eg:
20100112-1
0113-1552
20100113-1352
-3
votes
up equal down
Solution #2: to keep a variable
Written by jtmcroy the 24 Dec 12 at 18:13.
the variable will be increasing by 1 when the file is created, and the filename will be string ("new "+ _counter)
2
votes
up equal down
Solution #3: Code
Written by ubrix the 10 Mar 13 at 23:29.
I been missing this function for sometime, especially since i started using autosave plugin.

To make good use of the auto save plugin the changes below should be done in Notepad++ code. If this could be done in a plugin i would be just as good.

Format i think is good YYYY-MM-DD HHMMSS X
Where X is a counter. Eg. 2013-03-11 002419 6

Buffer.h header file
FileManager class
add this private member
time_t _timeNow; //new member to FileManager

Buffer.cpp source file
BufferID FileManager::newEmptyDocument()

generic_string newTitle = TEXT(""); //No need to say "new "

TCHAR nb1[21];
TCHAR nb2[3];

_timeNow = time(NULL); //Updates time

wcsftime(nb1, 21, TEXT("%Y-%m-0 %H%M%S "), localtime(&_timeNow)); // Prints localtime and formats it to nb1
wsprintf(nb2, TEXT("0"), _nextNewNumber); //I keep to old counter to ensure there wont be duplicate file names, even if u creat 2 new files same second.
newTitle += nb1; // Add date and time to filename
newTitle += nb2; // Add counter to filename

_nextNewNumber++;

Document doc = (Document)_pscratchTilla->execute(SCI_CREATEDOCUMENT); //this already sets a reference for filemanager
Buffer * newBuf = new Buffer(this, _nextBufferID, doc, DOC_UNNAMED, newTitle.c_str());
BufferID id = (BufferID)newBuf;
newBuf->_id = id;
_buffers.push_back(newBuf);
_nrBufs++;
_nextBufferID++;
return id;

See the 2 comments or propose a solution >>

Lots of tabs can become messy and confusing  
Written by highvoltageeric the 22 Mar 14 at 16:33. Global category: Files & tabs. New
I tend to have a lot of files open at one time, a number of them have the same or similar names which can cause confusion when going from tab to tab. If you have a number of projects open, each with a number of files open, and you need to jump between them you can get lost easily and you may have to check a number of taps to find the right one.
2
votes
up equal down
Solution #1: Group tabs for organization
Written by highvoltageeric the 22 Mar 14 at 16:33.
I think a good solution would be to allow the user to create a new tab/group that will allow then to drag any tabs on to it, kind of like how groups act in photoshop.

To make a new group you could right click on one of the taps you want to group and select "Add to new group".
This would make a group tab called "Group1" or something. On the new group tab you could right click on it and change its name and possibly colour, also it would be idea for there to be buttons to close all tabs in the group and a collapse them to take up less room when not in use.

Add a comment or propose a solution >>

Some files in file history are relative, some absolut  
Written by nutznieser the 30 Dec 09 at 11:57. Global category: Files & tabs. New
Allways again, I see absolut paths mixed with basenames in file history in the file menu. I don't found a consequent dependency for it. Gives it?


1
votes
up equal down
Solution #1: Indicate last open files in relation to 'activ tab dir'
Written by nutznieser the 30 Dec 09 at 11:57.
But I have, in my opinion, a good idea. Would the path representaion in dependency to the activ (in tab) opened file realizable? That means, all files in history, that are in the same directory as the file from the activ tab, become showed as basenames, other files in absolut paths.

See the 2 comments or propose a solution >>

Shortcut to change tabs  
Written by xable the 20 Mar 13 at 23:10. Global category: Files & tabs. New
Hi,

Firefox has keyboard shortcuts to change between tabs, it uses

Ctrl+PageUp
Ctrl+PageDown

This allows you to move backwards and forwards between tabs, it's very usefull and time saving and I miss this functionality when using multiple tabs in Notepad++.

It would be brilliant if this feature could be added.

Thank You for looking,
Darren
1
votes
up equal down
Solution #1: Add keyboard shortcuts
Written by xable the 20 Mar 13 at 23:10.
Ctrl+PageUp would cycle through the tabs to the left
Ctrl+PageDown would cycle through the tabs to the right

See the 3 comments or propose a solution >>

Workflow is lost when there are multiple modified files  
Written by bastos_sergio the 28 Nov 13 at 11:28. Global category: Files & tabs. New
Everytime the notepad++ aplication receives focus, it checks whether the files open by it have been altered, and if there are changes it presents the message:

---------------------------
Reload
---------------------------
filename

This file has been modified by another program.
Do you want to reload it?
---------------------------
Yes No
---------------------------

If there are "n" open files changed, the popup message appears "n" times, and for each message the selected tab is altered.

This breaks our workflow, since everytime we focus on notepad++ we have to deal with "n" messages, and in the end have to refind the tab we were working on.
-1
votes
up equal down
Solution #1: Only check for file changes for the selected tab
Written by bastos_sergio the 28 Nov 13 at 11:28.
The application should be altered to present the message:

---------------------------
Reload
---------------------------
filename

This file has been modified by another program.
Do you want to reload it?
---------------------------
Yes No
---------------------------

only for the selected tab.
1
votes
up equal down
Solution #2: Check for file changes, then restore focus to the newly opened file
Written by hikernick the 13 Dec 13 at 15:30.
Run the updates for the other opened files, then give focus to the file the user just opened.

See the 2 comments or propose a solution >>

mouse scroll on tabs. It works in Firefox  
Written by mr_di the 18 Feb 14 at 07:38. Global category: Files & tabs. New
mouse scroll on tabs. It works in Firefox. This feature need if in notepad++ opened many tabs, and needs for easy navigation between opened files.
Just move mouse on bar with opened tabs and scroll by mouse wheel
1
votes
up equal down
Solution #1: Please realize this feature
Written by mr_di the 18 Feb 14 at 07:38.
Please realize this feature. It's easy and very useful.
Thank you

Add a comment or propose a solution >>

Option to Perform Macro on All Open Buffers  
Written by thezeusjuice the 24 Sep 10 at 07:39. Global category: Files & tabs. New
NotepadPlusPlus's macro capabilities are extremely useful, but they are limited to one file at a time. Thus, if I have an operation I want to perform on 30 .txt files, I must open them all and then activate the macro manually for each and every one individually. There should be the option to perform it on all open buffers.
0
votes
up equal down
Solution #1: An Additional Checkbox in the "Run a Macro Multiple Times" popup.
Written by thezeusjuice the 24 Sep 10 at 07:39.
In the "Run a Macro Multiple Times" popup window, place a checkbox labeled "Run on All Buffers Open", defaulted to unchecked.

If that checkbox is checked by the user, then Npp should perform the macro action(s) on all buffers.

Add a comment or propose a solution >>

Tab Groups  
Written by dargmuesli the 17 Jan 14 at 18:12. Global category: Files & tabs. New
I have many tabs open. I want to sort them!
-1
votes
up equal down
Solution #1: Tab Groups
Written by dargmuesli the 17 Jan 14 at 18:12.
Add some kind of tab groups to make the program more sorted!
0
votes
up equal down
Solution #2: Add it.
Written by wiloh95 the 25 Jan 14 at 16:27.
I know nothing of how hard this is to add but I don't imagine it being too hard :)

Add a comment or propose a solution >>

bookmark the list of opened files  
Written by alfredopacino the 8 Apr 14 at 20:48. Global category: Files & tabs. New
i guess the developers of any languages will find this helpful:
developing a program or site you usually have several text file opened (tabbed in notepad++), but sometime you have to do something else and you don't want 30~ file tabbed.

So it could be helpful save the list of the opened files:
example: i have opened index.php, style.css, style1.css, script.js.. and so on.. i want to "bookmark" this list, so even if i close those tab i can reopen those with ONE click!

obiouvsly you should manage multiple lists, that's the use for that :)
my brain is melting out of my ears and i want to stop working on software1 and start working on software2? i close the files belongs to software1 and open the software2 files very easily with 1 click! :)

Developer comments
That' what panels and sessions are for. You may want to use the Session Manager plugin. Also the File -> Open all recent files can help as well.
0
votes
up equal down
Solution #1: just memorize the list
Written by alfredopacino the 8 Apr 14 at 20:48.
just memorize the list of files (adding a button "SAVE FILE LIST"), the users would set a name for that list and add this in "file" dropdown menu

Add a comment or propose a solution >>

Option to show message when a file is already loaded  
Written by tandrews the 22 Apr 12 at 02:33. Global category: Files & tabs. New
Today I had a bit of a scary realization about how NPP works. I'm using 5.9.8 unicode.

So today I had NPP open, launched Windows explorer and navigated to a file I wanted to edit. I did a right-click and chose NPP for the "open with" program. I made changes and saved it (but did not close it).

What I didn't realize is that I already had the file open in NPP. When I switched to the tab where I'd loaded it previously today, it showed the old version. It's scary that I didn't get some sort of message that it was already loaded. If I had changed the older version and saved it, I probably would have wiped out the more recent changes.

I =do= have Settings->Preferences->Misc->File Status Auto-Detection ENABLED.
-1
votes
up equal down
Solution #1: Add logic to check if a file is already loaded, and option to give message
Written by tandrews the 22 Apr 12 at 02:33.
Because this feature I'm suggestion may not be desirable by everyone who uses NPP, I'd like to have a new Settings option that when enabled would give the user a message that they are about to open a file that is already loaded. I would envision a check to see if the already loaded file has been modified but not saved. If it has been modified, ask the user if they want to discard the changes. If they say YES, NPP can do a File->Reload from Disk operation. If they say NO, don't open a new copy of the file but instead switch to the tab where it is already loaded.

See the 2 comments or propose a solution >>

Allow multiple file selection in Doc Switcher...  
Written by jzorn the 29 Jul 13 at 01:50. Global category: Files & tabs. New
allow the selection of multiple files in the doc switcher and create a new menu for multiple file select - i understand a few of the right click menu options might not be compatible with all the RC menu items. i ask of this because it makes deleting multiple files easier, but the most important aspect would be to work with FTP uploader and allow multiple selected files to be uploaded at once.
regards
-1
votes
up equal down
Solution #1: allow the selection of multiple files in the doc switcher
Written by jzorn the 29 Jul 13 at 01:50.
multiple file selecting with ctrl click - just like in windows, and allow extensions to access and parse these files (in my case i just think about multiple upload using the ftp extension but im sure there might be more features possible) regards

See the 1 comments or propose a solution >>

Working on many projects simultaneously  
Written by wilkk the 17 Sep 13 at 10:01. Global category: Files & tabs. New
I'm working on a six projects based on the same framework, so every project contains files named the same.
Having a six tabs named e.g. "style.css" is a bit confusing (and no, I can't change names because of a framefork requirements).
-1
votes
up equal down
Solution #1: Grouping tabs into named groups/projects
Written by wilkk the 17 Sep 13 at 10:01.
New item in context menu of a tab:
Move tab to... >
groupA
groupB
...
groupN
---------
New group... //prompt for group name.

On toolbar: Dropdown with list of a groups/projects. Choosing a group will display only tabs assigned to that group. If tab has no assigned any group, stays visible (or is moved to "Unsaved group"?).

Opening a new file would automatically assign it to currently selected group.

Add a comment or propose a solution >>

Directory label for same name files.  
Written by patharding88 the 6 Jan 14 at 02:19. Global category: Files & tabs. New
I often work with same name files whether it be style.css, index.html or header.php.

Working between a theme and child theme, or between local and ftp can be tedious.
-1
votes
up equal down
Solution #1: Display first "different" directory before file name.
Written by patharding88 the 6 Jan 14 at 02:19.
My suggestion is if the file name is the same display first different directory.

For example.
website1/css/style.css
website2/css/style.css
website3/style.css
website4/assets/style.css

the tab result would be similar to
/we...1/style.css
/we...2/style.css
/we...3/style.css
/as...s/style.css

I wish I could be more help :S

Add a comment or propose a solution >>

always save file in an explicitly defined folder  
Written by pimpf59 the 2 Dec 11 at 13:54. Global category: Files & tabs. New
After opening a File with Double-Click and making some changes, pressing the SAVE-Button in the Toolbar (or SAVE in File-Menu) will result in saving the changed File at it's original Position (overwrite).
-6
votes
up equal down
Solution #1: always save file in an explicitly defined folder
Written by pimpf59 the 2 Dec 11 at 13:54.
I guess it would be fine to have an Option (i.e. in the Settings->File), that explicitly tells NPP to save a File always in a predefined Folder (maybe with something like a Sub-Option "Confirm yes/no?" or somethin like that), no matter where that File originally has been opened from.

See the 2 comments or propose a solution >>

Syndicate content