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.

VSCode Dart extension issue

See original GitHub issue

This begun immediately after the most recent OSX 12.5.1 update. Another member on my team is seeing the same issue on a different machine. The dart analyzer plugin no longer functions at all – files will attempt to save forever, it will not analyze the files, makes it prohibitive to write dart in vscode.

debugging attempts:

  • re-grant VScode full disk permissions
  • restart computer
  • reinstall vscode
  • change dart/flutter plugin versions (both downgrade and pre-release)
  • re-install dart/flutter

Details

  • Issue Type: Bug
  • Extension Name: dart-code
  • Extension Version: 3.44.0
  • OS Version: Darwin arm64 21.6.0
  • VS Code version: 1.70.2
{
	"messages": [],
	"activationTimes": {
		"codeLoadingTime": 40,
		"activateCallTime": 5,
		"activateResolvedTime": 157,
		"activationReason": {
			"startup": true,
			"extensionId": {
				"value": "Dart-Code.dart-code",
				"_lower": "dart-code.dart-code"
			},
			"activationEvent": "workspaceContains:*/pubspec.yaml,*/*/pubspec.yaml,*.dart,*/*.dart,*/*/*.dart"
		}
	},
	"runtimeErrors": [
		{
			"name": "Error",
			"message": "Header must provide a Content-Length property."
		}
	],
	"runningLocation": {
		"affinity": 0,
		"kind": 1
	}
}

occasionally this output is visible:

[Error - 11:30:42 AM] Stopping server failed
Error: Stopping the server timed out
	at ~/.vscode/extensions/dart-code.dart-code-3.46.1/out/dist/extension.js:32350:23

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
DanTupcommented, Sep 26, 2022

@CoderUni I don’t seem to have your email, although I got the output from a notification of your original message.

I think this is a different issue to the originally reported issue above here (which includes “Header must provide a Content-Length property.”) so I’ve opened https://github.com/Dart-Code/Dart-Code/issues/4180 where we can continue to debug this.

0reactions
github-actions[bot]commented, Oct 17, 2022

This issue has been marked stale because it is tagged awaiting-info for 20 days with no activity. Remove the stale label or comment to prevent the issue being closed in 10 days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flutter Extension in VS Code keeps breaking · Issue #3835
Describe the bug Hello everyone, I'm encountering this issue where the Flutter extension in VS Code just crashes, and that means I've lost ......
Read more >
Flutter/Dart Extensions and intellisense not working on VSCode
The issue got sorted out when I checked out to the stable version of the flutter SDK and upgraded to the latest version...
Read more >
Dart - Visual Studio Marketplace
This extension reports some analytics such as: ... Reporting can be disabled via VS Code's standard Telemetry: Telemetry Level setting. Release Notes. For...
Read more >
Visual Studio Code - Dart
With the Dart plugin, you can use Visual Studio Code (VS Code) to develop Dart apps. The Flutter site has details on how...
Read more >
Dart Code - Dart & Flutter support for Visual Studio Code
Issue with page? Introduction#. The Dart and Flutter extensions extend VS Code with support for the Dart programming language and provides tools for...
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