Re: [fpc-other] VSCode
Am 28.04.2020 um 02:14 schrieb Graeme Geldenhuys: On 26/04/2020 2:37 pm, Sven Barth via fpc-other wrote: It's more lightweight than eclipse. Well that's comparing Apples to Oranges isn't it? Yes originally Eclipse was designed as an IDE for many languages, but it has grown to be so much more - even a platform to base new applications on (similar to VCL, LCL etc). Granted I haven't played much with VSCode, but considering it is built on the same foundations as Atom, Sublime Text... ie CSS/HTML engine, they are quite resource intensive. But then I guess I'm comparing them as pure text editors in the lines of EditPad Pro, Vim, gEdit etc that uses a fraction of the memory (one example of resource usage) to load the same set of files. eg: The last time I tried Atom (2 months ago) it used 380MB to load a set of 10 large Java files. jEdit used 180MB and EditPad Pro used 18MB. Vim was something like 8MB - lol. I meant that in the context of "I need a JDK installed". Which I usually don't have on my computers. On my current one I installed a JDK only a few weeks ago to test something with Ghidra, but before that I was happy without one. And I'll probably kick that one out again... Regards, Sven ___ fpc-other maillist - fpc-other@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] VSCode
On 26/04/2020 2:37 pm, Sven Barth via fpc-other wrote: > It's more lightweight than eclipse. Well that's comparing Apples to Oranges isn't it? Yes originally Eclipse was designed as an IDE for many languages, but it has grown to be so much more - even a platform to base new applications on (similar to VCL, LCL etc). Granted I haven't played much with VSCode, but considering it is built on the same foundations as Atom, Sublime Text... ie CSS/HTML engine, they are quite resource intensive. But then I guess I'm comparing them as pure text editors in the lines of EditPad Pro, Vim, gEdit etc that uses a fraction of the memory (one example of resource usage) to load the same set of files. eg: The last time I tried Atom (2 months ago) it used 380MB to load a set of 10 large Java files. jEdit used 180MB and EditPad Pro used 18MB. Vim was something like 8MB - lol. Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp ___ fpc-other maillist - fpc-other@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] VSCode
Am 26.04.20 um 14:28 schrieb Martin Frb: On 26/04/2020 14:21, Sven Barth via fpc-other wrote: Am 26.04.2020 um 14:03 schrieb Martin: Just curiosity: I recently see a lot of great efforts to make things more widely available (language server / debug adapter). Often with reference to use in VSCode. I wonder what the advantage or usecases are for using VSCode as an IDE? - free and open source - cross platform - easy to setup - support for a wide range of languages (syntax highlighting, the language servers) and environments (e.g. there's Arduino support which is leagues better than that of the Arduino IDE) - if the language server is implemented well then good code completion as well So matter of taste? Same as some people prefer eclipse? I was wondering how it compares (if used with FPC) to Lazarus. (Not saying that Lazarus has a monopoly, just interested in knowing the diffs) I.e., maybe it offers some features that Lazarus does not have? I can see the advantage for people often using diff languages, to use one IDE for all of them. It has a few advantages: - minimap - better scm integration - quicker way to run external commands ("tasks"), editing the tools in lazarus is pretty cumbersome ___ fpc-other maillist - fpc-other@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] VSCode
Am 26.04.2020 um 14:28 schrieb Martin Frb: On 26/04/2020 14:21, Sven Barth via fpc-other wrote: Am 26.04.2020 um 14:03 schrieb Martin: Just curiosity: I recently see a lot of great efforts to make things more widely available (language server / debug adapter). Often with reference to use in VSCode. I wonder what the advantage or usecases are for using VSCode as an IDE? - free and open source - cross platform - easy to setup - support for a wide range of languages (syntax highlighting, the language servers) and environments (e.g. there's Arduino support which is leagues better than that of the Arduino IDE) - if the language server is implemented well then good code completion as well So matter of taste? Same as some people prefer eclipse? It's more lightweight than eclipse. And being written in JavaScript instead of Java it might feel easier accessible for people wanting to write extensions... I was wondering how it compares (if used with FPC) to Lazarus. (Not saying that Lazarus has a monopoly, just interested in knowing the diffs) I.e., maybe it offers some features that Lazarus does not have? By itself it's very weak for Pascal code. However there is the OmniPascal extension that provides support for compiling Delphi and Lazarus projects and also provides a language server (it's more geared towards Delphi language than FPC's syntax however). It does however not provide a visual form designer. TMS also provides their TMS Web Core for VSCode including a form designer (they probably created a form designer using their Web VCL). Regards, Sven ___ fpc-other maillist - fpc-other@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] VSCode
On 26/04/2020 14:21, Sven Barth via fpc-other wrote: Am 26.04.2020 um 14:03 schrieb Martin: Just curiosity: I recently see a lot of great efforts to make things more widely available (language server / debug adapter). Often with reference to use in VSCode. I wonder what the advantage or usecases are for using VSCode as an IDE? - free and open source - cross platform - easy to setup - support for a wide range of languages (syntax highlighting, the language servers) and environments (e.g. there's Arduino support which is leagues better than that of the Arduino IDE) - if the language server is implemented well then good code completion as well So matter of taste? Same as some people prefer eclipse? I was wondering how it compares (if used with FPC) to Lazarus. (Not saying that Lazarus has a monopoly, just interested in knowing the diffs) I.e., maybe it offers some features that Lazarus does not have? I can see the advantage for people often using diff languages, to use one IDE for all of them. ___ fpc-other maillist - fpc-other@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] VSCode
Am 26.04.2020 um 14:03 schrieb Martin: Just curiosity: I recently see a lot of great efforts to make things more widely available (language server / debug adapter). Often with reference to use in VSCode. I wonder what the advantage or usecases are for using VSCode as an IDE? - free and open source - cross platform - easy to setup - support for a wide range of languages (syntax highlighting, the language servers) and environments (e.g. there's Arduino support which is leagues better than that of the Arduino IDE) - if the language server is implemented well then good code completion as well Regards, Sven ___ fpc-other maillist - fpc-other@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other