www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Using electron for IDE development

reply tcak <1ltkrs+3wyh1ow7kzn1k sharklasers.com> writes:
As far as I known, and FEEL, one of the biggest problems of IDE 
development is cross platform user interface development.

I haven't started using, but Electron seems like a good tool to 
develop applications by using HTML, JS, CSS. Because it is based 
on node.js, it can run on many platforms.

There are many HTML based syntax highlighters already.

Would this type of development be causing any licensing, or any 
other type of problem in the future for us? Any thoughts?
Jul 04 2016
next sibling parent reply Gerald <gerald.b.nunn gmail.com> writes:
On Monday, 4 July 2016 at 18:25:51 UTC, tcak wrote:
 As far as I known, and FEEL, one of the biggest problems of IDE 
 development is cross platform user interface development.

 I haven't started using, but Electron seems like a good tool to 
 develop applications by using HTML, JS, CSS. Because it is 
 based on node.js, it can run on many platforms.

 There are many HTML based syntax highlighters already.

 Would this type of development be causing any licensing, or any 
 other type of problem in the future for us? Any thoughts?
Visual Studio Code is based on electron and works very well for me with D when using the code-d plugin for it: https://marketplace.visualstudio.com/items?itemName=webfreak.code-d
Jul 04 2016
parent reply Dmitry <dmitry indiedev.ru> writes:
On Monday, 4 July 2016 at 18:55:57 UTC, Gerald wrote:
 Visual Studio Code is based on electron and works very well for 
 me with D when using the code-d plugin for it:
Yes, it works prefect https://dl.dropboxusercontent.com/u/78963719/D/forum/vscode.png
Jul 04 2016
next sibling parent reply Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= writes:
On Monday, 4 July 2016 at 19:30:37 UTC, Dmitry wrote:
 On Monday, 4 July 2016 at 18:55:57 UTC, Gerald wrote:
 Visual Studio Code is based on electron and works very well 
 for me with D when using the code-d plugin for it:
Yes, it works prefect https://dl.dropboxusercontent.com/u/78963719/D/forum/vscode.png
MS recently announced that they are backing an open protocol for language-servers in Visual Studio Code: https://code.visualstudio.com/blogs/2016/06/27/common-language-protocol
Jul 04 2016
parent tcak <1ltkrs+3wyh1ow7kzn1k sharklasers.com> writes:
On Monday, 4 July 2016 at 19:42:33 UTC, Ola Fosheim Grøstad wrote:
 On Monday, 4 July 2016 at 19:30:37 UTC, Dmitry wrote:
 On Monday, 4 July 2016 at 18:55:57 UTC, Gerald wrote:
 Visual Studio Code is based on electron and works very well 
 for me with D when using the code-d plugin for it:
Yes, it works prefect https://dl.dropboxusercontent.com/u/78963719/D/forum/vscode.png
MS recently announced that they are backing an open protocol for language-servers in Visual Studio Code: https://code.visualstudio.com/blogs/2016/06/27/common-language-protocol
I have done a similar thing to this before. A web app runs on the browser, and my server runs on my local computer. Web app sends requests to local server to access to file system, and all other things. Considering this, we could develop the IDE as a web app, and lets say the IDE backend could be developed by using vibe.d, and it accesses to the D compiler and all other things.
Jul 04 2016
prev sibling parent WebFreak001 <janju007 web.de> writes:
On Monday, 4 July 2016 at 19:30:37 UTC, Dmitry wrote:
 On Monday, 4 July 2016 at 18:55:57 UTC, Gerald wrote:
 Visual Studio Code is based on electron and works very well 
 for me with D when using the code-d plugin for it:
Yes, it works prefect https://dl.dropboxusercontent.com/u/78963719/D/forum/vscode.png
compile workspace-d in debug mode again and post an issue with the stack trace on the github page. Repository: https://github.com/Pure-D/workspace-d Compilation: dub build --compiler=ldc2 Note: you must compile with ldc because there is some bug in dmd phobos which causes the program to freeze on windows. I couldn't find a way to reproduce it yet though. More information on the D phobos bug: https://github.com/Pure-D/code-d/issues/38#issuecomment-221289994 and the comments below
Jul 04 2016
prev sibling next sibling parent Basile B. <b2.temp gmx.com> writes:
On Monday, 4 July 2016 at 18:25:51 UTC, tcak wrote:
 As far as I known, and FEEL, one of the biggest problems of IDE 
 development is cross platform user interface development.

 I haven't started using, but Electron seems like a good tool to 
 develop applications by using HTML, JS, CSS. Because it is 
 based on node.js, it can run on many platforms.

 There are many HTML based syntax highlighters already.

 Would this type of development be causing any licensing, or any 
 other type of problem in the future for us? Any thoughts?
Based on my user experience with GitKraken I'd say that if it's faisable it's gonna be a shitty and slow IDE, and certainly not standing in a nice monolithic executable, i.e the distribution would an awfull bag of files, librariesn etc. Also to think that it will automagically solve cross platform compatibilities is delusional (e.g gitKraken has never worked for me on Windows). On the other hand, people seem to be happy with VSCode, which is also made with this platform...but by many more ppl.
Jul 04 2016
prev sibling parent reply Vadim Lopatin <coolreader.org gmail.com> writes:
On Monday, 4 July 2016 at 18:25:51 UTC, tcak wrote:
 As far as I known, and FEEL, one of the biggest problems of IDE 
 development is cross platform user interface development.
I'm working on cross-platform D IDE based on cross-platform GUI library. Works on Linux, Windows, OSX, and may be easy ported to other OS if necessary. Written in D, so I suppose contributing to it might be easy for D developers. (assuming it may be more attractive to program in D than in JS, Java or C#). My IDE has syntax highlight, debugging support, auto-completion, go-to-definition, DUB support and many other features. Current state is almost usable. But only a few people were interested in contributing to this project.
Jul 05 2016
parent Chris <wendlec tcd.ie> writes:
On Tuesday, 5 July 2016 at 08:14:36 UTC, Vadim Lopatin wrote:
 On Monday, 4 July 2016 at 18:25:51 UTC, tcak wrote:
 As far as I known, and FEEL, one of the biggest problems of 
 IDE development is cross platform user interface development.
I'm working on cross-platform D IDE based on cross-platform GUI library. Works on Linux, Windows, OSX, and may be easy ported to other OS if necessary. Written in D, so I suppose contributing to it might be easy for D developers. (assuming it may be more attractive to program in D than in JS, Java or C#). My IDE has syntax highlight, debugging support, auto-completion, go-to-definition, DUB support and many other features. Current state is almost usable. But only a few people were interested in contributing to this project.
Yes, please everyone watch this space! DlangIDE is usually ignored when we talk about IDE's for D. We could really turn this into something bigger and more official.
Jul 05 2016