aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.md8
-rw-r--r--packages/finder/main.py1
-rw-r--r--packages/finder/plugin/searcher/file/name.py1
3 files changed, 8 insertions, 2 deletions
diff --git a/TODO.md b/TODO.md
index 0530be4..bdbf21c 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,5 +1,12 @@
# TODO
+## Improvements
+
+* [ ] Abstract/generalize plugin load logic.
+* [ ] `FinderPluginFileNameSearcher.setPath`: check if path exists.
+* [ ] `FinderPluginFileXdgOpener.open`: check if file actually exists (and if
+ it's not a dead symbolic link etc).
+
## UX
* [ ] Results using a select box instead of a text buffer?
@@ -45,6 +52,7 @@
* [ ] Search processing regexps or not (`text` or `re.escape(text)`).
* [ ] Sorting criteria.
* [ ] Whether to list folders (and not just files).
+ * [ ] Follow/unfollow symlinks.
* [ ] Non-toggles:
* [ ] Refresh interval.
* [ ] Terminal size polling interval.
diff --git a/packages/finder/main.py b/packages/finder/main.py
index 949b847..40a97a3 100644
--- a/packages/finder/main.py
+++ b/packages/finder/main.py
@@ -169,7 +169,6 @@ class FinderMain():
)
async def load(self):
- # TODO: logic should be abstracted/generalized
from .plugin.searcher.file.name import FinderPluginFileNameSearcher
from .plugin.opener.file.xdg import FinderPluginFileXdgOpener
diff --git a/packages/finder/plugin/searcher/file/name.py b/packages/finder/plugin/searcher/file/name.py
index b9c631c..4388a70 100644
--- a/packages/finder/plugin/searcher/file/name.py
+++ b/packages/finder/plugin/searcher/file/name.py
@@ -22,7 +22,6 @@ import os
import re
class FinderPluginFileNameSearcher():
- # TODO: check if path exists
def __init__(self, path):
self.setPath(path)
self.items = []