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.

No intellisense provided calling super constructor

See original GitHub issue

With the following code as an example:

class ReportCardRow extends TableRow {
  final String name;
  final int value;

  ReportCardRow(
    this.name,
    this.value,
  ): super(children: [
    TableCell(
      child: Text(name),
    ),

    TableCell(
      child: Text(value.toString()),
    ),
  ]);
}

Everything after the colon and before the opening square bracket gets ignored, and I’m not shown the constructor docs as I would expect.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
DanTupcommented, Jan 3, 2019

I’ve moved this to https://github.com/dart-lang/sdk/issues/35546 since this will need fixing in the analysis server in the SDK. Thanks for the report!

0reactions
DanTupcommented, Jan 3, 2019

(I’ve updated the SDK issue to note that this also seems to affect hovers and signature information too)

Read more comments on GitHub >

github_iconTop Results From Across the Web

c++ - Can't call base class constructor with brace initialization ...
Can't call base class constructor with brace initialization intellisense error ... I just encountered the following problem: #include "stdafx.
Read more >
IntelliSense incorrect error for constructor is inaccessible
1. Change the interface() is public. 2. Write a public function in base class and this public function can call the interface() function,...
Read more >
Generate a constructor quick action - Visual Studio (Windows)
Learn how to use the Quick Actions and Refactorings menu to immediately generate the code for a new constructor on a class.
Read more >
Supercharge Your Classes With Python super()
This is an object that delegates calls to the correct class methods without making an additional object in order to do so. super()...
Read more >
Two ways you can take advantage of types in JavaScript ...
This blog post describes how you can enable javascript intellisense and design time error highlighting without TypeScript.
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