Comments (6)
You're right. Archived tasks will loose their connection to the parent. I'm thinking to find a way to keep the connection somehow.
One easy solution would be to fold the parent if you want to hide its children.
Hiding and showing is not an option since it's a plain text file and PlainTasks does not change the content of your file on the fly.
from plaintasks.
I see.
So if sublimetext itself support hide lines, you should be able to finish the show and hide feature very easy, right?
from plaintasks.
Hi aziz,
I just find out that SublimeText has a feature "Code Folding". The path to it is "Edit -> Code Folding -> Fold". It is similar to the Arrow fold on left bolder just like you used now. But it can simply hide selected lines, without cascade relationship. My opinion is that you can either use this feature to hide lines of completed task, or put completed tasks in very deep level, such as 9. Then you can call the fold level 9 in your plugin to hide completed tasks.
Hope it is helpful and waiting for good news from you!
Thanks,
Jiming.
from plaintasks.
folding is a viable solution but it still look ugly (since you still get ...
image). it will look like this:
from plaintasks.
Yes, it is ugly. But better than loose the relationship between parent. I think you can keep current archive and add a new hide feature, like Ctrl+Shift+A to archive completed task. Ctrl+k, Ctrl+a hide completed tasks. Let user themselves to decide which one to use. What do you say?
Thanks
Jiming
from plaintasks.
#57 would resolve relations,
or you can try this plugin to fold: https://github.com/davidpeckham/FilterLines
from plaintasks.
Related Issues (20)
- Sublime Version 4 has a display problem HOT 2
- Sublime Version 4 has a display problem
- Auto completion with `tab` doesn't work? HOT 1
- [Feature Request] Complex export system
- Hide date(s)
- Can I have different theme for each .todo files? HOT 1
- Autocomlete on s produce sftp instead @started(21-10-29 14:50) HOT 1
- Color of checkmark changed from green to violet ✔ HOT 1
- ClearType
- Can new types of status be added for the task? HOT 3
- Archiving tasks with indented notes underneath removes indentation HOT 5
- Alt + o shortcut does not jump to text
- Broken for Windows 11 / Sublime Text 4? Hotkeys not working HOT 2
- Open Link/File (Alt+O) does not work and throw errors
- Different syntax hilighting for started tasks
- Was able to archive in org-mode once, now errored out
- Archive in Org-Mode: add an option to put the archive file in a subfolder
- Archiving all tasks in a folded project concatenates the next project to the first
- Option to fold the Archive section
- Customizable Archive Subfolder for Enhanced Organization HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plaintasks.