终极 IDE,既然终极如此不值钱,那么我随便从 github 上找一个,你们看看和前面所谓的终极相比,如何?

2016-12-03 20:35:32 +08:00
 wsdjeg

https://github.com/extr0py/oni

Oni

Neovim + JavaScript powered IDE

Introduction

ONI is a NeoVim front-end UI with rich IDE-like UI integration points.

This repository is under active development, and until 1.0 please consider everything unstable.

Features

ONI brings several IDE-like integrations to NeoVim:

Quick Info

Code Completion

Syntax / Compilation Errors

Fuzzy Finder

Live Evaluation

Usage

Install

  1. Run npm install -g oni-vim

  2. Run oni at the command line to start the editor.

Build

  1. Clone the repository: git clone https://github.com/extr0py/oni.git

  2. Install dependencies by running npm install from the root

  3. Build using npm run build from the root

  4. Run npm link to register the ONI command

  5. Run oni at the command line

Goals

The goal of this project is to provide both the full-fledged VIM experience, with no compromises, while pushing forward to enable new scenarios.

VIM is an incredible tool for manipulating text at the speed of thought. With a composable, modal command language, it is no wonder that VIM usage is still prevalent today even in the realm of modern editors.

However, going from thought to code has some different challenges than going from thought to text. IDEs today provide several benefits that help to reduce cognitive load when writing code, and that benefit is tremendously important - not only in terms of pure coding efficiency and productivity, but also in making the process of writing code enjoyable and fun.

In my journey of learning VIM and increasing proficiency in other editors, I've found there is always a trade-off - either enjoy the autocompletion and IDE features, and compromise on the experience and muscle memory I've built with VIM, or work in VIM and compromise on the rich language functionality we have in an IDE.

The goal of this project is to give an editor that gives the best of both worlds - the power, speed, and flexibility of using VIM for manipulating text, as well as the rich tooling that comes with an IDE.

Documentation

Configuration

ONI is configurable via a 'config.json' located in $HOME/.oni

See the Config.ts file for interesting values to set

Guide

TODO: Coming soon.

Extensibility

ONI offers several rich extensibility points, with the focus being on various UI integrations as well as IDE-like capabilities.

Language Extensibility

Language extenders given ONI rich integration with languages, offering services like:

To see the in-progress API, check out the Oni.d.ts definition file as well as the typescript language plugin, which demonstrates several of these features:

Background

ONI currently supports the setting of a background image as well as background opacity.

Debuggers

Project Templates

Snippets

FAQ

TODO

Included VIM Plugins

This distribution contains several VIM plugins that enhance the VIM experience.

These are:

As well as some color-schemes:

Roadmap

License

MIT

Contributing

Contributions are very much welcome :)

Thanks

Big thanks to the NeoVim team - without their work, this project would not be possible. The deep integration with VIM would not be possible without the incredible work that was done to enable the msgpack-RPC interface. Thanks!

In addition, there are several other great NeoVim front-end UIs here that served as great reference points and learning opportunities.

5990 次点击
所在节点    Vim
8 条回复
gfexfizv
2016-12-04 12:45:28 +08:00
这个很吊,如果能支持 c 和 c++就更好
simen513
2016-12-05 23:37:10 +08:00
不错啊,这个很像 UI 的编辑器了。
yuuko
2016-12-10 19:30:53 +08:00
厉害
skywind3000
2016-12-13 12:35:59 +08:00
这明明就是一个 Atom Editor 啊,哈哈。
wsdjeg
2016-12-13 21:57:40 +08:00
@skywind3000 傻逼 自己去 github 看
skywind3000
2016-12-26 14:42:17 +08:00
@wsdjeg 我当然看过啊,就是用 Electron ( atom-core )给 nvim 套了个壳,你没看好多组件都和 Atom Editor 一模一样么?
song940
2017-02-03 15:26:45 +08:00
@wsdjeg 傻逼
wsdjeg
2017-02-06 08:36:34 +08:00
@song940 你才傻逼,莫名其妙

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/325080

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX