-
Notifications
You must be signed in to change notification settings - Fork 675
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
Using Structured Documentation for Signature Help and improving Parameter Documentation #1958
Merged
Merged
Changes from 7 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
4e6162b
Structured Documentation in Signature Help
akshita31 29ee957
Code clean up
akshita31 20be756
Using only summary of the documentation
akshita31 d102d1f
Code clean up
akshita31 59746e4
Documentation for parameters showing in signature help
akshita31 2f5d90e
Merge remote-tracking branch 'upstream/master' into sig_help_doc
akshita31 4a222a1
Removing unnecesaary import
akshita31 a94398b
Using interploated string and fixed spacing
akshita31 15e80b2
Parameter Documentation using interpolated text
akshita31 e0bd7ab
Merge branch 'master' into sig_help_doc
akshita31 29b360a
Merge branch 'master' into sig_help_doc
73fcf55
Merge branch 'master' into sig_help_doc
13b034c
Merge branch 'master' into sig_help_doc
ff98b23
Merge branch 'master' into sig_help_doc
akshita31 bd99cb2
Merge branch 'master' into sig_help_doc
akshita31 995ada4
Added tests
akshita31 088bee9
Merge branch 'master' into sig_help_doc
akshita31 1818a23
Added different function for signature help
akshita31 12e5099
Merge remote-tracking branch 'origin/sig_help_doc' into sig_help_doc
akshita31 694cc72
Changed duplicate class name
akshita31 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -214,6 +214,22 @@ export interface FindSymbolsResponse { | |
QuickFixes: SymbolLocation[]; | ||
} | ||
|
||
export interface DocumentationItem { | ||
Name: string; | ||
Documentation: string; | ||
} | ||
|
||
export interface DocumentationComment { | ||
SummaryText: string ; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Spacing |
||
TypeParamElements :DocumentationItem[]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Spacing |
||
ParamElements : DocumentationItem[]; | ||
ReturnsText : string ; | ||
RemarksText : string; | ||
ExampleText : string; | ||
ValueText: string; | ||
Exception : DocumentationItem[]; | ||
} | ||
|
||
export interface TypeLookupRequest extends Request { | ||
IncludeDocumentation: boolean; | ||
} | ||
|
@@ -373,6 +389,7 @@ export interface SignatureHelpItem { | |
Label: string; | ||
Documentation: string; | ||
Parameters: SignatureHelpParameter[]; | ||
StructuredDocumentation: DocumentationComment; | ||
} | ||
|
||
export interface SignatureHelpParameter { | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use interpolated string?