Ticket Created

SDK 8.0.0 BETA and language server build process

I tried using the SDK 8.0.0 BETA today and was able to get one smaller, more simple project working -- so I know the SDK works on my MacOS setup. However, I also ran into some issues, which seem to be specific to the language server build process (or whatever the process should be called):

1. One of my projects is able to get to 100% on the language server build processand displays warnings; however, when I attempt to run the app on the simulator, the process simply hangs. Sometimes it builds the PRG and sometimes it hangs prior. In both cases, the PRG never makes it to the simulator (whether it's already running or not). There's also no way to recover the build process and/or stop it; the little blue line continues to move at the top of the "Run and Debug" tab. The only way to stop this is to close the workspace/window. Whatever is going on also seems to cause an issue with "Find in Files", showing a subtext as "A system error occurred (spawn EBADF)".

2. Another project hangs around 33% during the language server build process, then seems to timeout and displays an error as such:

approachs7042mm: Error occurred while reading Monkey C file: Cannot invoke "String.split(String)" because the return value of "java.util.Properties.getProperty(String)" is null

In both the above cases, the projects compile and run just fine under SDK 7.4.3 and the older Monkey C plugin.

Parents
  • > I don't really understand what is "language server build process"

    Language server: the process which analyzes a source code language (such Monkey C) and provides language-specific information to a client such as a VS Code extension (e.g. the Monkey C extension). This information supports features "such as code completion, syntax highlighting, and marking of warnings and errors". Originally developed for VS Code, the language server protocol is now an open standard.

    Language server build process: In order to mark warnings and errors in the IDE, the language server presumably has to continuously build your code in the background, every time you make a change. This process is what's being referred to as the "Language server build process".

    www.google.com/search

    https://en.wikipedia.org/wiki/Language_Server_Protocol

    code.visualstudio.com/.../language-server-extension-guide

Comment
  • > I don't really understand what is "language server build process"

    Language server: the process which analyzes a source code language (such Monkey C) and provides language-specific information to a client such as a VS Code extension (e.g. the Monkey C extension). This information supports features "such as code completion, syntax highlighting, and marking of warnings and errors". Originally developed for VS Code, the language server protocol is now an open standard.

    Language server build process: In order to mark warnings and errors in the IDE, the language server presumably has to continuously build your code in the background, every time you make a change. This process is what's being referred to as the "Language server build process".

    www.google.com/search

    https://en.wikipedia.org/wiki/Language_Server_Protocol

    code.visualstudio.com/.../language-server-extension-guide

Children
No Data