Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dart-Code/Dart-Code
/ currentDoc
Function
currentDoc
src/test/helpers.ts:185–187 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
183
return
editor;
184
}
185
export
function
currentDoc(): vs.TextDocument {
186
return
currentEditor().document;
187
}
188
189
export
let
documentEol: string;
190
Callers
15
dart_cli.test.ts
File · 0.90
mcp_server.test.ts
File · 0.90
fix_code_action_provider.test.ts
File · 0.90
getSignatureAt
Function · 0.90
dart_rename_provider.test.ts
File · 0.90
getImplementationsAt
Function · 0.90
getReferencesFor
Function · 0.90
dart_reference_provider.test.ts
File · 0.90
getHoversAt
Function · 0.90
assist_code_action_provider.test.ts
File · 0.90
completion_item_provider.test.ts
File · 0.90
formatDocument
Function · 0.90
Calls
1
currentEditor
Function · 0.85
Tested by
6
getSignatureAt
Function · 0.72
getImplementationsAt
Function · 0.72
getReferencesFor
Function · 0.72
getHoversAt
Function · 0.72
formatDocument
Function · 0.72
formatOnType
Function · 0.72