spartanj / ecode Goto Github PK
View Code? Open in Web Editor NEWLightweight multi-platform code editor designed for modern hardware with a focus on responsiveness and performance.
License: MIT License
Lightweight multi-platform code editor designed for modern hardware with a focus on responsiveness and performance.
License: MIT License
I'm using the editor's light mode and solarobj as the style. On the 0.4.2 version, the text in the editor area is rendered with shadow. So, it becomes difficult to read. I've attached the screenshot figuring the comparison between the 0.4.2 and 0.4.1 versions here: https://pasteboard.co/e3RZGeq0Jdqq.jpg
When edit the front tag, the end tag will also sync with the front tag: <textar
></textar
>
Example:
https://github.com/formulahendry/vscode-auto-rename-tag
Autoclose html tag after typing with >
Example:
https://github.com/formulahendry/vscode-auto-close-tag
Reproducing:
Hi,
i want to use your software on manjaro aarch64 you can make a build for arm64 ?
Also if you can build for apple silicon too ?
Best Regards
Please consider implementing soft-wrapping text at a chosen length of line. This is very necessary while editing plain texts.
Segmentation fault (core dumped)
Not sure if there are any log files associated but I was able to replicate it with both the released 0.4.3 appimage as well as an appimage built from source (85e73262).
I'm wondering if it is an issue with the appimage not seeing local files on start? If I use the "naked" binary with an empty directory (folder literally called "empty") e.g. ./ecode empty
then it looks the same but the right click brings up the new file etc. menu. Just running ./ecode
brings up the files and folders from where it was run.
Also don't see the issue if you open a folder from the main menu with the appimage (or give it a directory as an argument).
Hope that makes sense, can elaborate or make a video if it doesn't.
OS - Linux Mint 21
Request syntax highlighting support for vue
Hello there i have try to test your software on haiku but i get this output:
ecode-haiku-0.4.0-x86_64> sh **ecode/ecode**
runtime_loader: Cannot open file libeepp.so (needed by /boot/home/Downloads/ecode-haiku-0.4.0-x86_64/ecode/ecode.bin): **No such file or directory**
But there is the libeepp.so, as it comes packed, did try to copy it to ecode root folder and nothing, dont know what happen here.
Haiku HREV: 56724
When I have a file open inside ecode and delete it in the system explorer, I can no longer close the file.
File is automatically closed afterwards though.
Refreshing the view doesn't mitigate this.
I think this is caused by the default linters.json
specifying the ruff python linter with --ignore=E402
I simply added this to my linters.json
, removing the -n --ignore=E402
from the default one, and it now seems to work just fine:
{
"file_patterns": ["%.py$"],
"warning_pattern": "[^:]:(%d+):(%d+):%s([^\n]+)",
"command": "ruff $FILENAME"
}
I wasn't sure if doing this replaces the entire linters list from the default linters.json
, or only the python linter specifically?
Also, your documentation says that python uses pycodestyle, which it looks like it uses ruff now (good call!)
If I switch from one folder to another, all the files are closed and the folder view is reset with all collapsed.
It would be fantastic if there was an option to retain the open files and also the folder view collapse state.
Thanks,
If I add/remove a file from an external tool (eg Windows Explorer) to the active project folder, then ecode will detect that file...but if this is done in a sub-folder it is not detected.
This is quite annoying as sometimes I add/remove files from Unity and the aren't detected. It would be great to have this feature.
Perhaps some way to refresh the folder view at least? Currently I have to toggle "Show Hidden Files" for it to update. Perhaps a Refresh button in the context-menu or F5 shortcut? Ideally I guess it would monitor for file changes in all folders.
Thanks,
That's it.
Also you can't delete folders that have files inside - "Cannot remove non-empty directory", maybe a warning could be implemented if the directory has files in it?
Here's an example:
See how "using UnityEngine.UI;" has many spaces before the line ending symbol is shown... But in the editor there doesn't seem to be any extra characters.. Something funky is happening :-)
I've attached the file here:
TestBug.cs.txt
I'm using Windows btw
A lot of editors support clicking the mouse wheel and then dragging up/down to automatically smooth scroll. I've found some moments where I've missed this feature...
It would be very useful to search/filter for a file in the file/folder view.
Thanks,
Sometimes it seems like an invisible character appears which means that when I use arrows to navigate the cursor doesn't move on the first press, only the second. It also results in when pressing delete it will delete the wrong character.
Here there is an invisible character after the "{" if you position the cursor after the "{" then press right-arrow it will not move until the second press.
Also, if you position the cursor just before the "V" on line 3, then press backspace, it will delete the V instead of the space.
I think that this may be related to #26
I am using Windows.
The example file is attached:
TestBug2.cs.txt
Reproducing:
If you write some text into the new untitled tab that appears after closing the old one and then close that, ignoring the warning, you can open files again
Request for C# formatter support please
In the Linux version of ecode-0.4.5 the linter does not work. When hovering over a keyword nothing appears. It works OK with version 0.4.4.
When i type hello
and press Tab
key, it will auto complete with <hello></hello>
emmet official website: https://emmet.io/
When enabling the "auto_format_on_save": true
for the Auto Formatter plugin, the file will format correctly, however it will not be saved. Seems like the file is being saved, and then the formatter formats the code after, leaving the editor in a dirty state (little asterisk in the file tab at the top). You have to save again to actually commit those formattings to the disk, which still won't clear the dirty editor asterisk, as it will format again after saving (but, nothing changes, so it's weird that saving doesn't remove the asterisk).
I'm using python black as the formatter in this case.
could ecode support remote-ssh ?
I don't think this is a thing yet?
But it would be nice if we could delete files with the del key in the side view.
I believe it would be useful for Open Folder command to default to the last folder opened (which should be the current folder being used) instead of what it does currently, which is to show the folder of the ecode.exe file.
Each time I go to browse to a folder I have to navigate from the ecode.exe folder instead of the folder where all of my code projects are located.
I think it would be widely appreciated.
Thanks for the awesome editor, can't wait to see it grow!
Thanks for the fantastic editor. I am on windows 10 and using the windows version. The editor for some reason only works in full screen mode even if full screen mode is disabled in settings.
Could we have an option to toggle so the editor would open in the last opened folder automatically?
I know you can go to recent folders and open it from there, but this would make life a bit easier
I'm sorry if this is already a thing and I can't find the option
Tested this on Windows. Moving the sliders causes the color to update immediately, and pressing Enter after changing the value in the text field causes the picker to update.
Reproducing:
even after toggling "show hidden files" again, so it is off, it doesn't keep updating until you restart the editor.
Chinese characters are garbled
The editor and terminal folders don't exist in ~/.config/ecode/ and after manually creating them, the editor doesn't read anything from the folders
It seems to be loading the keybindings tho
On windows it works fine
Creating files/folders inside or outside the editor does not update the sidebar's file view
When the file/folder view is full of files, there is nowhere you can right-click to create a new file.
You can only right-click on a folder to create a new file within that folder, but no way to create one in the root folder.
Thanks,
Hello again!
I see in https://github.com/SpartanJ/eepp/blob/develop/bin/assets/plugins/lspclient.json that Python uses pylsp
as the LSP client. I wanted to instead use Pyright, so I went ahead and modified my user lspclient.json
like so:
{
"config": {
...
},
"keybindings": {
...
},
"servers": [
{
"command": "pyright-langserver --stdio",
"file_patterns": [
"%.py$"
],
"language": "python",
"name": "pyright",
"url": "https://github.com/microsoft/pyright"
}
]
}
One or 2 versions ago, I'm pretty sure this worked correctly, but now I don't see any lines being highlighted, nor are autocompletes working. I see that node /usr/bin/pyright-langserver --stdio
is started in htop when I open the editor as well.
Anything that I am missing? Command is wrong? Maybe some incompatibility between the LSP plugin and the linter plugin that displays errors? By the way, error lens looks very nice!
Actually I just noticed my linter settings, it looks like it already accounts for LSP diagnostics:
{
"config": {
"delay_time": "500ms",
"disable_languages": [],
"disable_lsp_languages": [],
"enable_error_lens": true,
"enable_lsp_diagnostics": true
},
"linters": []
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.