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

Add support for SymbolInformation.signature #322

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

olafurpg
Copy link
Member

Companion PRs:

Previously, scip-typescript didn't emit any structured information about signatures. This PR solves that problem, which unblocks new exciting use-cases for SCIP.

Keeping this PR open for a while since we are not planning to merge signature support to SCIP just yet. For now, the Cody repo can use this branch instead.

Test plan

Green CI

Companion PRs:

* sourcegraph/scip#231
* sourcegraph/cody#3142

Previously, scip-typescript didn't emit any structured information about
signatures. This PR solves that problem, which unblocks new exciting
use-cases for SCIP.

Keeping this PR open for a while since we are not planning to merge
signature support to SCIP just yet. For now, the Cody repo can use this
branch instead.
@donsbot
Copy link

donsbot commented Mar 6, 2024

This would be useful for us, blocked on the markdown-based signatures produced by Rust Analyzer and scip-typescript.

Previously, the property `a?: string` had the type signature `string`.
Now, we emit the more correct type `string | undefined`.
@olafurpg olafurpg force-pushed the olafurpg/signatures branch 2 times, most recently from dd58426 to 88633db Compare June 12, 2024 19:39
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