-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support gedit forks .. Xed, Pluma #5
Comments
So, Xed now works, Pluma may not be far behind. Xed is basically the new Gedit, so everything works. As a status update.. Preferences code is the dodgyest bit, it use something like an MVC model to separate the settings backend from the GUI, but it's a bit messy right now. Choosing a virtualenv works almost as well as our old extension, and is good enough for now. The installer seems kind of magical now it works.. the setup.py puts everything in the right place for different editors. Started building out some helper code that will eventually help out the IDE, but probably a way to go. Existing helper code, is some Gio SimpleAction stuff (basically making it easy to wire up toggle actions right now). I'm not super keen on the existing Gtk3 menu code, since it works differently to our Gio menu code; I'll probably bring it over to get Pluma and the IDE examples menus. Building the console widget looks like it could take a while to get right... I wonder how hard it is to embed VTE and run shoebot in that instead ? If we did that we could probably swap out the current ide<->shoebot communication layer with something more sane than special messages on stdin/stdout. |
Some notes to myself: Pluma is missing most of the things Gedit and Xed has, so its plugins access libpeas APIs. The thing here would be to write polyfills, so that everything uses an API that looks like the most "complete" editior. To make this manageable next time I look at this, I need to start documenting this somewhere. |
@rlafuente do you use Mint (I have a vague memory of this, but maybe it's wrong?) |
Not for a long time sadly, been using Debian Testing for some years now. Can I help here somehow? |
Hm, not really sure until I get something working. I keep thinking like a developer when this question is asked and come up with tiny tasks. Do you have any idea of the how many people use Pluma vs Xed ? I might get just Xed working at first as it's most similar to Gedit 3.12 and above. |
AFAICT it looks like Xed is aiming to replace Pluma, so I'll just go for Xed at first, though all this is overkill for just two editors 🤷♂️ but kind of fun to get working anyway. |
Go wild, I'm not super keen about focusing on "useful" features, but rather hacking on what's fun. I'm for prioritising Xed fwiw! |
Yeah, I'll probably get Xed working just to land get this plugin thing sorted. Will start ticket to LGM discussion |
Hey @rlafuente this is now working (for some value of working) in Xed. With the latest shoebot from git and the latest plugin_shoebot installed from git - AND running xed in the shoebot directory (and a bit of luck in the venv chooser (I think the "default option) you can get the examples menu in Xed. There are still lots of little things broken (duplication in venv menu in editor, shoebot disconnects from editor), but it's at a fixing-bugs stage now. It would be great if you could have a play and try to breaking it :) |
OK, looks like Pluma is out for the moment as it's plugin support is not working mate-desktop/pluma#305 |
Need some info on what they are...
The text was updated successfully, but these errors were encountered: