Replies: 2 comments
-
Hi, that's an interesting question. To run the language server directly via a build command you would have to make sure to suppress all build output (since the language server uses stdio to communicate by default), e.g. by using ./gradlew -q --warning-mode none --console plain :server:run or by picking a different transport method (e.g. TCP). Also you would need to make sure that this command is executed from the Building the server first (e.g. via |
Beta Was this translation helpful? Give feedback.
-
By the way, something you may find interesting is Gradle's continuous builds, which watch the file tree for changes and continuously rebuild your project when anything changes. You could for example launch a continuous build using ./gradlew -t :server:installDist and then simply reload your LSP client whenever you want to see the changes. |
Beta Was this translation helpful? Give feedback.
-
First of all please allow me to thank everyone who is maintaining or contributing to this project.
Second of all, I'm very much interested in helping with this project but I'm currently stuck and I need help with the following:
gradlew :server:run
instead of having to build a binary everytime I make a change.Thanks,
Ahmed
Beta Was this translation helpful? Give feedback.
All reactions