Skip to content

Commit b517ed5

Browse files
committed
Fix rendering of settings by adding ids to package.json
This appears to fix a problem I noticed, where all the settings defined by this extension appeared in the settings UI under "Extensions->CLI" (the name of our first config category), rather than "Extensions->CodeQL->CLI", "Extensions->CodeQL->Running queries", etc.
1 parent ddeb8c5 commit b517ed5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

extensions/ql-vscode/package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
{
165165
"type": "object",
166166
"title": "CLI",
167+
"id": "codeQL.cli",
167168
"order": 0,
168169
"properties": {
169170
"codeQL.cli.executablePath": {
@@ -182,6 +183,7 @@
182183
{
183184
"type": "object",
184185
"title": "Running queries",
186+
"id": "codeQL.runningQueries",
185187
"order": 1,
186188
"properties": {
187189
"codeQL.runningQueries.numberOfThreads": {
@@ -279,6 +281,7 @@
279281
{
280282
"type": "object",
281283
"title": "Results",
284+
"id": "codeQL.resultsDisplay",
282285
"order": 2,
283286
"properties": {
284287
"codeQL.resultsDisplay.pageSize": {
@@ -291,6 +294,7 @@
291294
{
292295
"type": "object",
293296
"title": "Query history",
297+
"id": "codeQL.queryHistory",
294298
"order": 3,
295299
"properties": {
296300
"codeQL.queryHistory.format": {
@@ -309,6 +313,7 @@
309313
{
310314
"type": "object",
311315
"title": "Running tests",
316+
"id": "codeQL.runningTests",
312317
"order": 4,
313318
"properties": {
314319
"codeQL.runningTests.additionalTestArguments": {
@@ -330,6 +335,7 @@
330335
{
331336
"type": "object",
332337
"title": "Variant analysis",
338+
"id": "codeQL.variantAnalysis",
333339
"order": 5,
334340
"properties": {
335341
"codeQL.variantAnalysis.controllerRepo": {
@@ -372,6 +378,7 @@
372378
{
373379
"type": "object",
374380
"title": "Adding databases",
381+
"id": "codeQL.addingDatabases",
375382
"order": 6,
376383
"properties": {
377384
"codeQL.addingDatabases.downloadTimeout": {
@@ -399,6 +406,7 @@
399406
{
400407
"type": "object",
401408
"title": "Creating queries",
409+
"id": "codeQL.createQuery",
402410
"order": 7,
403411
"properties": {
404412
"codeQL.createQuery.qlPackLocation": {
@@ -424,6 +432,7 @@
424432
{
425433
"type": "object",
426434
"title": "GitHub Databases",
435+
"id": "codeQL.githubDatabase",
427436
"order": 8,
428437
"properties": {
429438
"codeQL.githubDatabase.download": {
@@ -457,6 +466,7 @@
457466
{
458467
"type": "object",
459468
"title": "Model Editor",
469+
"id": "codeQL.model",
460470
"order": 9,
461471
"properties": {
462472
"codeQL.model.packLocation": {
@@ -474,6 +484,7 @@
474484
{
475485
"type": "object",
476486
"title": "Log insights",
487+
"id": "codeQL.logInsights",
477488
"order": 10,
478489
"properties": {
479490
"codeQL.logInsights.joinOrderWarningThreshold": {
@@ -488,6 +499,7 @@
488499
{
489500
"type": "object",
490501
"title": "Telemetry",
502+
"id": "codeQL.telemetry",
491503
"order": 11,
492504
"properties": {
493505
"codeQL.telemetry.logTelemetry": {

0 commit comments

Comments
 (0)