Skip to content

Log Server messages to VS Code output panel #1949

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

Closed
VitGottwald opened this issue Jun 27, 2023 · 0 comments
Closed

Log Server messages to VS Code output panel #1949

VitGottwald opened this issue Jun 27, 2023 · 0 comments
Assignees
Labels
enhancement Improvments of existing code
Milestone

Comments

@VitGottwald
Copy link
Contributor

Description

As a USER, I would like to see the COBOL language server logs in VS Code Output panel.

Acceptance Criteria

  1. Language Server logs can be viewed from VS Code Output panel - (command palette -> Output: Focus on Output View).
  2. ~/LSPCobol folder is no longer used

Definition of Done

  • The story is implemented according to the description.
  • Unit testing done (Preferably by TDD approach, coverage should be at least 70%).
  • Code review done by at least one other team member.
  • Manual testing is done.
  • Documentation is added and reviewed (if needed).
  • The pull request is approved.
  • The story is merged into the development branch.
  • Tests are performed on the development branch.

Technical details

The VS Code language client that is used to start the language server captures STDERR messages and automatically shows them in VS Code Output panel (it creates an output channel for the extension automatically).
So it should be sufficient to change the implementation to write logs into STDERR instead of writing them to disk.

@VitGottwald VitGottwald added the enhancement Improvments of existing code label Jun 27, 2023
ap891843 added a commit to ap891843/che-che4z-lsp-for-cobol that referenced this issue Jul 19, 2023
ap891843 added a commit to ap891843/che-che4z-lsp-for-cobol that referenced this issue Jul 19, 2023
ap891843 added a commit to ap891843/che-che4z-lsp-for-cobol that referenced this issue Jul 19, 2023
ap891843 added a commit to ap891843/che-che4z-lsp-for-cobol that referenced this issue Aug 9, 2023
ap891843 added a commit to ap891843/che-che4z-lsp-for-cobol that referenced this issue Aug 9, 2023
ap891843 added a commit to ap891843/che-che4z-lsp-for-cobol that referenced this issue Aug 9, 2023
ap891843 added a commit that referenced this issue Aug 9, 2023
@zimlu02 zimlu02 assigned zimlu02 and ap891843 and unassigned zimlu02 Sep 19, 2023
@zimlu02 zimlu02 closed this as completed Sep 19, 2023
@zimlu02 zimlu02 added this to the 2.0.1 milestone Sep 19, 2023
ap891843 added a commit that referenced this issue Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvments of existing code
Projects
None yet
Development

No branches or pull requests

3 participants