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

Remove kite #596

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -6,7 +6,7 @@

A preview of the full source code.

![Minimap Screenshot](https://github.com/atom-minimap/minimap/blob/master/resources/screenshot.png?raw=true)
![Minimap Screenshot](https://github.com/rgawenda/minimap-legacy/blob/master/resources/screenshot.png?raw=true)
<small>In the screenshot above the minimap-git-diff and minimap-highlight-selected plugins are activated.</small>

### Installation
Expand All @@ -21,7 +21,7 @@ apm install minimap
* Decoration API: Use the same API to manage `TextEditor` and `Minimap` decorations.
* Canvas-based Rendering: Simple, fast and flexible.
* Stand-alone Mode: Wants to display a preview of a text editor in your UIs, use a stand-alone version of the Minimap.
* Documentation Links: Links to documentation for popular 3rd party libraries. These links are created by reading only the import statements from your current file and linking to a free repository of documentation for popular libraries hosted by [Kite](https://kite.com/docs?source=minimap). Currently for Python only.


### Available Plugins

Expand Down
153 changes: 0 additions & 153 deletions lib/kite-wrapper.js

This file was deleted.

7 changes: 1 addition & 6 deletions lib/main.js
Expand Up @@ -16,7 +16,7 @@ if (!atom.inSpecMode()) {
const include = require('./decorators/include')
const PluginManagement = require('./mixins/plugin-management')

let Emitter, CompositeDisposable, Minimap, MinimapElement, MinimapPluginGeneratorElement, KiteWrapper
let Emitter, CompositeDisposable, Minimap, MinimapElement, MinimapPluginGeneratorElement

/**
* The `Minimap` package provides an eagle-eye view of text buffers.
Expand Down Expand Up @@ -386,17 +386,12 @@ class Main {
*/
initSubscriptions () {
this.subscriptions.add(atom.workspace.observeTextEditors((textEditor) => {
if (!KiteWrapper) { KiteWrapper = require('./kite-wrapper') }
let minimap = this.minimapForEditor(textEditor)
let minimapElement = atom.views.getView(minimap)

this.emitter.emit('did-create-minimap', minimap)
minimapElement.attach()

if (KiteWrapper.isLegible(textEditor) &&
!atom.config.get('minimap.disablePythonDocLinks')) {
KiteWrapper.handle(textEditor, minimapElement)
}
}))
}
}
Expand Down
4 changes: 0 additions & 4 deletions package.json
Expand Up @@ -166,10 +166,6 @@
"default": false,
"description": "When enabled, text editor tokens are rendered as plain blocks, with no regards to the whitespaces they contains."
},
"disablePythonDocLinks": {
"type": "boolean",
"default": false
}
},
"dependencies": {
"atom-utils": ">=0.9.2",
Expand Down
120 changes: 0 additions & 120 deletions styles/kite-wrapper.less

This file was deleted.