1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Merge pull request #104401 from HolonProduction/lsp-uri

LSP: Fix file URI handling + warn about workspace project mismatch
This commit is contained in:
Thaddeus Crews
2025-06-18 18:13:55 -05:00
7 changed files with 170 additions and 18 deletions

View File

@@ -1934,9 +1934,16 @@ bool EditorFileSystem::_find_file(const String &p_file, EditorFileSystemDirector
int cpos = -1;
for (int i = 0; i < fs->files.size(); i++) {
if (fs->files[i]->file == file) {
cpos = i;
break;
if (fs_case_sensitive) {
if (fs->files[i]->file == file) {
cpos = i;
break;
}
} else {
if (fs->files[i]->file.to_lower() == file.to_lower()) {
cpos = i;
break;
}
}
}