File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ import {
59
59
getPromptFiles ,
60
60
slashCommandFromPromptFile ,
61
61
} from "./promptFile.js" ;
62
+ import { contextItemToRangeInFileWithContents } from "../commands/util.js" ;
62
63
const { execSync } = require ( "child_process" ) ;
63
64
64
65
function resolveSerializedConfig ( filepath : string ) : SerializedContinueConfig {
@@ -146,8 +147,14 @@ async function loadSerializedConfig(
146
147
147
148
if ( config . tabAutocompleteOptions ) {
148
149
config . tabAutocompleteOptions . multilineCompletions = "never" ;
150
+ config . tabAutocompleteOptions . useOtherFiles = true ;
151
+ config . tabAutocompleteOptions . onlyMyCode = false ;
149
152
} else {
150
- config . tabAutocompleteOptions = { multilineCompletions : "never" } ;
153
+ config . tabAutocompleteOptions = {
154
+ multilineCompletions : "never" ,
155
+ useOtherFiles : true ,
156
+ onlyMyCode : false ,
157
+ } ;
151
158
}
152
159
153
160
config . disableIndexing = true ;
@@ -671,4 +678,4 @@ export {
671
678
loadFullConfigNode ,
672
679
serializedToIntermediateConfig ,
673
680
type BrowserSerializedContinueConfig ,
674
- } ;
681
+ } ;
You can’t perform that action at this time.
0 commit comments