0

As most of us, I work on several development projects. I have few copies of these source code, for different customers/processes etc.

I am looking for a file based note taking in Notepad++ or any other source code editor. The picture below explains what I am looking for.

enter image description here

Why am I requesting this when I can have version control?

  • It makes it easy to track some local changes.
  • It will help you when in future, you are looking at the customer specific file, of the changes that you made previously (history).
  • There is no additional version control etc needed. Its just a flat file that is associated with each of your source code file.
  • It loads the changes in the side bar and can be edited or new notes can be added.

I understand that all of the above can be done using a good version control system. But it is an overkill for what I am trying. And it just becomes an constant overhead for what I am trying to achieve.

Hope, I conveyed what I am looking for. Thank you for reading.

DigitalNomad
  • 1,918

1 Answers1

1

As far as I know, no such keep-metadata-in-separate-but-associated-file plugin exists for Notepad++. Such could be written, using either a flat file or a database for tracking the changes. But really, that's re-implementing a simple version control software; why not use the subversion or git already available and well-established and industry-standard?

That said, using the PythonScript plugin, you could probably automate things -- when you open files that match a certain extension (like .c), you could have the script also open the associated .notes file in the "other view" tab. You could have it auto-save the .notes when you save the .c.

I have NppExec plugin scripts that I've added to my right-click context menu that pop up a input window to ask for the commit message, then call svn commit on the current file or current directory, which automates my usage of svn as the version control for this. It could, in theory, be bound to the buffer-save event or the buffer-close event, so that you always commit (and thus include a change message) on every save / or whenver you close that file.

PeterCJ
  • 660