feat: Add edit file tool (#249)

* feat: Add edit file tool
* feat: Add icons for action buttons
This commit is contained in:
Petr Mironychev
2025-11-03 08:56:52 +01:00
committed by GitHub
parent e7110810f8
commit 9b90aaa06e
39 changed files with 3732 additions and 344 deletions

View File

@ -41,6 +41,17 @@ public:
* @return true if file is part of any open project, false otherwise
*/
static bool isFileInProject(const QString &filePath);
/**
* @brief Find a file in open projects by filename
*
* Searches all open projects for a file matching the given filename.
* If multiple files with the same name exist, returns the first match.
*
* @param filename File name to search for (e.g., "main.cpp")
* @return Absolute file path if found, empty string otherwise
*/
static QString findFileInProject(const QString &filename);
};
} // namespace QodeAssist::Context