The Wayback Machine - https://web.archive.org/web/20201202201437/https://github.com/GitSquared/edex-ui/pull/875
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a text editor feature #875

Merged
merged 3 commits into from Nov 12, 2020
Merged

Conversation

@Animus-Surge
Copy link
Contributor

@Animus-Surge Animus-Surge commented Nov 9, 2020

Not sure if this would be useful or not, but I added a text editor that you can use through the file system. You can click a file in the file explorer and it will open a popup that displays the filename (and extension), and the content of the file that's currently there. I've provided screenshots as well.

Capture
Open in the tron-disrupted theme

Capture2
Open in the red theme

Right now, the only kinds of files that can be opened are HTML, CSS, Javascript, XML, Yaml, Java, C#, C++ and H, Markdown, Batch and Shell, GDscript (godot engine), JSON (excludes the themes, keyboards, settings.json, and shortcuts.json), plain text, and log files, though that list can be expanded as needed.

In the future, I might try to make the different file types able to be differentiated by their icons, though that's a project for another day. I might also have the text inside the textarea a little bigger, and maybe always white, because the red theme is really hard to read from the default monospace font. Lmk if I need to make any changes

@EstoyMejor
Copy link

@EstoyMejor EstoyMejor commented Nov 10, 2020

Looks good. I mean always could just use nano or whatever in the CLI, but another r option is another option I guess :D

Repository owner deleted a comment from rodrigovssp Nov 10, 2020
@jvanslooten
Copy link

@jvanslooten jvanslooten commented Nov 11, 2020

Just started using eDEX UI, this is pretty sweet

Copy link
Owner

@GitSquared GitSquared left a comment

Hell, why not. Thanks!

@GitSquared GitSquared merged commit 6da52a8 into GitSquared:master Nov 12, 2020
2 checks passed
2 checks passed
LGTM analysis: JavaScript No new or fixed alerts
Details
security/snyk (GitSquared) No manifest changes detected in 2 projects
Details
@razaamir
Copy link

@razaamir razaamir commented Nov 12, 2020

@lebarde lebarde mentioned this pull request Nov 25, 2020
18 of 18 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.