New gedit goodies

Just a quick update of what I’m currently working on:

clang integration in gedit

That’s right, that’s clang integrated in gedit (with the very nice libclang). For now only error reporting is implemented but libclang will also gives us the AST (allowing fancy stuff like static analysis, referencing, symbol browsing, etc.). In addition, there will be auto completion in the near future.

You can’t test this, you can’t find the code yet anywhere, this is just to tease you.

This entry was posted in gedit. Bookmark the permalink.

20 Responses to New gedit goodies

  1. Benjamin Otte says:

    \o/

    I suppose it does autoupdate while your editing?

  2. Xavier says:

    Exciting! Please do let us know when it’s ready to play with

  3. a gedit fan says:

    thank you thank you thank you thank you thank you!

  4. Craig Barnes says:

    Do you think the code for real-time parsing could be easily reused for languages like Python and JavaScript?

    It’s looking awesome already. Perhaps some donations will be called for when it’s available for testing.

    • Jesse van den Kieboom says:

      Yes this is planned. At least for python I think I know how to implement it. For JavaScript I will have to find out how to do it still

  5. Tristan says:

    This looks really really impressive.

    But what of Anjuta? If that’s the “official IDE” of the Gnome project, then doesn’t this sort of thing belong there, rather than in a “simple” text editor?

    • Jesse van den Kieboom says:

      I like gedit so I scratched my itch. If you like anjuta then implement it there. Also note that gedit development is coupled to gtksourceview and we use to pioneer functionality in gedit before implementation in gsv. Anjuta also uses gsv, so… Then of course this is implemented as a plugin and doesnt use much gedit specific things.

  6. Allan Day says:

    Symbolic icons would be better here. I’d recommend dialog-error-symbolic and dialog-information-symbolic.

  7. nacho says:

    Awesome, like always. :)

  8. Pingback: Nacho's Blog » Blog Archive » New things in gedit-cossa

  9. Allan Day says:

    Jesse, the difference between symbolic and normal icons you mean? Symbolic icons introduce less visual noise, so they’re better in contexts where they are close to competing visual elements (like here with the text). They’re recommended for use in lists, inside entry fields or in raised buttons. They can be found in the gnome-icon-theme-symbolic repository and there are guidelines on the wiki: http://live.gnome.org/GnomeShell/Design/Whiteboards/SymbolicIcons

    I maybe wouldn’t use icons for the info and warning lines, btw. It’s a bit icon overload and you’re just repeating what the text is telling you anyway. :)

  10. Jim Campbell says:

    Thanks for your work on this, Jesse!

    j1mc

  11. Fabien Parent says:

    Nice work.

    I was currently working on the auto-completion with libclang but it seems I can throw my work away and just wait :-)

    • Jesse van den Kieboom says:

      I would be more than happy to get help of course! We should see how to integrate both our work, feel free to drop by on irc in #gedit

  12. Nathan Samson says:

    The underlines look funny. (text is displayed higher)

    but it looks pretty cool, and I can’t wait for the first release of this goodness.

    • Jesse van den Kieboom says:

      I was just fiddling a bit with the visualization and I raised the text a bit, that has already been changed now.

  13. Micah says:

    That’s looking really awesome!

  14. Impressive. Let us know about the evolution of this plugin.

Leave a Reply to Jim Campbell Cancel reply

Your email address will not be published. Required fields are marked *