Onivim 2 Code Editor

Hi @foxtrottwist @AstonJ!

Looking at a couple of these issues - that super-bright-notifications is definitely a bug (theme color issue :grimacing:) - that’s fixed in the latest nightly.

And then the Erlang extension - first issue is that we’re missing the output logs - I checked them in the terminal and saw this:

Method: $append args: [null,"escript: Failed to open file: /home/bryphe/.config/oni2/extensions/erlang-ls.erlang-ls-0.0.15/erlang_ls/_build/debug/bin/erlang_ls\n"]

Inspecting further - it turns out the extensions erlang_ls/_build folder is empty - it seems to be that the open-vsx extension doesn’t have the built erlang language server included in the package.

I logged an issue on open-vsx: https://github.com/open-vsx/publish-extensions/issues/228

As a workaround… the extension can be manually installed / built - here’s the steps I used (assuming node/npm/erl/rebar3 are installed):

  • cd ~/.config/oni2/extensions
  • rm -rf erlang-ls*
  • git clone https://github.com/erlang-ls/vscode erlang-ls
  • cd erlang-ls
  • npm install
  • npm run compile

Bit of a pain for sure… but with that, the language server is working:

We hit this a few times with the open-vsx packages missing dependencies, unfortunately (ie - haskell: https://github.com/open-vsx/publish-extensions/pull/122 , vetur: https://github.com/open-vsx/publish-extensions/pull/146)

They’ve done an awesome job seeding the repository with a bunch of packages, but it’s hard to capture all the build steps / environments native tools need - best case is that more extensions will publish directly to open-vsx :crossed_fingers: Would be great if the owner of elixir-ls/vscode published to open-vsx along with the vscode marketplace!

4 Likes

Also - looks like there’s already a fix being worked on for the erlang-ls plugin: https://github.com/open-vsx/publish-extensions/pull/217

4 Likes

Awesome - I wondered why it had changed! Glad it’s back to what it was, thanks!

Thanks for that too Bryan!..

Awesome! I’ll try and hang on for that fix then :smiley:

I believe @axelson is already pushing ElixirLS to open-vsx :nerd_face:

https://open-vsx.org/extension/elixir-lsp/elixir-ls

3 Likes

A post was split to a new topic: Revery - an Electron alternative

Who hoo just noticed this has been fixed - no need to do the below (just uninstall and reinstall erlang-ls) :+1:

1 Like

Do they offer purchasing power parity discounts?

I asked them, but didn’t get a reply yet.

https://twitter.com/Cute1Indu/status/1347963476166266880

Also, will there ever come something like Onivim giveaway?
@AstonJ

2 Likes

@pillaiindu as for your second question, we offer license keys to people who submit Pull Requests to a few of the main repos that support Onivim2. You can find out more here: https://onivim.github.io/docs/for-developers/free-license

That said, if you don’t feel like you have a ton of (or any) experience writing Reason/OCaml, don’t feel like you can’t still submit a PR. I (and I’m sure Bryan and Ryan) would be more than willing to help out if you run up against any problems!

3 Likes

Welcome to Devtalk @zbaylin :+1:


Check out our 2021 announcement! :wink:

1 Like

I will consider buying it if the editor really puts security at the front of everything, because the compromise of extensions used by developers in popular editors are starting to become common, and this extensions will harvest data from your computer and silently sent it to the internet, but if the editor doesn’t allow for it without a pop-up, then that will be a killing feature for me.

The one thing that concerns me in this editor is that it seems that will allow to install vscode extensions, and if that is the case then I am out of buying it.

2 Likes

I think this could be a huge killer feature for Onivim - an editor that controls, logs and requires permission before any kind of internet connection or activity. Something like Little Snitch but specifically for the editor :+1:

3 Likes

I would love to see low level program debugging support. Some of the features that I use frequently:

  • disassembly
  • view register values
  • memory window

These are very useful features that are missing from VSCode.

4 Likes

I won last month’s Onivim’s giveaway. I have a few questions about the licensing.

  1. Can I use it on multiple machines (my Linux machine and MacBook) at the same time?
  2. If the answer to the above question is not, can I transfer it to a machine I buy in the future and stop using it on my current machine, i.e. on one machine at a time?
  3. Or is the license valid for one user’s one machine and can’t be ported to the same user’s another machine?

I have one more question which is not about licensing, i.e. when will a build for Macs with Apple Silicon come?

Thank you!

@zbaylin

Thank you @AstonJ for these forums where we learn new things from our very talented fellows everyday and thank you for these giveaways! :slight_smile:

2 Likes

Decided to take a look at onivim2 as it appears to be open source now.

First, can’t find a place to download a binary, for anything (or any way to pay for it either).

So cloning it (what on earth node?!?), compiling… and crash:

    signals_nat.c:184:13: error: variably modified 'sig_alt_stack' at file scope
      184 | static char sig_alt_stack[SIGSTKSZ];
          |             ^~~~~~~~~~~~~
    make[3]: *** [Makefile:367: signals_nat.n.o] Error 1

Ooooh, now that’s interesting, it’s core is made in OCaml, an old version of OCaml, that’s compiling with -D_GNU_SOURCE, but assuming POSIX interface (non-_GNU_SOURCE), which was fixed in OCaml a little while ago, the version of OCaml (that they’ve embedded the compiler in, that’s… really weird, I have ocaml up to date on my system, why not just use that one?!) is too old to build on modern systems, that’s… an interesting start… ^.^;

I don’t have time to try upgrading it myself right now, gotta go, maybe tomorrow… ^.^;

3 Likes

What happened to Onivim? I tried to download it from the portal a week ago and again today, but it can’t be downloaded.