Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dart-Code/Dart-Code
/ findVisibleEditor
Function
findVisibleEditor
src/shared/vscode/editors.ts:34–37 ·
view source on GitHub ↗
(uri: URI)
Source
from the content-addressed store, hash-verified
32
}
33
34
export
function
findVisibleEditor(uri: URI) {
35
const
uriKey = uriComparisonString(uri);
36
return
vs.window.visibleTextEditors.find((e) => uriComparisonString(e.document.uri) === uriKey);
37
}
Callers
2
constructor
Method · 0.90
update
Method · 0.90
Calls
1
uriComparisonString
Function · 0.90
Tested by
no test coverage detected