mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix: update editor language and lsp when an opened file is renamed
This commit is contained in:
@@ -178,6 +178,7 @@ class CodeEditorView(
|
||||
fun updateFile(file: File) {
|
||||
val editor = _binding?.editor ?: return
|
||||
editor.file = file
|
||||
postRead(file)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user