我想创建一个扩展程序,它将解析语言(用我的语法编写),并找出错误所在。
所以我在Server中创建我的主类,然后将其导入VSCode。 如何从客户端访问我的主班?
这是我的launch.json:
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Debug (Launch) with Arguments Prompt",
"request": "launch",
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"stopOnEntry": false,
"mainClass": "",
"args": "${command:SpecifyProgramArgs}"
},
{
"type": "node",
"request": "attach",
"protocol": "legacy",
"name": "Attach",
"port": 9229
},
]
}
我的主类路径--- >>> / Desktop / intellijden eclipse-> VScode / vscode-languageserver-java-example / Server / app.class
但是我的服务器在.jar中。