{"id":26690214,"url":"https://github.com/spring-projects/spring-tools","last_synced_at":"2025-05-15T04:05:05.978Z","repository":{"id":37582717,"uuid":"65829809","full_name":"spring-projects/spring-tools","owner":"spring-projects","description":"The next generation of tooling for Spring Boot, including support for Cloud Foundry manifest files, Concourse CI pipeline definitions, BOSH deployment manifests, and more... - Available for Eclipse, Visual Studio Code, and Theia","archived":false,"fork":false,"pushed_at":"2025-05-14T09:54:24.000Z","size":200147,"stargazers_count":901,"open_issues_count":175,"forks_count":211,"subscribers_count":52,"default_branch":"main","last_synced_at":"2025-05-14T10:53:55.982Z","etag":null,"topics":["eclipse","spring","spring-boot","sts4","theia","visual-studio-code","vscode-extension"],"latest_commit_sha":null,"homepage":"https://spring.io/tools","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spring-projects.png","metadata":{"files":{"readme":"README-dev-env.md","changelog":null,"contributing":"CONTRIBUTING.adoc","funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-08-16T15:04:50.000Z","updated_at":"2025-05-14T09:54:27.000Z","dependencies_parsed_at":"2024-10-07T10:16:01.217Z","dependency_job_id":"a9aba608-6adf-4ac9-a27e-0c0ff9b02928","html_url":"https://github.com/spring-projects/spring-tools","commit_stats":{"total_commits":6013,"total_committers":35,"mean_commits":171.8,"dds":0.6520871445202062,"last_synced_commit":"df5104a81aa500e1e5859a49bd52bc5df4a3d465"},"previous_names":["spring-projects/spring-tools","spring-projects/sts4"],"tags_count":321,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spring-projects","download_url":"https://codeload.github.com/spring-projects/spring-tools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254270643,"owners_count":22042859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eclipse","spring","spring-boot","sts4","theia","visual-studio-code","vscode-extension"],"created_at":"2025-03-26T15:21:56.555Z","updated_at":"2025-05-15T04:05:00.965Z","avatar_url":"https://github.com/spring-projects.png","language":"Java","readme":"# Spring Tools - Dev Environment Setup\n\n## Running the Spring Tools Java Language Server locally\n\nImport the headless-services modules into your workspace as existing Maven projects.\nStartup the Boot Language Server with:\nMain Class: `org.springframework.ide.vscode.boot.app.BootLanguageServerBootApp` (or a corresponding class for other language servers)\nVmargs: `-Dstandalone-startup=true`\nThis starts up the language server and it listens on port 5007\nUse STS or a dedicated instance of VSCode to launch `org.springframework.ide.vscode.boot.app.BootLanguageServerBootApp` in run or debug mode (or another Language Server app)\n\n@ Connect local Spring Tools Java LS to VSCode\n\nYou should run the extension from vscode as a 'runtime workbench' with some small changes.\n\nStart by opening the extension for the server you want to work on in vscode:\n\n```\n$ cd vscode-extensions/vscode-spring-boot\n$ ./build.sh\n$ code .\n```\n\nOpen `Main.ts` and change:\n```\nCONNECT_TO_LS: true\n```\n\nSave, then launch by pressing `F5`.\n\nThis connects the VSCode extension to the locally running language server.\nIt also uses port 5007\n\n## Connect local Spring Tools Java LS to Eclipse runtime workbench\n\nStartup Eclipse or the Spring Tools for Eclipse distriution. I.e something that support for RCP / plugin development.\n\nDefine a recent nightly Spring Tools for Eclipse build as your target platform.\n\nImport the projects under `eclipse-language-servers` into your workspace.\n\nStartup a runtime workbench of the Spring Tools for Eclipse distribution\nThe language server plugin is: org.springframework.tooling.boot.java.ls\nAdd Vmargs: `-Dboot-java-ls-port=5007`\nThis lets the Eclipse language server extension connect to the locally running language server on port 5007\n\n## Additional Resources:\n\n- Generic editor source code (used by lsp4e as a dependency): https://github.com/eclipse/eclipse.platform.text\n  Not sure which version of this you should checkout, it probably depends on your version of Eclipse as this is part\n  of the eclipse platform. \n- LSP4E source code: clone git repo at https://github.com/eclipse-lsp4e/lsp4e and import the projects into your workspace.\n- LSP4J source code: Add the LSP4J-SDK feature to your target platform. We have usually versions from this in our builds:\n         http://services.typefox.io/open-source/jenkins/job/lsp4j/job/master/lastStableBuild/artifact/build/p2-repository/\n\n- There is an update site that contains our latest language servers as extensions for Eclipse:\n  https://cdn.spring.io/spring-tools/snapshot/TOOLS/sts4-language-server-integrations/nightly\n  This is being produced by:\n  https://github.com/spring-projects/spring-tools/actions\n\n- CI builds of the full Spring Tools for Eclipse distribution can be downloaded from here:\n  https://cdn.spring.io/spring-tools/snapshot/STS4/nightly-distributions.html\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspring-projects%2Fspring-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspring-projects%2Fspring-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspring-projects%2Fspring-tools/lists"}