ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* New VSCode extenstion using ConTeXt Language server
@ 2022-11-08 14:20 Ramkumar KB via ntg-context
  2022-11-08 15:41 ` New VSCode extension " Henning Hraban Ramm via ntg-context
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Ramkumar KB via ntg-context @ 2022-11-08 14:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Ramkumar KB


[-- Attachment #1.1: Type: text/plain, Size: 913 bytes --]

Hello All,

I have published the new VSCode Extension for ConTeXt, that I presented
during the 2022 ConTeXt meeting -

https://wiki.contextgarden.net/VSCode

You can install it manually in the VSCode (using the "Install from VSIX..."
option).
Documentation (for now) -
https://meeting.contextgarden.net/2022/talks/ramkumar/ramkumar-talk.pdf

This supports ConTeXt markup and for any Lua code (within \startluacode &
\stopluacode) it re-directs to the Lua Language Server (from Sumneko -
https://github.com/sumneko/lua-language-server )

To Do -

   1. Make the source code open-source
   2. Add new features (like Hover & Tooltip)
   3. Work with Taco to add MetaPost Language Server (this could be
   challenging and interesting)

Do give this a try and give your feedback. Note that this does not contain
*all* the macros but covers the vast majority of the ConTeXt commands.

Thank you,

best regards
Ramkumar

[-- Attachment #1.2: Type: text/html, Size: 1406 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New VSCode extension using ConTeXt Language server
  2022-11-08 14:20 New VSCode extenstion using ConTeXt Language server Ramkumar KB via ntg-context
@ 2022-11-08 15:41 ` Henning Hraban Ramm via ntg-context
  2022-11-08 15:55 ` New VSCode extenstion " Floris van Manen via ntg-context
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2022-11-08 15:41 UTC (permalink / raw)
  To: ntg-context; +Cc: Henning Hraban Ramm

Am 08.11.22 um 15:20 schrieb Ramkumar KB via ntg-context:
> Hello All,
> 
> I have published the new VSCode Extension for ConTeXt, that I presented 
> during the 2022 ConTeXt meeting -

Thank you!
I spread the good news on Mastodon:
https://fosstodon.org/@context/109308910662669923

Hraban

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New VSCode extenstion using ConTeXt Language server
  2022-11-08 14:20 New VSCode extenstion using ConTeXt Language server Ramkumar KB via ntg-context
  2022-11-08 15:41 ` New VSCode extension " Henning Hraban Ramm via ntg-context
@ 2022-11-08 15:55 ` Floris van Manen via ntg-context
  2022-11-09 13:38   ` Ramkumar KB via ntg-context
  2022-11-09 12:36 ` Denis Maier via ntg-context
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Floris van Manen via ntg-context @ 2022-11-08 15:55 UTC (permalink / raw)
  To: ntg-context; +Cc: Floris van Manen

I cannot get it (vsix) to work on linux ubuntu with codium (the 
telematic-free version)
There is probably a reason to it...



On 08/11/2022 15:20, Ramkumar KB via ntg-context wrote:
> Subject:
> [NTG-context] New VSCode extenstion using ConTeXt Language server
> From:
> Ramkumar KB via ntg-context <ntg-context@ntg.nl>
> Date:
> 08/11/2022, 15:20
> 
> To:
> mailing list for ConTeXt users <ntg-context@ntg.nl>
> CC:
> Ramkumar KB <ramkumarkb@gmail.com>
> 
> 
> Hello All,
> 
> I have published the new VSCode Extension for ConTeXt, that I presented 
> during the 2022 ConTeXt meeting -
> 
> https://wiki.contextgarden.net/VSCode 
> <https://wiki.contextgarden.net/VSCode>
> 
> You can install it manually in the VSCode (using the "Install from 
> VSIX..." option).
> Documentation (for now) - 
> https://meeting.contextgarden.net/2022/talks/ramkumar/ramkumar-talk.pdf 
> <https://meeting.contextgarden.net/2022/talks/ramkumar/ramkumar-talk.pdf>
> 
> This supports ConTeXt markup and for any Lua code (within 
> \startluacode & \stopluacode) it re-directs to the Lua Language Server 
> (from Sumneko - https://github.com/sumneko/lua-language-server 
> <https://github.com/sumneko/lua-language-server> )
> 
> To Do -
> 
>  1. Make the source code open-source
>  2. Add new features (like Hover & Tooltip)
>  3. Work with Taco to add MetaPost Language Server (this could be
>     challenging and interesting)
> 
> Do give this a try and give your feedback. Note that this does not 
> contain *all* the macros but covers the vast majority of the ConTeXt 
> commands.
> 
> Thank you,
> 
> best regards
> Ramkumar
> 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist :ntg-context@ntg.nl  /https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  :https://www.pragma-ade.nl  /http://context.aanhet.net
> archive  :https://bitbucket.org/phg/context-mirror/commits/
> wiki     :https://contextgarden.net
> ___________________________________________________________________________________
> 
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New VSCode extenstion using ConTeXt Language server
  2022-11-08 14:20 New VSCode extenstion using ConTeXt Language server Ramkumar KB via ntg-context
  2022-11-08 15:41 ` New VSCode extension " Henning Hraban Ramm via ntg-context
  2022-11-08 15:55 ` New VSCode extenstion " Floris van Manen via ntg-context
@ 2022-11-09 12:36 ` Denis Maier via ntg-context
  2022-11-09 13:47   ` Ramkumar KB via ntg-context
  2022-11-09 13:59 ` Saša Janiška via ntg-context
  2022-11-09 14:02 ` Saša Janiška via ntg-context
  4 siblings, 1 reply; 9+ messages in thread
From: Denis Maier via ntg-context @ 2022-11-09 12:36 UTC (permalink / raw)
  To: ntg-context; +Cc: denis.maier


[-- Attachment #1.1.1: Type: text/plain, Size: 1498 bytes --]

Thanks. I’ve had a quick look.
One thing I’ve found is that it supports \start... commands, yet in some cases the corresponding \stop... commands seem to be missing.
[cid:image001.png@01D8F440.4954AD00]

Am I missing something ?

Best,
Denis

Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Ramkumar KB via ntg-context
Gesendet: Dienstag, 8. November 2022 15:20
An: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Ramkumar KB <ramkumarkb@gmail.com>
Betreff: [NTG-context] New VSCode extenstion using ConTeXt Language server

Hello All,

I have published the new VSCode Extension for ConTeXt, that I presented during the 2022 ConTeXt meeting -

https://wiki.contextgarden.net/VSCode

You can install it manually in the VSCode (using the "Install from VSIX..." option).
Documentation (for now) - https://meeting.contextgarden.net/2022/talks/ramkumar/ramkumar-talk.pdf

This supports ConTeXt markup and for any Lua code (within \startluacode & \stopluacode) it re-directs to the Lua Language Server (from Sumneko - https://github.com/sumneko/lua-language-server )

To Do -

  1.  Make the source code open-source
  2.  Add new features (like Hover & Tooltip)
  3.  Work with Taco to add MetaPost Language Server (this could be challenging and interesting)
Do give this a try and give your feedback. Note that this does not contain *all* the macros but covers the vast majority of the ConTeXt commands.

Thank you,

best regards
Ramkumar


[-- Attachment #1.1.2: Type: text/html, Size: 6307 bytes --]

[-- Attachment #1.2: image001.png --]
[-- Type: image/png, Size: 27067 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New VSCode extenstion using ConTeXt Language server
  2022-11-08 15:55 ` New VSCode extenstion " Floris van Manen via ntg-context
@ 2022-11-09 13:38   ` Ramkumar KB via ntg-context
  2022-11-09 20:47     ` Floris van Manen via ntg-context
  0 siblings, 1 reply; 9+ messages in thread
From: Ramkumar KB via ntg-context @ 2022-11-09 13:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Ramkumar KB


[-- Attachment #1.1: Type: text/plain, Size: 3055 bytes --]

Floris,
Can you please try with VSCode first in Ubuntu and see if this works?

We have never tried with Codium (unfortunately) and therefore not sure how
the Extension sytem works in Codium.

Best.

On Wed, Nov 9, 2022 at 12:03 AM Floris van Manen via ntg-context <
ntg-context@ntg.nl> wrote:

> I cannot get it (vsix) to work on linux ubuntu with codium (the
> telematic-free version)
> There is probably a reason to it...
>
>
>
> On 08/11/2022 15:20, Ramkumar KB via ntg-context wrote:
> > Subject:
> > [NTG-context] New VSCode extenstion using ConTeXt Language server
> > From:
> > Ramkumar KB via ntg-context <ntg-context@ntg.nl>
> > Date:
> > 08/11/2022, 15:20
> >
> > To:
> > mailing list for ConTeXt users <ntg-context@ntg.nl>
> > CC:
> > Ramkumar KB <ramkumarkb@gmail.com>
> >
> >
> > Hello All,
> >
> > I have published the new VSCode Extension for ConTeXt, that I presented
> > during the 2022 ConTeXt meeting -
> >
> > https://wiki.contextgarden.net/VSCode
> > <https://wiki.contextgarden.net/VSCode>
> >
> > You can install it manually in the VSCode (using the "Install from
> > VSIX..." option).
> > Documentation (for now) -
> > https://meeting.contextgarden.net/2022/talks/ramkumar/ramkumar-talk.pdf
> > <https://meeting.contextgarden.net/2022/talks/ramkumar/ramkumar-talk.pdf
> >
> >
> > This supports ConTeXt markup and for any Lua code (within
> > \startluacode & \stopluacode) it re-directs to the Lua Language Server
> > (from Sumneko - https://github.com/sumneko/lua-language-server
> > <https://github.com/sumneko/lua-language-server> )
> >
> > To Do -
> >
> >  1. Make the source code open-source
> >  2. Add new features (like Hover & Tooltip)
> >  3. Work with Taco to add MetaPost Language Server (this could be
> >     challenging and interesting)
> >
> > Do give this a try and give your feedback. Note that this does not
> > contain *all* the macros but covers the vast majority of the ConTeXt
> > commands.
> >
> > Thank you,
> >
> > best regards
> > Ramkumar
> >
> >
> >
> ___________________________________________________________________________________
> > If your question is of interest to others as well, please add an entry
> to the Wiki!
> >
> > maillist :ntg-context@ntg.nl  /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage  :https://www.pragma-ade.nl  /http://context.aanhet.net
> > archive  :https://bitbucket.org/phg/context-mirror/commits/
> > wiki     :https://contextgarden.net
> >
> ___________________________________________________________________________________
> >
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 5589 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New VSCode extenstion using ConTeXt Language server
  2022-11-09 12:36 ` Denis Maier via ntg-context
@ 2022-11-09 13:47   ` Ramkumar KB via ntg-context
  0 siblings, 0 replies; 9+ messages in thread
From: Ramkumar KB via ntg-context @ 2022-11-09 13:47 UTC (permalink / raw)
  To: denis.maier; +Cc: Ramkumar KB, ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 2229 bytes --]

Denis,

Thanks for the feedback.

No, you are not missing anything. The ConTeXt command list comes from a
file that Hans & Hraban maintain - to create the PDF version of the ConTeXt
commands guide that is available with the distribution -
https://wiki.contextgarden.net/Documentation (we convert that file into a
Typescript object and then use it in the Language Server).

Yes, this is an obvious improvement point that you have highlighted - I
will work with Hans & Hraban to improve it.

Best,

On Wed, Nov 9, 2022 at 8:36 PM <denis.maier@unibe.ch> wrote:

> Thanks. I’ve had a quick look.
>
> One thing I’ve found is that it supports \start... commands, yet in some
> cases the corresponding \stop... commands seem to be missing.
>
>
>
> Am I missing something ?
>
>
>
> Best,
>
> Denis
>
>
>
> *Von:* ntg-context <ntg-context-bounces@ntg.nl> *Im Auftrag von *Ramkumar
> KB via ntg-context
> *Gesendet:* Dienstag, 8. November 2022 15:20
> *An:* mailing list for ConTeXt users <ntg-context@ntg.nl>
> *Cc:* Ramkumar KB <ramkumarkb@gmail.com>
> *Betreff:* [NTG-context] New VSCode extenstion using ConTeXt Language
> server
>
>
>
> Hello All,
>
>
>
> I have published the new VSCode Extension for ConTeXt, that I presented
> during the 2022 ConTeXt meeting -
>
>
>
> https://wiki.contextgarden.net/VSCode
>
>
>
> You can install it manually in the VSCode (using the "Install from
> VSIX..." option).
>
> Documentation (for now) -
> https://meeting.contextgarden.net/2022/talks/ramkumar/ramkumar-talk.pdf
>
>
>
> This supports ConTeXt markup and for any Lua code (within \startluacode &
> \stopluacode) it re-directs to the Lua Language Server (from Sumneko -
> https://github.com/sumneko/lua-language-server )
>
>
>
> To Do -
>
>    1. Make the source code open-source
>    2. Add new features (like Hover & Tooltip)
>    3. Work with Taco to add MetaPost Language Server (this could be
>    challenging and interesting)
>
> Do give this a try and give your feedback. Note that this does not contain
> *all* the macros but covers the vast majority of the ConTeXt commands.
>
>
>
> Thank you,
>
>
>
> best regards
>
> Ramkumar
>
>
>

[-- Attachment #1.1.2: Type: text/html, Size: 5507 bytes --]

[-- Attachment #1.2: image001.png --]
[-- Type: image/png, Size: 27067 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New VSCode extenstion using ConTeXt Language server
  2022-11-08 14:20 New VSCode extenstion using ConTeXt Language server Ramkumar KB via ntg-context
                   ` (2 preceding siblings ...)
  2022-11-09 12:36 ` Denis Maier via ntg-context
@ 2022-11-09 13:59 ` Saša Janiška via ntg-context
  2022-11-09 14:02 ` Saša Janiška via ntg-context
  4 siblings, 0 replies; 9+ messages in thread
From: Saša Janiška via ntg-context @ 2022-11-09 13:59 UTC (permalink / raw)
  To: ntg-context; +Cc: Saša Janiška

On Tue, 8 Nov 2022 22:20:10 +0800
Ramkumar KB via ntg-context <ntg-context@ntg.nl> wrote:

> Hello All,
> 
> I have published the new VSCode Extension for ConTeXt, that I
> presented during the 2022 ConTeXt meeting -
> 
> https://wiki.contextgarden.net/VSCode

Any plan to make it work with other editors which do support LSP?


Sincerely,
Saša

-- 
In this endeavor there is no loss or diminution,
and a little advancement on this path can protect
one from the most dangerous type of fear.


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New VSCode extenstion using ConTeXt Language server
  2022-11-08 14:20 New VSCode extenstion using ConTeXt Language server Ramkumar KB via ntg-context
                   ` (3 preceding siblings ...)
  2022-11-09 13:59 ` Saša Janiška via ntg-context
@ 2022-11-09 14:02 ` Saša Janiška via ntg-context
  4 siblings, 0 replies; 9+ messages in thread
From: Saša Janiška via ntg-context @ 2022-11-09 14:02 UTC (permalink / raw)
  To: ntg-context; +Cc: Saša Janiška

On Tue, 8 Nov 2022 22:20:10 +0800
Ramkumar KB via ntg-context <ntg-context@ntg.nl> wrote:

> Hello All,
> 
> I have published the new VSCode Extension for ConTeXt, that I
> presented during the 2022 ConTeXt meeting -
> 
> https://wiki.contextgarden.net/VSCode  

Any plan to make it work with other editors which do support LSP?


Sincerely,
Saša

-- 
In this endeavor there is no loss or diminution,
and a little advancement on this path can protect
one from the most dangerous type of fear.


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: New VSCode extenstion using ConTeXt Language server
  2022-11-09 13:38   ` Ramkumar KB via ntg-context
@ 2022-11-09 20:47     ` Floris van Manen via ntg-context
  0 siblings, 0 replies; 9+ messages in thread
From: Floris van Manen via ntg-context @ 2022-11-09 20:47 UTC (permalink / raw)
  To: Ramkumar KB, mailing list for ConTeXt users; +Cc: Floris van Manen



On 09/11/2022 14:38, Ramkumar KB wrote:
> Can you please try with VSCode first in Ubuntu and see if this works?
> 
> We have never tried with Codium (unfortunately) and therefore not sure 
> how the Extension sytem works in Codium.
> 

Not too eager to invite the telemetricks into my machine,
so I'll rather opt to wait instead.
No hurry.

.F
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-11-09 20:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-08 14:20 New VSCode extenstion using ConTeXt Language server Ramkumar KB via ntg-context
2022-11-08 15:41 ` New VSCode extension " Henning Hraban Ramm via ntg-context
2022-11-08 15:55 ` New VSCode extenstion " Floris van Manen via ntg-context
2022-11-09 13:38   ` Ramkumar KB via ntg-context
2022-11-09 20:47     ` Floris van Manen via ntg-context
2022-11-09 12:36 ` Denis Maier via ntg-context
2022-11-09 13:47   ` Ramkumar KB via ntg-context
2022-11-09 13:59 ` Saša Janiška via ntg-context
2022-11-09 14:02 ` Saša Janiška via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).