mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-19 07:54:46 +00:00
fix: remove code analyzer from initial tags
This commit is contained in:
parent
d3f59862ea
commit
aec4c281d2
2 changed files with 0 additions and 16 deletions
|
|
@ -140,14 +140,6 @@ class PsiStructureRepository(
|
|||
.filterIsInstance<CodeAnalyzeTagDetails>()
|
||||
.forEach { tagManager.remove(it) }
|
||||
|
||||
if (tagManager.getTags().any { it is EditorTagDetails || it is FileTagDetails }) {
|
||||
tagManager.addTag(
|
||||
CodeAnalyzeTagDetails().apply {
|
||||
selected = newState.chatCompletionSettings.psiStructureEnabled
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
if (newState.chatCompletionSettings.psiStructureEnabled) {
|
||||
analyzePsiDepth = newState.chatCompletionSettings.psiStructureAnalyzeDepth
|
||||
enable()
|
||||
|
|
|
|||
|
|
@ -174,14 +174,6 @@ class UserInputHeaderPanel(
|
|||
tagManager.addTag(EditorTagDetails(selectedFile))
|
||||
}
|
||||
|
||||
val psiStructureEnabled = service<ConfigurationSettings>().state
|
||||
.chatCompletionSettings
|
||||
.psiStructureEnabled
|
||||
|
||||
tagManager.addTag(
|
||||
CodeAnalyzeTagDetails().apply { selected = psiStructureEnabled }
|
||||
)
|
||||
|
||||
EditorUtil.getOpenLocalFiles(project)
|
||||
.filterNot { it == selectedFile }
|
||||
.take(INITIAL_VISIBLE_FILES)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue