mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix(lsp/java): extra indentation is added to generated overriding method
This commit is contained in:
+1
-2
@@ -167,8 +167,7 @@ class ScopeCompletionProvider(
|
||||
|
||||
val imports = mutableSetOf<String>()
|
||||
val methodSpec = builder.build()
|
||||
var insertText = print(methodSpec, imports, false)
|
||||
insertText = insertText.replace("\n", "\n${repeatSpaces(indent)}")
|
||||
val insertText = print(methodSpec, imports, false)
|
||||
|
||||
abortIfCancelled()
|
||||
abortCompletionIfCancelled()
|
||||
|
||||
Reference in New Issue
Block a user