Giter Club home page Giter Club logo

ecode's Issues

Improve active vs inactive file tab contrast

image

I find it difficult to easily tell which file tab is currently selected at a glance.

Perhaps some way to increase the contract between the selected vs the deselected tabs? Maybe darken the deselected tabs slightly or something?

Thanks,

Text Rendered with Shadow

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

Add aarch64 support

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

Crash when right clicking the tree view if empty

  • Start ecode appimage
  • Right click inside the tree view
  • 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

Dont works on my Haiku-Os

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

Cannot close file deleted outside of ecode

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.

Ruff (Python) linter ignores pyproject.toml

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!)

[0.4.3] A file added/removed from a subfolder is not detected

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,

"Error renaming file" when renaming folder

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?

Support for mouse wheel click-scrolling

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...

Custom tab visualisation

I find the current tab representation a little bit hard to understand:
image

In VSCode it looks like this:
image

It would be great if this could be customised, both the character and the spacing...

I know this is a strange request....

[0.4.3] Invisible character giving inconcistent editing experience

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.

image

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

Cannot open any files after closing an untitled tab

Reproducing:

  • Open a file
  • Close the file
  • An untitled tab opens up
  • Close the untitled tab from the cross or using ctrl+w
  • Can't open any files anymore, the Open Folder and Open File prompts in the settings menu don't do anything

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

Renaming folder name to one with a special character garbles character

For example if I have a folder called "ake" and try to rename it to "äke" , the result is:
image
This also happens when creating a folder, which has a special character in it's name.
The garbled characters are also visible in the system explorer.
Doesn't happen when creating files though.

Auto Formatter on save issue

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.

[0.4.3] Open Folder should open the last folder opened instead of ecode.exe path

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!

[0.4.4] Freezing on Windows after switching projects multiple times

Today I have managed to get ecode to freeze (lock-up) several times.

This has never happened before.

The only thing I've been doing differently today is switching between folders (projects) several times.

image

I'm not sure what other information I can provide to help find the bug.

Thanks,

Always opens in full screen mode

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.

Open the most recent folder on startup

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

Color picker text field changes don't persist without pressing Enter

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.

Reproduction

  1. Double-click an RGB color to open the color picker.

    image

  2. Change only the color in the text field:

    image

  3. Click OK. The value from the text field doesn't replace the original text, but I'd expect it to.

Editor and terminal folders not in .config Arch

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

Implement Pyright

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": []
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.