Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / pas2js / 2020-12

Atom & VS Code Packages

7 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

Hello,

Unbelievable as it may seem to pascal enthousiasts, there are people who do not like to use Lazarus to work on their pascal code.

However, many prefer editors like Atom or VS Code.

For the latter people, I have created the possibility to create Atom packages using pas2js: the full Atom API is available. VS Code will follow soon.

It has been committed in the pas2js repository, the Atom interface is in packages/atom/libatom and a minimal pascal application object is in packages/atom/atomapp.

A demo exists in demo/atom. See attached screenshots for what it does. (not much, obviously, it is a demo... )

At the same time I have added to the lazarus IDE a new project type, giving you the option to create an Atom package from within Lazarus. It creates a skeleton package, much like the 'generate package' dialog in Atom itself. The project type is integrated in the existing pas2js_dsgn package.

See
https://wiki.freepascal.org/lazarus_pas2js_integration#Atom_package_options for a desription.

VS Code will follow, hopefully still befor the new year.

Now you may ask:
Why start with Atom and not VS Code, as the latter is meanwhile much more popular ?

Simple:
I myself am an Atom user, and wished to create some private packages for this envronment... But no worries, VS Code will follow soon.

Enjoy,

Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atom1.png
Type: image/png
Size: 44210 bytes
Desc:
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201222/8b850a9f/attachment-0002.png> -------------- next part --------------
A non-text attachment was scrubbed...
Name: atom2.png
Type: image/png
Size: 49965 bytes
Desc:
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201222/8b850a9f/attachment-0003.png>

Reply by email

Michael Van Canneyt
to heliosroots
heliosroots wrote
I already used pas2js with vscode(omnipascal), and tiring to generate a task for the build! for vscode will a build task be generated?

Presumably yes :-)

In Atom it's very easy, but I don't know yet what it will be in VS Code.

From what I can see in TMS Web core, it's also not too difficult :)

Michael.

Reply by email