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

Wrap Eidos code edition/analysis features into a proper language server. #424

Open
iago-lito opened this issue Feb 2, 2024 · 1 comment

Comments

@iago-lito
Copy link

iago-lito commented Feb 2, 2024

Just tossing the idea here for future reference, in case anyone finds the ressource to tackle it.

The Eidos "input commands" subwindow of the SLiMGui offers sophisticated code-edition-related features like:

  • syntax highlighting
  • autoformatting
  • autocompletion
  • errors linting
  • code navigation
  • ..

These must be the result of a huge work, and they make the Eidos coding experience rather nice. Unfortunately, they are restricted to this very particular sub-window of this very particular SLiMGui application. As a consequence, while writing Eidos code, we cannot benefit from any other standard modern IDE features like shortcuts customization, macros recording, automation, multiple window management, split views, theming, etc. unless we use an external editor instead of the SLiMGui editor. But then we loose the above features.

If the above features were extracted into a proper eidos-language-server, then we could have our cake and eat it too. We could edit Eidos script files using either SLiMGui/vim/vscode/intellij/emacs/atom/notepad++/<whatever>.. and still always benefit from the above features.

(Note: all population-genetics-simulation-related features (visualisation, genome browsing, reports, plots..) are not strictly related to code edition and cannot be forwarded to code editors via the language server protocol. Of course, SLiMGui remains the best application to run/visualize the models ;)

@bhaller
Copy link
Contributor

bhaller commented Feb 2, 2024

As discussed over email with Iago, I've marked this "help wanted"; it might be a fun side project for somebody, but will be complex, and I'm unlikely to have time for it for, well, maybe ever. But it's a nice idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants