Do you use an "Everything Bucket" app or a personal wiki type app for your coding, things like maintaining code snippets archive and programming notes?
In the non-coding realm, people often talk about using Evernote, OneNote, etc. In the coding realm, there seem to be a few apps such as:
Boostnote
MedleyText
CherryTree
Do you use an app like these? Or do you just use text files and folders? What would you recommend?
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.
An "Everything Bucket" - no, I've tried it and it's too rigid for my needs, and has me duplicating work (which I hate). Here's what I have found works best for me as a project manager/developer:
Trello - for higher level planning, keeping track of things I want to accomplish, and todo lists. I don't pay for their service because you can create private projects without paying.
Waffle - for GitHub Task assignment from the higher level planning done in Trello, and project management because I don't like using Tasks or Projects from within GitHub, so I pay to have a nicer GUI to manage project workflow.
GitHub - backs up my repo's, has wikis to document the project, and keep it together with the repo. I pay so I can keep most of my repo's private.
The above, is more about project management and development workflow, while below is more about what you are asking about which could be all in one, if I could find a plugin to properly display code snippets on WordPress (I have not liked any of the ones I have used over the years).
GitHub Gists - to document code snippets (mostly for referencing to from my blog posts, and also documenting my shell scripts).
Closest thing to an "Everything Bucket" is a WordPress blog where I "document" a lot of stuff that doesn't fit into a GitHub repo (like server admin), and often referencing my GitHub Gists where I find it easier to document code (then within WP blog posts), and also to keep track of links that I find useful so I don't have to deal with another bookmarking service shutting down!
I use Webstorm and other JetBrains editors as my IDEs. They have a Scratch Files feature where I put random notes and snippets. If the snippet is useful, I'll turn it into a live template. I also include a git-ignored file named todos in my projects, so that I can add // TODO: comments there that will be checked at commit time.
I tend to use OneNote for my everything bucket. Note that the key phrase there is everything. It's not ideal for code but it is pretty good at organizing thoughts. I can mix code snippets with screenshots and todo lists.
I also use git for code that I need to checkout and codepen for visual code sharing.
That said, I'm a frontend developer. My code rarely lacks a visual component.
Gergely Polonkai
You have to believe in things that are not true. How else would they become?
As some might know, i’m an Emacs user. I have yasnippets installed almost since i started using it.
YASnippet comes with a bunch of snippets, and there is also a separate package that adds a lot more. And it can also be extended with your own.
For organising, it’s also nice, as it groups snippets by major mode (ie. file type) so i have snippets for Python, HTML, ELisp, and more.
For documenting, the snippets can have some comments bundled with them, and if you name your snippets good, it’s easy to find them anyway.
As an added bonus snippets can have placeholders in them which you have to fill before inserting their contents. Thus, i just select the
defprotsnippet while coding in C, enter a value forname, and i have an#ifndef“protection” added, my cursor blinking where$0is.# -*- mode: snippet -*- # name: Protect with ifdef # key: defprot # -- #ifndef ${1:name} # define $1 $0 #endif /* $1 */