Skip to content

Commit

Permalink
Merge pull request #3805 from continuedev/tomasz/fix-jetbrains-comple…
Browse files Browse the repository at this point in the history
…tions

Fix jetbrains completions
  • Loading branch information
Patrick-Erichsen authored Jan 21, 2025
2 parents cdf7b01 + b586598 commit 92e6b54
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Start Core Dev Server (CE)" type="ShConfigurationType">
<option name="SCRIPT_TEXT" value="export CONTINUE_DEVELOPMENT=true &amp;&amp; export CONTINUE_GLOBAL_DIR=$PROJECT_DIR$/../.continue-debug &amp;&amp; node out/index.js" />
<option name="SCRIPT_TEXT" value="export CONTINUE_DEVELOPMENT=true &amp;&amp; export CONTINUE_GLOBAL_DIR=$PROJECT_DIR$/extensions/.continue-debug &amp;&amp; node out/index.js" />
<option name="INDEPENDENT_SCRIPT_PATH" value="true" />
<option name="SCRIPT_PATH" value="" />
<option name="SCRIPT_OPTIONS" value="" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ class AutocompleteService(private val project: Project) {
({ response ->
widget?.setLoading(false)

val completions = response as List<*>
val responseObject = response as Map<*, *>
val completions = responseObject["content"] as List<*>

if (completions.isNotEmpty()) {
val completion = completions[0].toString()
val finalTextToInsert = deduplicateCompletion(editor, offset, completion)
Expand Down
2 changes: 1 addition & 1 deletion extensions/vscode/e2e/tests/SSH.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ describe("SSH", function () {
await editor.setText(text);
})
.timeout(DEFAULT_TIMEOUT.XL)
.retries(2);
.retries(4);
});

0 comments on commit 92e6b54

Please sign in to comment.