fix: temp disable code completions when next edits is active

This commit is contained in:
Carl-Robert Linnupuu 2025-03-19 01:59:23 +00:00
parent 7aa789b8e0
commit f70f1fc826
7 changed files with 22 additions and 25 deletions

View file

@ -3,25 +3,19 @@ package ee.carlrobert.codegpt;
import com.intellij.openapi.util.Key;
import ee.carlrobert.codegpt.predictions.CodeSuggestionDiffViewer;
import ee.carlrobert.llm.client.codegpt.CodeGPTUserDetails;
import okhttp3.Call;
public class CodeGPTKeys {
public static final Key<String> PREVIOUS_INLAY_TEXT =
Key.create("codegpt.editor.inlay.prev-value");
public static final Key<String> IMAGE_ATTACHMENT_FILE_PATH =
Key.create("codegpt.imageAttachmentFilePath");
public static final Key<CodeGPTUserDetails> CODEGPT_USER_DETAILS =
Key.create("codegpt.userDetails");
public static final Key<String> REMAINING_EDITOR_COMPLETION =
Key.create("codegpt.editorCompletionLines");
public static final Key<Call> PENDING_PREDICTION_CALL =
Key.create("codegpt.editorPendingPredictionCall");
public static final Key<Boolean> COMPLETION_IN_PROGRESS =
Key.create("codegpt.completionInProgress");
public static final Key<Boolean> IS_PROMPT_TEXT_FIELD_DOCUMENT =
Key.create("codegpt.isPromptTextFieldDocument");
public static final Key<CodeSuggestionDiffViewer> EDITOR_PREDICTION_DIFF_VIEWER =
Key.create("codegpt.editorPredictionDiffViewer");
}