Geany – Lightweight IDE for Linux and Windows
geany.org
geany.org
I was just going through the prefs today and found the "invert color scheme" option. I inverted Solarized Light and got a beautiful dark scheme I'd never seen before as a result. Not Solarized Dark as I somehow expected :-)
It is packaged for Linux, and you can install the newest release with their plugins, if you have never tried it, give it a shot.
That being said, those who haven't tried Geany should most definitely give it a spin.
But even on that, Visual Studio is annoyingly slow.
I also have a 2017 13" Macbook Pro don't know the exact specs off-hand; I don't use it often), and VSCode is really fast on that too.
Does anyone know of some syntax magic addon that teaches geany state-of-the-art syntax modes, especially with mixed syntax files containing HTML, PHP, JavaScript, Vue.js template sections?
Sublime is an excellent example of great syntax highlighting, but needs special tuning for simple operations like "copy line" - not really a show stopper, but it is surprising to see how basic functionality does not come by default with many editors still even after a very long development time - try to toggle a comment in vim with one simple key combination...
Do you mean to say it's hard to do in vim, sublime, both or something else? In most editors I've used (except vim), it's CMD+/ (or CTRL+/).
I probably didn't get what you mean, just wanted to make sure :)
I found Geany really useful when I'd just started programming, as it has some useful features, like file browser, symbol list and terminal window, while not being as overwhelming as Eclipse with its project management and autogenerated code, "marketplace" and whatnot.
But after all that time I still remember Geany very positively as a decent Editor/IDE, not too fancy but as a tool to get the job done. Nice to the see the project still alive.
[1] https://wiki.gnome.org/Apps/Gedit
[2] https://www.maketecheasier.com/transform-gedit-into-a-web-de...
Also, it has multiple themes for you to choose too.
https://github.com/codebrainz/geany-themes
Try it, it's truly great, especially for someone liked me tried things differently and always going back, so light and fast whenever I needed, I feel it's faster than gedit and gvim, and a lot faster (e.g. to open for editing when you need an editor handy&quick) comparing to vscode.
It's been a complete pain to keep maintained, as Gtk changed the way it handled menus through the years (breaking our plugin).
Next up is Gtk 4. I guess it isn't so bad, since shoebot is out of date being python 2 and all, so I'll probably implement something new.
TLDR - I would really appreciate an editor agnostic way of writing these kind of plugins, with options to add menu items, do things on keybindings etc.
Geany is my absolute go-to editor of choice. Fast, stable and really clean interface. Absolutely love it!!!
All you really need in a CS class is to be able to write your code, compile and run it, and Geany does that very well for many languages. I've never been able to do that with JavaScript/Node -- that's one language that I haven't gotten working (as far as running it from within the editor).
One thing that didn't work so well for me was indentation/code formatting. When you first write it in Geany, it looks good, but once you star messing with the code, the indents can go haywire, and as far as I know there is no way to automatically re-format the code. That's where a "real" IDE comes in, I guess.
I think it's super interesting to look at the ancestry of these tools and how their progeny seem foreign to many people. I'm an avid vim user because it makes sense to me, but for many it's weird and alien.
The effects of that old technology are with us still, C/C++ are one pass languages. So you only had read the program from tape or punch cards once.
I had an instant liking for Geany (which came preinstalled on a distro I was using... Crunchbang I think), and I think now I understand why!
My workflow has moved to tmux+vim which gives you a similar visual layout as Geany, but I'm glad to have had the opportunity to play with an editor which was as easy to play around with as Geany!
Geany is known to run under: Linux FreeBSD (and HardenedBSD / GhostBSD) NetBSD OpenBSD MacOS X AIX Oracle Solaris Illumos (OpenIndiana) Windows
If not for that limitation, I probably wouldn't use anything else for my editing needs.
also you can customize templates for "New" languages easily I think
I wonder if there are any plans for Geany to support the Language Server Protocol. That way it'd be possible to get intelligent code completion for many languages without bloating the Geany codebase.
https://microsoft.github.io/language-server-protocol/overvie...
It would be great if it could, although it surely has well progressed over the years.
I just noticed CSS is not highlighted inside a HTML file.
Sublime text has so many nice features that I got used to, it is going to be hard to use something else.
And text is so small that I go clean out 500 MB of stuff every year or so.
Apparently it is based on the long line of editors starting with scite, notepad++ and a bunch more.
Does it support code refactoring (renaming variables, classes, moving classes or methods, ...)?
Refactoring support is part of the 80% an IDE gives me over a good code editor. I would consider code navigation, autocompletion and integrated debugging to be the other crucial features of an IDE.
Refactoring is not a big deal. If you keep your code clean, each individual refactoring is really quick - moving a method, renaming a trait to better fit its new role, ... If you can do these kind of things with a minimum of friction thanks to your IDE, you will do them, and you will not run into the situation where you have accumulated loads of technical debt and need two weeks to get everything into a maintainable state again.
It is a useful feature when you need it, but personally it wouldn't affect my choice of tools at all. After all i could just load an IDE that has it in the rare case i need it and then continue using the other tool i prefer, it isn't like modern computers can only run a single program at a time or anything :-P.
The only thing it annoys me though is that the indentation detection heuristic needs to be a bit better (i.e. https://github.com/geany/geany/issues/1008).
I will have to stick with VIM/VSCode for now, but holy cow this IDE is fast.
You can probably get syntax highlighting by copying the required file in the right place.
I have it installed on my Mac too. I still mostly use BBEdit on it, but Geany has some cool features that make it worth having on the Mac.
Geany runs very nice on my Mac. I have a older Mac Mini running El Capitan and it's been solid on that.
Doesn't just run on Linux and Windows.
Does geany have any vim key binding? Did a quick google and the first result is a 200 line lua script dated 2013, so I'm not hopeful.
With Geany being a lightweight IDE, I'd say Kate is a feature-rich text editor, so it's not quite the same, but maybe it works for you nonetheless.
Geany 1.33 (February 25, 2018)
Bug fixes
* Fix the symbols tree hierarchy when several tags have the same name
(PR#1598).
Interface
* Add a tooltip showing the full path on menu items representing documents
(PR#1706).
* Add a note for applying the indent settings in the project preferences
(PR#1650).
* Enable popup menu on sidebar and message window notebooks (PR#1726).
* Show status message on attempt to execute empty context action
(Lars Paulsen, PR#1642).
* GTK3 theming improvements and documentation (PR#1382).
Filetypes
* CSS: Update Grid properties (Issue#1705).
Internationalization
* Updated translations: de, el, es, fr, it, lv, pl, pt, tr, ru, zh_CN