When it comes to snippets/examples I have this thing called a "file directory" on something known as a "hard drive". It's called "D:/snippets/" that contains several other directories named for categories of code type/functions, that I then open another editor window, copy the snippet into, and hit "save" giving it a filename that explains what the snippet is.
When it comes to documentation and notes, I use a similar directory structure, and whatever word processor is convenient.
Which laughably right now for me is Word '97 since it runs flawless under 10... But right now I'm of the opinion the best office suite for Windows 10 or Linux is Office 97. I'll stack Office 97 under Wine up against ANY modern 'native' office suite for unix-likes. Over the past 30 years they've gotten bigger, slower, and the user interfaces have become less and less useful. It started with that "ribbon" crap, and it only got worse from there.
But what do I know? I still use Paint Shop Pro 7.0.4 as my go-to for image editing.
I think there's a level of system proficiency that goes hand-in-hand with this. Good organizational skills and in-built OS functionality goes a long ways towards not needing the crutches. Many "tools" just start to feel like pointless redundant bloat at that point.
Particularly as OS level search tools have matured into such powerful beasts. Why waste third party tools on functionality the OS provides out-of-box or that any decent programmer's editor already provides?
Creating searchable text, editing it, and organizing it into directories isn't rocket science, and certainly doesn't warrant a dedicated tool.
MORE SO if that tool ties you to any one OS platform or worse, non-standard proprietary data formats. Device and OS neutrality are nice.