Skip to content
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

(CAT-1669) - Add trailing comma to completion item #372

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

jordanbreen28
Copy link
Contributor

Summary

Prior to this PR, we would return completion items without a trailing comma. A trailing comma is the suggested style as per the puppet code docs, so we should append this to the returned value.

Additional Context

Add any additional context about the problem here.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified.

Prior to this commit, we would return completion items to vscode without
a trailing comma. A trailing comma is the suggested style as per the
puppet code docs, so we should append this to the returned value.
@jordanbreen28 jordanbreen28 requested a review from a team as a code owner April 15, 2024 15:17
Copy link

codecov bot commented Apr 15, 2024

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 11.69%. Comparing base (ad6f043) to head (25660f1).

Files Patch % Lines
...pet-languageserver/manifest/completion_provider.rb 0.00% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #372   +/-   ##
=======================================
  Coverage   11.69%   11.69%           
=======================================
  Files          92       92           
  Lines       11499    11499           
=======================================
  Hits         1345     1345           
  Misses      10154    10154           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@LukasAud LukasAud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LukasAud LukasAud merged commit 5295a0f into main Apr 15, 2024
14 of 15 checks passed
@LukasAud LukasAud deleted the cat-1669-add_trailing_comma branch April 15, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants