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

Method registerVariables

src/plugins/project/projectcore.cpp:227–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227void ProjectCore::registerVariables()
228{
229 globalMacroExpander()->registerFileVariables("CurrentProject",
230 tr("Current project"),
231 [] {
232 auto info = ProjectKeeper::instance()->treeView()->getActiveProjectInfo();
233 return QFileInfo(info.workspaceFolder());
234 });
235}
236
237dpf::Plugin::ShutdownFlag ProjectCore::stop()
238{

Callers

nothing calls this directly

Calls 2

getActiveProjectInfoMethod · 0.45
treeViewMethod · 0.45

Tested by

no test coverage detected