Awesome Open Source
Awesome Open Source

JetBrains team project

Embeditor

The idea behind the project is that many users like code completion and inspections provided by IntelliJ, but they prefer Vim or Emacs as programmer's text editors. The only current solution is using Vim emulation in IntelliJ provided by IdeaVim plugin.

We would like to see more options here:

  • Using code completion and inspections from a running instance of IntelliJ in a separate Vim process. The main benefit of this approach is native Vim experience enhanced by powerful code insight of IntelliJ.

  • Embed Vim as a terminal editor in IntelliJ IDE instead of the regular editor and provide code completion and inspections there. The point here is combination of the full Vim editor with plugins, scripts, etc. and the nearly complete set of IntelliJ features: code navigation, run configurations and others.

  • Run Vim locally and connect to a headless IntelliJ instance on a remote host. This would enable, for example, rich code editing in vim over SSH.

Features

  • Vim editor embedded into IntelliJ via terminal emulator
  • IntelliJ based completion and resolve support

To-do List

  • (done) Terminal window in IntelliJ instead of the editor that runs Vim
  • (done) IntelliJ-based completion and resolve for embedded Vim
  • (done) IntelliJ-based completion and resolve invoked from real Vim (vim plugin)
  • Vim plugin that highlights code based on a list of errors/warnings from IntelliJ
  • Synchronization of saved file contents between Vim and IntelliJ
  • (done) Synchronization of edited file contents between Vim and IntelliJ

Problems

  • Terminal emulator needs to be improved
  • Handle the case of opening file in vim after incorrect termination
  • Soft-wrap in Vim prevents to map lines in buffer to file lines easyliy

Demo

The current state of the plugin looks like that:

Embeditor

Here you can see vim terminal session opened instead of normal IDEA editor with the IDEA completion popup.

Authors

  • traff
  • zolotov
  • vlan


Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (392,336
Editor (31,939
Vim (18,650
Terminal (17,909
Intellij (5,393
Completion (5,115
Synchronization (2,556
Inspection (1,207
Code Completion (360