Home Download Buy Blog Forum Support

Plugin API for graphical views

Plugin API for graphical views

Postby torarnv on Wed Sep 19, 2012 8:29 pm

Hi,

I've been looking though the forums, but as far as I can tell the current plugin APIs only allow you to manipulate text-buffer views. Is it possible, or is it planned, to introduce the ability to create new views where the plugin is responsible for all of the rendering? Like an empty container, where the plugin author can use the UI toolkit of their choice (with the appropriate python bindings), to build eg:

- Markdown preview pane
- Build/CI status overview
- Threads/callstack for a debugger plugin

etc.

Or alternatively, to allow the plugin to create web views, where the UI is in HTML/CSS/JS, and where the ui can make callbacks to the plugin code through a mechanism like postMessage.

Thoughts?
torarnv
 
Posts: 1
Joined: Wed Sep 19, 2012 8:22 pm

Re: Plugin API for graphical views

Postby adzenith on Wed Sep 19, 2012 9:00 pm

It is not currently possible, and I don't know if it's planned.
You might be able to use a really small font size and some creative language grammars to get a pretty good graphical interface...
adzenith
 
Posts: 1216
Joined: Mon Oct 19, 2009 9:12 pm

Re: Plugin API for graphical views

Postby badger on Mon Oct 15, 2012 8:59 am

A graphical views API would be very useful. I want to improve SublimeGDB, and having to open lots of text views to create the various elements is rather cumbersome. HTML or native UI toolkit would be great :D
badger
 
Posts: 5
Joined: Thu Oct 11, 2012 6:21 pm

Re: Plugin API for graphical views

Postby nickdima on Fri Jan 10, 2014 5:07 pm

An API for custom views would be very handy.
Also a general debugger implementation would be awesome to have so 3rd party developers could hook-it up using plugins for different programming languages.
All the debuggers we have for SublimeText right now are just hacks based on text views.
nickdima
 
Posts: 3
Joined: Wed Feb 15, 2012 5:17 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 12 guests