Skip to content

Folding for constructor with optional arguments #1201

Closed

Description

@Simpler1

As seen in the following image, I would expect to be able to fold the MyHomePage constructor since it has optional arguments on multiple lines.

2018-09-17 16_23_16-main dart - flutter_assets - visual studio code

In vscode, the following is set:
"editor.foldingStrategy": "auto"

(Excellent extension by the way. :) )

Activity

  1. added this to the On Deck milestone on Sep 18, 2018
  2. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    in editorRelates to code editing or language features
    on Sep 18, 2018
  3. modified the milestones: On Deck, Backlog on Mar 19, 2019
  4. modified the milestones: Backlog, On Deck on Jan 12, 2021
  5. DanTup commented on May 24, 2021

    @DanTup
    Member

    Fixed by dart-lang/sdk@d3082bc. As it's in the language server, it'll show up in a future Dart/Flutter SDK release (not the VS Code extension release).

  6. modified the milestones: On Deck, v3.23.0 on May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serveris enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions