ecode: LSP fixes for Windows.

Fixed console output on Windows.
Closes SpartanJ/ecode#56.
This commit is contained in:
Martín Lucas Golini
2023-02-20 23:40:16 -03:00
parent 3db37b15b2
commit 7fb11b4087
13 changed files with 136 additions and 27 deletions

View File

@@ -438,7 +438,7 @@ PluginRequestHandle ProjectDirectoryTree::processMessage( const PluginMessage& m
std::vector<std::string> expectedNames;
std::vector<std::string> tentativePaths;
for ( const auto& turi : juris ) {
std::string path( URI( turi.get<std::string>() ).getPath() );
std::string path( URI( turi.get<std::string>() ).getFSPath() );
tentativePaths.emplace_back( path );
expectedNames.emplace_back( FileSystem::fileNameFromPath( path ) );
}