Add DAP multi-session support and add Node.js debugging support.

This commit is contained in:
Martín Lucas Golini
2025-06-22 01:48:17 -03:00
parent 03df17b96b
commit 5cc94842e1
17 changed files with 870 additions and 516 deletions

View File

@@ -1204,8 +1204,9 @@ void App::loadFileFromPathOrFocus(
}
}
void App::focusOrLoadFile( const std::string& path, const TextRange& range ) {
UITab* tab = mSplitter->isDocumentOpen( path, true );
void App::focusOrLoadFile( const std::string& path, const TextRange& range,
bool searchInSameContext ) {
UITab* tab = mSplitter->isDocumentOpen( path, searchInSameContext );
if ( !tab ) {
FileInfo fileInfo( path );
if ( fileInfo.exists() && fileInfo.isRegularFile() )