Skip to content

Commit 3fdb585

Browse files
committed
Since ReadOnly is an ActiveEditor thing, make it an editor context entry rather than an editor tab one
1 parent 6f01d58 commit 3fdb585

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@
121121
"group": "2_projectTree@3"
122122
}
123123
],
124-
"editor/title/context": [
124+
"editor/context": [
125125
{
126126
"command": "workbench.action.files.toggleActiveEditorReadonlyInSession",
127-
"group": "navigation"
127+
"group": "z_commands"
128128
}
129129
]
130130
},
@@ -159,6 +159,12 @@
159159
"group": "navigation"
160160
}
161161
],
162+
"editor/title/context": [
163+
{
164+
"command": "workbench.action.files.toggleActiveEditorReadonlyInSession",
165+
"group": "navigation"
166+
}
167+
],
162168
"view/title": [
163169
{
164170
"command": "projectTree.refresh",

0 commit comments

Comments
 (0)