smithy-lang / smithy-vscode

A Visual Studio Code extension to provide syntax highlighting for the Smithy IDL.
https://marketplace.visualstudio.com/items?itemName=smithy.smithy-vscode-extension
Apache License 2.0
37 stars 14 forks source link

Explicitly set Main class #78

Closed srchase closed 1 year ago

srchase commented 1 year ago

This PR updates the launch args to explicitly set the Main class from the Smithy Language Server with the -M flag.

This ensures the software.amazon.smithy.lsp.Main gets started, rather than relying on Coursier's heuristic to pick the right Main class, which will be needed when upgrading to the next version of the Language Server which includes this change: https://github.com/awslabs/smithy-language-server/pull/113

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.