0

How to remove annoying information in VS Code for Dart?

Unfortunately, I don't know what it's called or why someone decided to enable the option to show this information instead of me and for me.

I can't even understand how this suddenly appeared out of nowhere.

enter image description here

2
  • Are you in a debug session? Commented Oct 16 at 13:20
  • @JonSG Yes. Debugging. Commented Oct 16 at 13:44

1 Answer 1

5

This looks like the inline debugging VS Code offers. You can toggle it off through Settings > Debug: Inline Values > Off.

Additionally, there are two settings to the Dart extension which may control this behavior:

dart.evaluateGettersInDebugViews

Default: true.

Whether to evaluate getters in order to display them in debug views (such as the Variables, Watch and Hovers views).

dart.showGettersInDebugViews

Default: true.

Whether to show getters in order to display them in debug views (such as the Variables, Watch and Hovers views). If evaluateGettersInDebugViews is true getters will be eagerly evaluated, otherwise they will require clicking to evaluate.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.