-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresis bug
Milestone
Description
Describe the bug
When you use Go to Imports (differently from Go to Definition, for example), it moves your cursor to the first editor of that file, and not the current one.
To Reproduce
Steps to reproduce the behavior:
- Open a Dart file with the contents below in two separate editors side-by-side
- On the second editor, right-click
stdinand selectGo to Imports - See it move your focus to the first editor.
import 'dart:io';
void main() {
stdin.readLineSync();
main();
}Expected behavior
For it to maintain the same editor focus.
Please complete the following information:
Workspace Environment
Dart Code extension: 3.127.20260122
Flutter extension: 3.127.20251229 (activated)
App: Visual Studio Code
App Host: desktop
Version: win 1.108.2
Workspace type: Dart (LSP)
Workspace name: bug
Dart (3.12.0-edge.e4512e5bb97feed18dc02e3e58a218da6cedddbe): C:\Users\felip_0vh5fa6\dart
Flutter (3.38.7): C:\Users\felip_0vh5fa6\.puro\envs\stable\flutter (No device)
Output from 'dart info'
C:\Users\felip_0vh5fa6\dart\bin\dart.exe info
If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.
General info
- Dart 3.12.0-edge.e4512e5bb97feed18dc02e3e58a218da6cedddbe (main) (Thu Jan 22 02:01:41 2026 -0800) on "windows_x64"
- on windows / "Windows 11 Pro" 10.0 (Build 26200)
- locale is pt-BR
Project info
- sdk constraint: '^3.11.0'
- dependencies: analyzer, bloc, equatable, meta
- dev_dependencies: lints, test, test_reflective_loader, very_good_analysis
- elided dependencies: 1
Process info
| Memory | CPU | Elapsed time | Command line |
|---|---|---|---|
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dartvm.exe | |
| 0 MB | -- | dartvm.exe | |
| 0 MB | -- | dartvm.exe | |
| 0 MB | -- | dartvm.exe |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresis bug