ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* LSP support
@ 2020-06-27 10:13 Saša Janiška
  2020-06-27 16:14 ` Alan Braslau
  2020-06-28 11:36 ` TeXnician
  0 siblings, 2 replies; 3+ messages in thread
From: Saša Janiška @ 2020-06-27 10:13 UTC (permalink / raw)
  To: ntg-context

Hello,

yesterday while exploring features/plugins of Kakoune (https://kakoune.org/)
editor I, naturally, asked about ConTeXt/LaTeX support and was told about
TexLab project (https://github.com/latex-lsp/texlab) bringing LSP
(https://microsoft.github.io/language-server-protocol/) support for LaTeX.
Interestingly enough, by browsing through the tickets I've found the following
issue: "ConTeXt support" (https://github.com/latex-lsp/texlab/issues/166) where
one of the, afaict, main devs of the project replied with:

"ConTeXt support is definitely in scope of this project.
Our LaTeX parser does not rely on LaTeX specifics
but a lot of the features like code completion rely on LaTeX specifics.
Nevertheless, supporting ConTeXt is a lot of effort at the moment
as I have never used ConTeXt before.
Supporting the project structure of ConTeXt would probably be the first
step. "

Of course, I'm glad that TexLab project does provide LSP support and bringing
it to the Kakoune editor as well, but I'm sure that many of you know
that bringing ConTeXt support to TexLab would benefit users of **many**
other editors since these today many most popular editors (Atom, Emacs,
SublimeText, (neo)Vimn, VScode...) are having support for LSP.

Unfortuantely, I'm ConTeXt noob and not speaking Rust, but just want to bring
the information if there are people familiar with both about potential benefit
for ConTeXt to get LSP support.


Sincerely,
Saša

-- 
One who is not disturbed in mind even amidst the threefold
miseries or elated when there is happiness, and who is free
from attachment, fear and anger, is called a sage of steady mind.


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

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

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

* Re: LSP support
  2020-06-27 10:13 LSP support Saša Janiška
@ 2020-06-27 16:14 ` Alan Braslau
  2020-06-28 11:36 ` TeXnician
  1 sibling, 0 replies; 3+ messages in thread
From: Alan Braslau @ 2020-06-27 16:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Saša Janiška

A start:

lua-lsp
A Language Server for Lua code, written in Lua.
Supports Lua 5.1-5.3 and Luajit

Alan

On 27/06/20 04:13, Saša Janiška wrote:
> Hello,
> 
> yesterday while exploring features/plugins of Kakoune (https://kakoune.org/)
> editor I, naturally, asked about ConTeXt/LaTeX support and was told about
> TexLab project (https://github.com/latex-lsp/texlab) bringing LSP
> (https://microsoft.github.io/language-server-protocol/) support for LaTeX.
> Interestingly enough, by browsing through the tickets I've found the following
> issue: "ConTeXt support" (https://github.com/latex-lsp/texlab/issues/166) where
> one of the, afaict, main devs of the project replied with:
> 
> "ConTeXt support is definitely in scope of this project.
> Our LaTeX parser does not rely on LaTeX specifics
> but a lot of the features like code completion rely on LaTeX specifics.
> Nevertheless, supporting ConTeXt is a lot of effort at the moment
> as I have never used ConTeXt before.
> Supporting the project structure of ConTeXt would probably be the first
> step. "
> 
> Of course, I'm glad that TexLab project does provide LSP support and bringing
> it to the Kakoune editor as well, but I'm sure that many of you know
> that bringing ConTeXt support to TexLab would benefit users of **many**
> other editors since these today many most popular editors (Atom, Emacs,
> SublimeText, (neo)Vimn, VScode...) are having support for LSP.
> 
> Unfortuantely, I'm ConTeXt noob and not speaking Rust, but just want to bring
> the information if there are people familiar with both about potential benefit
> for ConTeXt to get LSP support.
> 
> 
> Sincerely,
> Saša
> 

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

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

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

* Re: LSP support
  2020-06-27 10:13 LSP support Saša Janiška
  2020-06-27 16:14 ` Alan Braslau
@ 2020-06-28 11:36 ` TeXnician
  1 sibling, 0 replies; 3+ messages in thread
From: TeXnician @ 2020-06-28 11:36 UTC (permalink / raw)
  To: ntg-context

> Of course, I'm glad that TexLab project does provide LSP support and bringing
> it to the Kakoune editor as well, but I'm sure that many of you know
> that bringing ConTeXt support to TexLab would benefit users of **many**
> other editors since these today many most popular editors (Atom, Emacs,
> SublimeText, (neo)Vimn, VScode...) are having support for LSP.

TeXLab is not the only LSP for *TeX.

https://github.com/astoff/digestif merged ConTeXt support including some TikZ
wrapping for ConTeXt etc. (Have a look at PR #24.)

It is written in Lua, so if you feel more native there you could contribute.

> Unfortuantely, I'm ConTeXt noob and not speaking Rust, but just want to bring
> the information if there are people familiar with both about potential benefit
> for ConTeXt to get LSP support.

If someone would extend TeXLab that would surely benefit many. But they seem
much more hard-wired towards LaTeX.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

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

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

end of thread, other threads:[~2020-06-28 11:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-27 10:13 LSP support Saša Janiška
2020-06-27 16:14 ` Alan Braslau
2020-06-28 11:36 ` TeXnician

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).