CherryTree - A hierarchical note taking application, featuring rich text and syntax highlighting, storing data in a single xml or sqlite file.
Notepad++ - A free source code editor which supports several programming languages running under the MS Windows environment.
Joplin - Joplin is a free, open source note taking and to-do application, which can handle a large number of notes organised into notebooks. The notes are searchable, tagged and modified either from the applications directly or from your own text editor.
Snappify - snappify is a great tool to create and adjust beautiful code snippets easily.
Zim Wiki - Zim is a graphical text editor used to maintain a collection of wiki pages. Each page can contain links to other pages, simple formatting and images.
Boostnote - Boostnote is an open-source note-taking app.