question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support automatically displaying signature information, when appropriate

See original GitHub issue

The new Signature Help feature triggers almost constantly, even when it doesn’t make sense to, like inside of comments. Or the signature shown will be for something the next layer up.

Example code:

return ListTile(
  title: Text("Enable notifications"),
  trailing: Switch(
    value: notificationsEnabled,
    onChanged: (bool enabling){
      if (enabling) {
        // type this comma -> , and get the signature of Switch()
      } else {
        // ...
      }
    },
  ),
);

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
DanTupcommented, Sep 8, 2020

Working on this in the LSP server at: https://dart-review.googlesource.com/c/sdk/+/162000

If the request for signature info is from an automatic trigger when typing ( then we’ll only return results if the ( is exactly the offset of the located ArgumentList. Comma is now just a “retrigger” character, so it will only ever trigger signature help if it’s already visible (and therefore returning results will just update the UI and not trigger any new popups).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create and add a signature to messages - Microsoft Support
Open a new message and then select Signature > Signatures. · In the Select signature to edit box, choose the signature you want...
Read more >
Create and use email signatures in Mail on Mac - Apple Support
In the Mail app on your Mac, choose Mail > Settings, then click Signatures. Select an account in the left column. Click the...
Read more >
Validating digital signatures, Adobe Acrobat
Choose View > Show/Hide > Navigation Panes > Signatures, or click the Signature Panel button in the document message bar. Note: You can...
Read more >
Troubleshoot issues with Gmail signatures - Google Support
An email signature is text, like your contact information or a favorite quote, at the end of an email message. Signatures are automatically...
Read more >
Adopt your signature - DocuSign Support
In the window that opens when you first select a Sign or Initial field on a document, your name and initials display in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found