Skip to content

Commit 3d16a36

Browse files
committed
Change codelens.enabled default to true
1 parent 8a26592 commit 3d16a36

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"changes":{"package.json":"Minor"},"note":"Add CodeLens annotations for Server/Client Components","date":"2026-03-25T14:52:16.911680Z"}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
},
7777
"reactComponentLens.codelens.enabled": {
7878
"type": "boolean",
79-
"default": false,
79+
"default": true,
8080
"description": "Show CodeLens annotations indicating Server/Client Component kind."
8181
},
8282
"reactComponentLens.codelens.clientComponent": {

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function getConfiguration(): {
212212
'codelens.clientComponent',
213213
true,
214214
),
215-
enabled: configuration.get<boolean>('codelens.enabled', false),
215+
enabled: configuration.get<boolean>('codelens.enabled', true),
216216
globalEnabled: configuration.get<boolean>('enabled', true),
217217
serverComponent: configuration.get<boolean>(
218218
'codelens.serverComponent',

0 commit comments

Comments
 (0)