Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.9k
-
Edit a text file by simply clicking on it would be great... It can open a .txt so why can't it open a .py or .rb etc? |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
Replies: 3 comments 12 replies
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I’ll add those file types to the editor list. admin edit: see#975 |
BetaWas this translation helpful?Give feedback.
All reactions
❤️ 1
-
Indeed. I've recommended that we use that approach instead of managing every file extension. You can track the work on that here:#975 |
BetaWas this translation helpful?Give feedback.
All reactions
-
can I open editor for .txt file by some command? I can open editor by clicking on file in filessytem explorer. |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
The idea for my text editor is to use it with the filesystem view. It's very hard to add commands into the terminal (especially for windows) that works with eDEX, so unfortunately it is not possible to do the command.
(comment link:#973 (reply in thread)) Expanding on this comment, I could probably add a hotkey that opens a blank text editor, and I could add another button onto the editor that opens a dialogue asking for the filepath, either absolute or relative to the current filesystem directory. Alternatively, there are windows versions of vim that you can download, or you can install windows subsystem for linux (wsl) to be able to use nano. |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
It would be straightforward to add a handler for ANSI escape sequences via |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Here's a proof of concept:#1163 |
BetaWas this translation helpful?Give feedback.
All reactions
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
-
Depends on your text editor …On Sat, Feb 13, 2021, 5:56 PM Branislav Blazek ***@***.***> wrote: can I open editor for .txt file by some command? I can open editor by clicking on file in filessytem explorer. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#973 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AK266AYR6ZQ4FRZQFWSMXFTS637TTANCNFSM4VDKKXWA> . |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
I think ctrl+click (or shift+click, not sure) on the file icon will open it using your OS' default program. |
BetaWas this translation helpful?Give feedback.
All reactions
-
I am on Windows 10 and have full control over my device.
|
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Indeed, looks like I missed the breaking change. Thanks for linking to the electron docs, really helpful. I'm going to fix this in master rn and weshould have a patch release this week. (edit: ref417a82e ) |
BetaWas this translation helpful?Give feedback.
All reactions
-
Fixed in#1159 |
BetaWas this translation helpful?Give feedback.

