Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Helix only lists "text" and "editor" as keywords: https://github.com/helix-editor/helix/blob/3a6c9747b8de3350c38ba504916233d9d4c33c5c/contrib/Helix.desktop#L82
Should we do the same and only use this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was done to align with KWrite, which in my opinion is quite easy to search for - being able to find it with "Windows-like" keywords is convenient.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Edit and Notepad are two very different things, even on Windows.
I don't think people expect searching for "记事本" (Notepad) and getting a TUI editor...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, but
notepad.exeandwordpad.exebeing different things are really beside the point - both KDE and GNOME relies heavily on search-based navigation, and so does more traditional desktop environments (more experienced users are more likely to just use Alt-F2), same goes for WMs.The second point I can agree with, but then this .desktop entry is useless - "why wouldn't they just run
editin a terminal?"There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And, to clarify, I do not expect everyone to install or package this .desktop entry, it's here as a reference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've discussed this and would currently prefer just
text;editorlike Helix uses. Could you make this change? If we ever take on more complex features (like VS Code) we could extend the list.