Recently I decided that I was going to solve the problem of: I easily write inline TODO comments while I work on code, but then have difficulty keeping track of them and getting my head back into the state of things later. While there is IDE support for such things, it's usually not exactly the right interface I want. So I made a tiny CLI app that scans the source for TODO and FIXME lines and presents a menu of files…
Related to this. I write comments for TODOs that I want completed before I commit with a special prefix like: //hhh I want this to be done before I commit. Then have a git pre-commit hook that scans for "//hhh" and aborts if it's found.
The Plain Text Project
131–140 of 208 posts
Re: The Plain Text Project
#132I really feel like this site should be in plain text.
Re: The Plain Text Project
#133I use this plain text planner / calendar every day and I love it, if I can say so myself, since I made it too. I've been using it for a few years now and I can say that it has definitely made me more productive. https://crushentropy.com/ You can plan and log your day in plain text and it visualizes your schedule. Markdown for planning, if you will.
Re: The Plain Text Project
#134Recently I decided that I was going to solve the problem of: I easily write inline TODO comments while I work on code, but then have difficulty keeping track of them and getting my head back into the state of things later. While there is IDE support for such things, it's usually not exactly the right interface I want. So I made a tiny CLI app that scans the source for TODO and FIXME lines and presents a menu of files…
From the patent (edited down a bit):
> According to various example implementations of the invention, a task list facilitates code development by assisting developers in keeping track of and managing a variety of tasks, such as errors to be corrected, opportunities for optimization, and other user-defined tasks. As the developer edits source code, warnings and coding errors are detected and inserted as tasks in a task list. The developer can also embed keywords known as comment tokens in the code. These comment tokens are detected and used to define tasks.
> [...]
> Tasks can also be identified using tokens or keywords. These tokens or keywords typically preface comment lines in the code and may include predefined labels such as, for example, “UNDONE,” “TODO,” or “HACK,” as well as labels that are defined by the individual developer. If the source code has no syntax errors, the parser [...] determines whether any of the keywords are present in the source code[.] If so, [it] extracts the comment from the source code and uses the tag to determine the priority of the task. The task is then inserted in the task list[.] For example, if the source code contains the comment, “/TODO: Need to add copyright text/”, the parser [...] adds the task “TODO: Need to add copyright text” to the task list with a priority rating assigned to the “TODO” tag. [1]
Re: The Plain Text Project
#135Re: The Plain Text Project
#136Earlier quoted context omitted.
Markor works well on Android.
This is what I'm using now, and it seems to be working well although I'll point out that it is nagware. I'll put up with the intermittent begging for donations over ads, in-app purchases, and data mining you'd find on other apps.
Re: The Plain Text Project
#137Does anyone know of a system for managing contacts in plain text? I would love some CLI I could use to fuzzy search contacts, making it easy to grab info to my clipboard for using email clients like mutt or aerc.
tre-agrep -3 "Joohn Doe" contacts.txt|cut -d':' -f1Re: The Plain Text Project
#138Recently I decided that I was going to solve the problem of: I easily write inline TODO comments while I work on code, but then have difficulty keeping track of them and getting my head back into the state of things later. While there is IDE support for such things, it's usually not exactly the right interface I want. So I made a tiny CLI app that scans the source for TODO and FIXME lines and presents a menu of files…
Isn't this exactly like how cscope works?
Re: The Plain Text Project
#139Does anyone know of a system for managing contacts in plain text? I would love some CLI I could use to fuzzy search contacts, making it easy to grab info to my clipboard for using email clients like mutt or aerc.
Re: The Plain Text Project
#140Earlier quoted context omitted.
I use IntelliJ as well for years, but don't underestimate grep -r "# TODO" .
This only works depending on how diligently you formatted those TODOs. Before you know it your regex explodes. I use IntelliJ as well, so I don't have to think about these problems.