MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / currentFile

Method currentFile

src/plugins/codeeditor/gui/workspacewidget.cpp:1021–1027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1019}
1020
1021QString WorkspaceWidget::currentFile() const
1022{
1023 if (auto tabWidget = d->currentTabWidget())
1024 return tabWidget->currentFile();
1025
1026 return {};
1027}
1028
1029QString WorkspaceWidget::currentDocumentContent() const
1030{

Callers 3

handleSaveSessionMethod · 0.45
onCloseRequestedMethod · 0.45
onFocusChangedMethod · 0.45

Calls 1

currentTabWidgetMethod · 0.80

Tested by

no test coverage detected