Skip to content
This repository has been archived by the owner on Apr 26, 2019. It is now read-only.

Finish implementing Signature Help Provider for Functions #2

Open
14 of 15 tasks
MaulingMonkey opened this issue Jul 3, 2017 · 0 comments
Open
14 of 15 tasks

Finish implementing Signature Help Provider for Functions #2

MaulingMonkey opened this issue Jul 3, 2017 · 0 comments
Assignees

Comments

@MaulingMonkey
Copy link
Owner

MaulingMonkey commented Jul 3, 2017

Related: PistonDevelopers#287
Branch: https://github.com/MaulingMonkey/VisualRust/tree/sighelp

Signature Help Provider

  • Basic scaffolding and registration of required classes
  • Refactor racer parsing to be reusable
  • Parse doc comments for arguments
  • Parse signature for signature portion to highlight
  • Commit it all
  • Eliminate 'extra' markdown syntax from doc comments?
  • Remove parsed arguments sections from signature help since it's displayed per-param anyways?
  • Add generic params to arguments list?

Bugs:

  • Only match exact identifiers, not subsections
  • Match single character identifiers
  • Keep quickinfo up until e.g. the final ) is typed
  • Transition between current parameters when navigating with arrows
  • Transition between current parameters when typing ,
  • Filter signatures returned by racer to only match the exact identifier, not longer substrings
    (maybe a reason to parse racer.exe's PREFIX ... messages?)
  • Performance issues due to complete lack of cached racer info

Preview;
Example previewing gen_range

Example previewing arguments

@MaulingMonkey MaulingMonkey self-assigned this Jul 3, 2017
@MaulingMonkey MaulingMonkey changed the title Finish language services Finish implementing Signature Help Provider Jul 4, 2017
@MaulingMonkey MaulingMonkey changed the title Finish implementing Signature Help Provider Finish implementing Signature Help Provider for Functions Jul 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant