Skip to content

Conversation

@zixlin7
Copy link
Contributor

@zixlin7 zixlin7 commented Mar 24, 2025

Problem

need to log reference for inline with language server

Solution


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions
Copy link

  • This pull request implements a feat or fix, so it must include a changelog entry (unless the fix is for an unreleased feature). Review the changelog guidelines.
    • Note: beta or "experiment" features that have active users should announce fixes in the changelog.
    • If this is not a feature or fix, use an appropriate type from the title guidelines. For example, telemetry-only changes should use the telemetry type.

@zixlin7 zixlin7 marked this pull request as ready for review March 24, 2025 17:21
@zixlin7 zixlin7 requested a review from a team as a code owner March 24, 2025 17:21
session.firstCompletionDisplayLatency,
],
}
ReferenceInlineProvider.instance.setInlineReference(
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not entirely familiar with the flow but is it something like this:

  • user gets inline suggestion
    • it may have a reference attached
  • if it does have a reference then show it as a code lens
  • if they click the codelens to add a code reference it adds it in the "Code reference log" panel and opens it up

Is that mostly correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes that is right, and I realized that I missed the logging reference on acceptance piece, just added it. Thanks for catching!

@jpinkney-aws
Copy link
Contributor

Also, is this dependent on any flare changes?

@zixlin7
Copy link
Contributor Author

zixlin7 commented Mar 25, 2025

Also, is this dependent on any flare changes?

No, flare already has references support since beginning

@zixlin7 zixlin7 requested a review from jpinkney-aws March 25, 2025 16:35
@jpinkney-aws jpinkney-aws merged commit 8afcc81 into aws:master Mar 25, 2025
30 of 31 checks passed
Hweinstock pushed a commit to Hweinstock/aws-toolkit-vscode that referenced this pull request Mar 26, 2025
…6837)

## Problem
missing log references for inline with language server

## Solution
add them

---

- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants