On Mar 13, 2018 08:39, "Christian Lenz" <christian.l...@gmx.net> wrote:
There are big players out there. And why I love electron? Because it is fucking HTML, CSS and JS AND for the Backend too. This eco system was build for fullstack developers, who wants to create desktop applications with HTML/CSS/JS still in the background. You know my example NbScratchFile, this is I think one of the best solution to promote a plugin for NetBeans, which was written in HTML, SCSS/CSS, TS/JS with a Framework called Knockout, a buildsystem with webpack and a communication with Java in the backend. Why I’ve chosen it? Because I wanted to write a plugin for NetBeans but w/o swing. The Mantisse editor is cool but far away from perfect, I created a ticket for a big problem to align checkboxes with labels pixel perfect, inside the Editor: https://netbeans.org/bugzilla/show_bug.cgi?id=257519 Why I’m not writing the controls in Java? Sry but no, we have Qt, we have WPF (C# with XAML) and we have WYSIWYG editors to create UIs quick and fast and sometimes dirty. In HTML I don’t need such editor. It is my daily business, I have chrome with the powerful and best DevTools ever to see my progress immediately and I’m fast w/o having an editor. So why not use Electron and VS Code and contribute to them? Not meant to be a flame, but those things exist as they are, and are what you say you want. You don't want to write in Java. They are the thing you want. I mean, I use NB and contribute to it because of what it is, and it's unique characteristics and platform. Many of us have an appreciation for Swing and NB RCP. I can build UIs and components in the technology and love it. I also build web apps with Angular, but I don't want the IDE I'm writing to be that, nor NB which I've put a lot of energy into over the years; it is different, and that's a good thing. Frankly, were it changing into that, an Electron clone, then as you say, lots of big players there, why wouldn't I just go to those open source projects which are already that instead of spending my time changing something else into essentially that? Seems a better use of my life and time. Electron is OK. It also produces some bloatware, and that is just truth. Look at how much RAM and all Slack and Code use with some simple things running. More than Java was compared to the natives we quit building back in the day. Even on a quad core 16GB Mac they sometimes get weird issues, lock, and do what software does. That's life, but look at all those running subprocesses. Now, NB the IDE does too, but that is the editor index bug. Not the UI. We at least know those headaches, and where to start looking to address those issues once moved over. Too, you say it looks like crap, but I disagree. Given Swing/AWT, what about IntelliJ, Android Studio, Web Storm, etc? All Swing/AWT. Very popular. I don't think they look like crap either. They look like IDEs. VS Code looks roughly the same. I also use it with my other tools. It doesn't jump out to me as something extra pleasing in the visual department compared to other IDEs and text editors. It has its pluses and minuses, but it's look compared to a Darkula NB install isn't necessarily leaps and bounds over anything else. It does let me edit Dotnet Core quickly on my Mac though. Wade