You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b8e6416
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/skills/feature-tryouts/SKILL.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,14 +158,14 @@ Reuse the existing spotlight presentation. Do not create a release-note-specific
158
158
159
159
## 10. Add release-note markup
160
160
161
-
Use **Developer: Copy Feature Example Link** to produce the encoded link. Markdown contains only the stable ID:
161
+
Use **Developer: Copy Feature Example Link** to produce the backtick-wrapped shorthand. The first argument is a registered tryout ID; the second is literal display text, not executable behavior:
162
162
163
163
```md
164
-
<!-- %IF TRYOUTS %
165
-
[Try My Feature](command:workbench.action.onboarding.tryFeature?%5B%22myFeature.guide%22%5D)
166
-
%ENDIF % -->
164
+
`try(myFeature.guide,Try My Feature)`
167
165
```
168
166
167
+
Existing encoded links remain supported with their product-generated labels. See the contributor guide for the shorthand grammar and fallback behavior.
Copy file name to clipboardExpand all lines: src/vs/workbench/contrib/onboarding/README.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -294,15 +294,25 @@ The events respect existing usage-telemetry settings and policies. Register thei
294
294
295
295
## Release-note markup
296
296
297
-
Release notes use standard conditional comments and command links:
297
+
Release-note tryout links use a backtick-wrapped inline-code shorthand, without conditional comments:
298
+
299
+
```md
300
+
`try(myFeature.guide,Try My Feature)`
301
+
```
302
+
303
+
The syntax is `try(<tryout-id>,<link-text>)`. The first argument is a stable registered tryout ID, not a command ID. The required link text is presentation only; all executable behavior and availability checks remain in installed code. Surrounding argument whitespace is trimmed. The first comma separates the ID from the label, and the final closing parenthesis ends the token, so labels can contain commas and parentheses. Labels are literal text, not Markdown or HTML.
304
+
305
+
Only a complete inline-code token is recognized. Bare text, code blocks, and code inside links or raw HTML remain noninteractive. Malformed shorthand stays literal code; a valid but unknown ID shows the existing unavailable-example explanation. Renderers without tryout support display the shorthand as literal inline code.
306
+
307
+
Use **Developer: Copy Feature Example Link** to produce the shorthand with the installed title as its initial label. The command chooses a longer backtick delimiter when the title contains backticks. Authors may edit the label without changing the registered behavior.
308
+
309
+
Existing encoded command links remain supported and retain their product-generated `Try This: <title>` labels:
298
310
299
311
```md
300
-
<!-- %IF TRYOUTS %
301
312
[Try My Feature](command:workbench.action.onboarding.tryFeature?%5B%22myFeature.guide%22%5D)
302
-
%ENDIF % -->
303
313
```
304
314
305
-
Only the stable ID belongs in Markdown. Use **Developer: Copy Feature Example Link** to produce the encoded link. For manual validation, add the link to [releaseNotesTryouts.md](test/browser/fixtures/releaseNotesTryouts.md), open that file, and run **Developer: Open Current File as Release Notes**.
315
+
For manual validation, add the shorthand to [releaseNotesTryouts.md](test/browser/fixtures/releaseNotesTryouts.md), open that file, and run **Developer: Open Current File as Release Notes**.
Copy file name to clipboardExpand all lines: src/vs/workbench/contrib/onboarding/test/browser/fixtures/releaseNotesTryouts.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,22 +12,28 @@ Use this pattern when the behavior can be prepared safely with isolated sample d
12
12
13
13
The comparison uses bundled sample text, not workspace files. In the diff editor, use **Diff View** to select Inline, Side by Side, or Automatic, then resize the editor.
Use this pattern for a control whose choices have important capability, speed, provider, or billing implications.
22
20
23
21
The action opens a new unsent composer in the Agents window, highlights the model picker, and opens its details. Review the available models and providers, but close the picker without selecting anything if you want to leave your current model unchanged. The example never sends a prompt or chooses a billing provider for you.
24
22
25
-
<!-- %IF TRYOUTS %
26
-
[Explore Models and Providers](command:workbench.action.onboarding.tryFeature?%5B%22chat.model-provider-selection%22%5D)
27
-
%ENDIF % -->
23
+
`try(chat.model-provider-selection,Explore Models and Providers)`
28
24
29
25
## Compatibility: existing release-note behavior
30
26
27
+
The same example can use different shorthand labels while a legacy link keeps its product-generated label:
28
+
29
+
`try(editor.smart-diff,Compare Inline, Side by Side, and Automatic (Read-Only))`
Copy file name to clipboardExpand all lines: src/vs/workbench/contrib/update/browser/releaseNotesAccessibilityHelp.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ export class ReleaseNotesAccessibilityHelp implements IAccessibleViewImplementat
32
32
()=>[
33
33
localize('releaseNotes.help.overview',"You are in the release notes. Use your screen reader's reading and heading navigation commands to explore the document and its table of contents."),
34
34
localize('releaseNotes.help.navigation',"Press Tab or Shift+Tab to move between links, settings, the update preference checkbox, and available setup actions. Press Enter to activate a link. Press Space or Enter to activate a setup button."),
35
-
localize('releaseNotes.help.tryouts',"Try This links open locally registered feature examples. Reading, hovering, or focusing a link does not run it. If an example is unavailable, its explanation and any available setup action appear beside it. Setup does not automatically run the example."),
35
+
localize('releaseNotes.help.tryouts',"Feature example links may use custom labels and open locally registered examples. Reading, hovering, or focusing a link does not run it. If an example is unavailable, its explanation and any available setup action appear beside it. Setup does not automatically run the example."),
36
36
localize('releaseNotes.help.windows',"Some actions open another editor or window, including the Agents window. Chat examples prepare an input for you to review and do not send it automatically."),
37
37
localize('releaseNotes.help.find',"Use {0} to find text in the release notes. The Find input has its own accessibility help.",'<keybinding:editor.action.webvieweditor.showFind>'),
38
38
localize('releaseNotes.help.close',"Press Escape to close this help and return focus to the release notes."),
0 commit comments