Skip to content

refactor: use OSProcessStreamConnectionProvider #1444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

angelozerr
Copy link
Contributor

@angelozerr angelozerr commented Apr 7, 2025

refactor: use OSProcessStreamConnectionProvider

Signed-off-by: azerr <azerr@redhat.com>
@angelozerr angelozerr force-pushed the switch_to_OSProcessStreamConnectionProvider branch from 8b57a5f to 26142a9 Compare April 8, 2025 07:33
@angelozerr angelozerr changed the title refact: use OSProcessStreamConnectionProvider refactor: use OSProcessStreamConnectionProvider Apr 8, 2025
@angelozerr angelozerr self-assigned this Apr 8, 2025
Copy link

sonarqubecloud bot commented Apr 8, 2025

@angelozerr angelozerr added the enhancement New feature or request label Apr 8, 2025
@angelozerr angelozerr added this to the 2.1.1 milestone Apr 8, 2025
@angelozerr angelozerr merged commit c706d6b into redhat-developer:main Apr 8, 2025
5 of 13 checks passed
@angelozerr
Copy link
Contributor Author

angelozerr commented Apr 9, 2025

@turkeylurkey @mrglavas I suggest that you switch also to OSProcessStreamConnectionProvider:

  • all plugins which are based on LSP4IJ, uses OSProcessStreamConnectionProvider
  • LSP4IJ uses OSProcessStreamConnectionProvider for https://github.com/redhat-developer/lsp4ij/blob/main/docs/UserDefinedLanguageServer.md and it seems it is working pretty well
  • OSProcessStreamConnectionProvider uses standard IntelliJ ProcessHandler
  • OSProcessStreamConnectionProvider have a better support to report errors and nice feature like when the process is killed outside the IntelliJ, the server status switch to stopped status.

If you switch to OSProcessStreamConnectionProvider and you have some trouble, please create issues.

@mrglavas
Copy link

mrglavas commented Apr 9, 2025

If you switch to OSProcessStreamConnectionProvider and you have some trouble, please create issues.

@angelozerr Thanks. I'm trying it out here: OpenLiberty/liberty-tools-intellij#1323. Didn't run into any issues testing it manually. We'll see how our automation goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants