File tree Expand file tree Collapse file tree 3 files changed +8
-11
lines changed
test/vscode-tests/no-workspace/model-editor Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 14161416 },
14171417 {
14181418 "command" : " codeQL.openModelEditor" ,
1419- "when" : " config.codeQL.canary && config.codeQL.dataExtensions .editor"
1419+ "when" : " config.codeQL.canary && config.codeQL.model .editor"
14201420 },
14211421 {
14221422 "command" : " codeQLQueries.runLocalQueryContextMenu" ,
Original file line number Diff line number Diff line change @@ -702,16 +702,13 @@ export function showQueriesPanel(): boolean {
702702 return ! ! QUERIES_PANEL . getValue < boolean > ( ) ;
703703}
704704
705- const DATA_EXTENSIONS = new Setting ( "dataExtensions " , ROOT_SETTING ) ;
706- const LLM_GENERATION = new Setting ( "llmGeneration" , DATA_EXTENSIONS ) ;
705+ const MODEL_SETTING = new Setting ( "model " , ROOT_SETTING ) ;
706+ const LLM_GENERATION = new Setting ( "llmGeneration" , MODEL_SETTING ) ;
707707const DISABLE_AUTO_NAME_EXTENSION_PACK = new Setting (
708708 "disableAutoNameExtensionPack" ,
709- DATA_EXTENSIONS ,
710- ) ;
711- const EXTENSIONS_DIRECTORY = new Setting (
712- "extensionsDirectory" ,
713- DATA_EXTENSIONS ,
709+ MODEL_SETTING ,
714710) ;
711+ const EXTENSIONS_DIRECTORY = new Setting ( "extensionsDirectory" , MODEL_SETTING ) ;
715712
716713export function showLlmGeneration ( ) : boolean {
717714 return ! ! LLM_GENERATION . getValue < boolean > ( ) ;
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ describe("pickExtensionPack", () => {
164164 section ?: string ,
165165 scope ?: ConfigurationScope | null ,
166166 ) : VSCodeWorkspaceConfiguration => {
167- expect ( section ) . toEqual ( "codeQL.dataExtensions " ) ;
167+ expect ( section ) . toEqual ( "codeQL.model " ) ;
168168 expect ( ( scope as any ) ?. languageId ) . toEqual ( "java" ) ;
169169
170170 return {
@@ -205,7 +205,7 @@ describe("pickExtensionPack", () => {
205205 section ?: string ,
206206 scope ?: ConfigurationScope | null ,
207207 ) : VSCodeWorkspaceConfiguration => {
208- expect ( section ) . toEqual ( "codeQL.dataExtensions " ) ;
208+ expect ( section ) . toEqual ( "codeQL.model " ) ;
209209 expect ( ( scope as any ) ?. languageId ) . toEqual ( "java" ) ;
210210
211211 return {
@@ -311,7 +311,7 @@ describe("pickExtensionPack", () => {
311311 section ?: string ,
312312 scope ?: ConfigurationScope | null ,
313313 ) : VSCodeWorkspaceConfiguration => {
314- expect ( section ) . toEqual ( "codeQL.dataExtensions " ) ;
314+ expect ( section ) . toEqual ( "codeQL.model " ) ;
315315 expect ( ( scope as any ) ?. languageId ) . toEqual ( "java" ) ;
316316
317317 return {
You can’t perform that action at this time.
0 commit comments