On Tue, Aug 11, 2020 at 5:01 PM Edward K. Ream <[email protected]> wrote:

> I don't see any way to use [the ts code] in Leo, but I'll look a bit
further...

Searching for foldingProvider yields:
src\vs\workbench\api\common\extHostLanguageFeatures.ts

There are related providers in various languages, which lead to the
FoldingRange class in vscode\src\vs\vscode.d.ts.

Bingo! Searching on FoldingRange yields various language-specific "servers"
(and other classes), all written in ts.

Searching on languageMode also yields good results.

Hmm. vscode\src\vs\vscode.d.ts does have a startServer method, but it's not
clear what the server is, or what it does. The code is a labyrinth.

Leo is good at maneuvering through such labyrinths, but a study outline of
vscode\src\vs would be huge.

It's time for a break.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS0nGcmuDhnicK-H1BFCyrvE_dK35pAoZ7Kq97J8jofZ5w%40mail.gmail.com.

Reply via email to