TypeCobolTeam / TypeCobol

TypeCobol is an Incremental Cobol parser for IBM Enterprise Cobol 6 for zOS syntax. TypeCobol is also an extension of Cobol 85 language which can then be converted to Cobol85.
Other
78 stars 26 forks source link

Vscode plugin #1436

Open minkir014 opened 5 years ago

minkir014 commented 5 years ago

Can this language server be turned into vs code plugin and if yes where is that plugin? and another question. Is linting supported in this language server?

smedilol commented 5 years ago

Hello,

Our language server could be turned into a VSCode plugin. But we didn't try it, because we use IDZ (https://www.ibm.com/fr-fr/marketplace/developer-for-z-systems). Our language server use standard Input/Output to communicate with IDZ. I don't know if it's compatible with VSCode.

Do you have an experience with VSCode plugin ? VSCode integration is not in our priority but if someone can tell us what to do, we can at least check the amount of effort to do it.

Our language server doesn't support linting. Only syntax errors and semantic errors for a small subset of Cobol rules. We should be able to implement most of Sonar Cobol rules (except for SQL rules, because we don't parse code inside EXEC SQL). This could be one of our top priority next year.

minkir014 commented 5 years ago

What's the difference between TypeCobol.LanguageServer and TypeCobol.LanguageServer.Test ? I wanted to know so that I will take your server and make its client in vscode.

And Do you use gdb for debugging COBOL or you made a new debugger?

smedilol commented 5 years ago

Hi,

TypeCobol.LanguageServer.Test only contains unit test for language server protocol made with our tool https://github.com/TypeCobolTeam/LanguageServerRobot.

TypeCobol.LanguageServer contains all you need to run the VSCode plugin.

We use Xpediter as Cobol debugger.

Let us know if you achieve to integrate TypeCobol.LanguageServer with VSCode.