Git Product home page Git Product logo

hackathon-embeditor's Introduction

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

hackathon-embeditor's People

Contributors

zolotov avatar elmart avatar vlasovskikh avatar

Watchers

Danny Su avatar  avatar

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.