sora-editor icon indicating copy to clipboard operation
sora-editor copied to clipboard

LSP not working , textmate not working , docs are missing

Open SyntaxSpin opened this issue 5 months ago • 12 comments

I downloaded tmlanguage file from Vscode extensions for (python programming language ) and I integrated it using what you said in your documentation and integrated a java scheme for my app inside this library but it didn't work it trace the text but not showing it

also the documentation isn't full and supportive too I suggest to increase the work at the library cause some applications needs it and not everyone can modify the source code of library for his purposes

even we don't have support for other languages lsp like kotlin python html css Javascript rust ruby c++ c c# ...

I will provide screenshots of the app I made and how it is not working

Image

SyntaxSpin avatar Jul 15 '25 16:07 SyntaxSpin

Lsp support is not complete, but textmate is definitely working. refer to the sample app. And while the documentation is not complete. But the library is working and is used on the (disconnected) AndroidIDE among other ones.

Btw shout out to Tunisia from Egypt :)

MohammadKHC avatar Jul 16 '25 10:07 MohammadKHC

@MohammedKHC0 Thanks for clearifying but why doesn't show on my app (my app is java based app) I did everything said in docs

while textmate or TreeSitter isn't important in modern IDEs/Editors the LSP more convenient and the sora editor team can achieve it cause there's already many open source LSP like Kotlin LSP or Python or Web LSP and also while my app is based on sora editor I cannot do anything with highlighting while people inside my community suggested me todo text highlighting for different languages and I tried that in another simple experimental app.

also documentation represents how the project is organized and well done you cannot do the work without documentation unless really you have plenty of time and good PC performance to understand fully the source code which is I don't have both or modify the source code which is might be written in kotlin programming language and I don't have time to learn kotlin and I am still sticked to Java Programming Language

also thanks from shouting to tunisia from egypt

SyntaxSpin avatar Jul 16 '25 15:07 SyntaxSpin

I downloaded tmlanguage file from Vscode extensions for (python programming language ) and I integrated it using what you said in your documentation and integrated a java scheme for my app inside this library but it didn't work it trace the text but not showing it

also the documentation isn't full and supportive too I suggest to increase the work at the library cause some applications needs it and not everyone can modify the source code of library for his purposes

even we don't have support for other languages lsp like kotlin python html css Javascript rust ruby c++ c c# ...

I will provide screenshots of the app I made and how it is not working

Image

This argument is absolute nonsense. The developers behind AndroidIDE and Xed-Editor have successfully implemented LSP support, clearly proving that it's possible with enough knowledge and effort. If you’re unable to get it working, perhaps it’s time to stop blaming the tools and start acknowledging the real issue: a lack of skill or understanding on your part. The technology isn’t at fault, your grasp of it is. Instead of whining, invest that energy into learning how things actually work.

Volt83 avatar Jul 25 '25 01:07 Volt83

@Volt83

I didn't like the gibberish non sense way how you talked with me and by meaning Xed editor and android ide the guys who made them has plenty of time on those times I don't have time

also the point of creating a full supportive library with documentation is to learn from not all people can learn from code examples like doing a math application or exercise without even knowing what math is

Modding a library maybe is The effort of its owner But not everyone is perfect and everyone has it is own matters or problems and not everyone is like the xed editor guy or android ide guy and I wanted to test the library as I only found it and no code editor module for android is available only this library but the documentation isn't clear and the source code is messy it needs days to understand and I don't have time to

so instead of talking in bad way about people's skills try to fix the library or make documentation better than wasting people's time with the gibberish talking

SyntaxSpin avatar Sep 05 '25 08:09 SyntaxSpin

@SyntaxSpin In case of Textmate , You may facing same problems what I had

You have to use same theme files and grammar (tmlanguage files)

E.g : you can get theme and languages from vscode source , you can use them together only

Note: some themes have some dependent files, if you miss , it will highlight partially, so you have to concatenate both theme files in single file

subham008 avatar Sep 05 '25 09:09 subham008

@subham008

I made my own theme class on rosemoe/sora-editor which is using material 3 dynamic color system It's not linked I guess with TmThemes

SyntaxSpin avatar Sep 05 '25 09:09 SyntaxSpin

@SyntaxSpin yaa then problem is theme and languages scopes mismatched You should give a try with official themes

subham008 avatar Sep 05 '25 09:09 subham008

will treesitter do the same thing ? @subham008

SyntaxSpin avatar Sep 05 '25 09:09 SyntaxSpin

@SyntaxSpin treesitter is different and it's too much work I recommend you to stick with Textmate It works I can help you , You can send me your own theme file I will review it I will do what I can

subham008 avatar Sep 05 '25 09:09 subham008

https://github.com/Sparkleseditor/Sparkleseditor/blob/e0f2ba70bb92d400e2f513ceb5940e8b4718db38/app/src/main/java/com/sparkleside/ui/editor/schemes/SparklesScheme.java#L1-L35

This the Scheme I use @subham008 and if you have any social app I can reach you in, give me the coordinates

SyntaxSpin avatar Sep 05 '25 09:09 SyntaxSpin

I don't use social media you can communicate me in WhatsApp Mail me I will mail you my phone number [email protected]

subham008 avatar Sep 05 '25 09:09 subham008

I don't use whatsapp as it is a malware but I have a telegram account and discord account you can visit my server from the following link below https://syntaxspin.frii.site/discord/ @subham008

SyntaxSpin avatar Sep 05 '25 10:09 SyntaxSpin