Upcoming Textadept 12.0 alpha 2 #362
Replies: 11 comments 9 replies
-
That's really cool! (I remember discussions about this a long time ago) Does it mean all Textadept's built-in or loadable libraries are available? |
Beta Was this translation helpful? Give feedback.
-
lfs and lpeg are available, but `package.path` does not contain
Textadept's Lua modules, as they'd likely not be functional outside a
Textadept environment. There's nothing preventing you from trying, though.
|
Beta Was this translation helpful? Give feedback.
-
I haven't played with the LSP stuff yet but I really love it when I see a project reduce the scope of what it maintains while expanding what it can do and this decision looks like it might do that. Great work! |
Beta Was this translation helpful? Give feedback.
-
Very exciting. I am looking forward to that. |
Beta Was this translation helpful? Give feedback.
-
That would be an overkill for TextAdept . It would cease to be an editor you can place in a VM because it is resource aware. Not to speak about all the external dependencies…Enviado desde mi iPhoneEl 14 feb 2023, a las 23:14, snoopy ***@***.***> escribió:
allow the use of Tree-sitter parsers for syntax highlighting and more.
Very exciting. I am looking forward to that.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Tree-sitter is a C library for parsing source code (like Scintillua). It
doesn't need language servers at all. I have an experiment using
Tree-sitter parsers with Scintilla that doesn't have any external
dependencies: https://github.com/orbitalquark/tslexia
|
Beta Was this translation helpful? Give feedback.
-
Wow, the way you integrate the compilation process make it quite more
attractive than what they do elsewhere... :-)
Say I'd like to test it in TextAdept... two questions:
1.- Do I just compile everything into my .textadept/modules and then
require('tslexia') ?
2.- What about Python? Would it be as easy as adding the tree-sitter Python
parser?
You have nearly 'converted' me :-)
…On Wed, 15 Feb 2023 at 16:53, orbitalquark ***@***.***> wrote:
Tree-sitter is a C library for parsing source code (like Scintillua). It
doesn't need language servers at all. I have an experiment using
Tree-sitter parsers with Scintilla that doesn't have any external
dependencies: https://github.com/orbitalquark/tslexia
—
Reply to this email directly, view it on GitHub
<#362 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZKU4EL47W6FG6WM5TJY7LWXT3YJANCNFSM6AAAAAAU2UJHUU>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler
Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet
|
Beta Was this translation helpful? Give feedback.
-
Feedback on "the present" (just compiled TextAdept again):
For the rest, not having the stock modules for Python, C, etc. didn't collide with all my legacy init.lua stuff... :-) |
Beta Was this translation helpful? Give feedback.
-
TextAdept Nightly. Edit -> Preferences to open init.lua will trigger [Output Buffer] with this error:
|
Beta Was this translation helpful? Give feedback.
-
Regarding LSP, I will very glad if TextAdept could support LSP over TCP. This language server only operates over TCP: https://github.com/objeck/objeck-lsp Currently there are only two options to use with it as I know: Sublime Text or VSCode 😮💨 |
Beta Was this translation helpful? Give feedback.
-
People tried their best to make their text editor's lexer more powerful to be able to correctly handle more complex languages. You are weird. You go away from your very own lexer and wanted to rely on the external language servers instead? Let me give you an example: Netbeans IDE. I followed the tutorial to add support for a new language via the newly introduced LSP Client plugin. I have the textmate syntax file, so I expect it should be able to correctly handle the language even before I could make the language server works with it. It turned out to be wrong. The textmate syntax file is not enough. It only provides basic syntax highlighting. Code completion (basic ones like auto complete of brackets, double and single quotes,...) and auto indentation doesn't work. It relied on the language server to provide these features that I consider should be work out of the box without the need of any language servers. I ended up abandon the idea of using Netbeans IDE for that programming language. Do you want to make your text editor to be useless like that? |
Beta Was this translation helpful? Give feedback.
-
Heads up: I've committed a large set of changes to the Textadept and its individual modules repositories in anticipation of the next alpha in March. Please keep this in mind if you're pulling or downloading new nightly builds, and let me know if you encounter any issues. I'm sorry in advance :( This should be the last set of major changes before the next release. Notable changes include:
require('lsp').server_commands.lua = nil
.-L
or--lua
flag.For an overview of all of the changes from Textadept 11 so far, please see the running changelog and migration guide.
Once again, please let me know if you encounter any issues and I'll do the best I can to try and help. Thanks for your patience and understanding.
Beta Was this translation helpful? Give feedback.
All reactions