Skip to content

Types show differently in VSCode and DevTools #5749

Open
@annagrin

Description

@annagrin

Platforms: macos, (soon web as well, after dart-lang/webdev#2103)

VSCode

image

DevTools

image

Questions

  • Should we display types similarly in VSCode and DevTools?
  • Should we make the representation realistic, i.e. if the field is showing in DevTools/VSCode then the user can access it via expression evaluation, unless it is shown as private?
    • Currently 0.runtimeType.name field is not accessible (does not compile) but shows in DevTools
    • Currently (0,1).runtimeType.$1 is not accessible (does not compile) but shows in VSCode

Related: dart-lang/webdev#2103

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2important to work on, but not at the top of the work list.console component

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions