rocketinventor / ace-minimap

A plugin to add a minimap to ace text editor
11 stars 3 forks source link

need some sort of doc to show how to use this #6

Open neilkalman-redkix opened 8 years ago

neilkalman-redkix commented 8 years ago

Currently, it's not very clear how to use this

I want to try and help with the development of this, but I'm not even sure how to run what you already have implemented

isn't there some sort of example html page I can check out locally or on the internet?

LukasMeine commented 8 years ago

Does this really work? I have tried to use it but no luck so far.

neilkalman-redkix commented 8 years ago

@LukasMeine wasn't able to use this so far. I'm trying to implement one myself, but I think this project and mine have different goals. I want a minimap for ace.js that can work outside of cloud9, and I think this is binded to cloud9 specifically.

But it doesn't work nonetheless 😄

rocketinventor commented 8 years ago

This extension should work (barely) within Cloud 9 if you follow their documentation on how to run it (developer mode). Currently, it works by injecting the minimap in the scrollbar of whatever ace code editor it finds (matched with CSS), so it should be able to be adapted to work pretty much anywhere. Moving the binding to ace.js would be great, so our goals are the same, I think (but am not really sure how to do it). The current state of this project is that the required HTML, js, and CSS scaffolding is there, the C9 integrations (i.e. setting menus, toolbars, manifest) are taken care of, and work, and I found an atom extension to port over (based on ace) but, the actual data to be drawn does not show, yet. A plugin that works well in either environment would obviously be the goal.

However, I was having trouble with the ace bindings in c9 before (specifically accessing the tokenizer _from the extension js), and I haven't had any real motivation to figure it out (the code TOC plugin works quite well), so I haven't updated in a while (about a year). Obviously, it was impossible to skip that step and figure out the rest. If others are actually interested in contributing, that might motivate me to continue working on it again, make a demo site, etc.

rocketinventor commented 7 years ago

@neilkalman-redkix Any updates on your project?