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?

Mailing lists / fpc-other / 2020-04
7 messages · 5 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
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
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
So matter of taste? Same as some people prefer eclipse? I was wondering how it compares…
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
Sven Barth wroteIt'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
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