Strictly specify application.properties for LS process at launch

This commit is contained in:
aboyko
2024-10-11 17:19:23 -04:00
parent 0954e397f6
commit 7532aa35a8
8 changed files with 17 additions and 3 deletions

View File

@@ -44,6 +44,7 @@ public class SpringBootLanguageServer extends STS4LanguageServerProcessStreamCon
// args.add("-Xrunjdwp:server=y,transport=dt_socket,address=1044,suspend=n");
args.add("-Xmx1024m");
args.add("-XX:TieredStopAtLevel=1");
args.add("-Dspring.config.location=classpath:/application.properties");
addCustomJVMArgs(args);