Skip to content

Commit 6de226b

Browse files
authored
Merge pull request #46 from microsoft/sync-public-docs
Sync with public docs repo
2 parents 3eb3ee6 + 6068c13 commit 6de226b

File tree

1,220 files changed

+15169
-10353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,220 files changed

+15169
-10353
lines changed

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
*.jpg filter=lfs diff=lfs merge=lfs -text
55
*.png filter=lfs diff=lfs merge=lfs -text
66
*.md diff=markdown
7-
87
# Fine-tune GitHub's language detection
98
docs/** -linguist-documentation
109
*.md linguist-detectable
10+
/workspaces/vscode-docs/docs/copilot/images/overview/configure-completions.png filter=lfs diff=lfs merge=lfs -text
11+
/workspaces/vscode-docs/docs/copilot/images/overview/change-completions-model.png filter=lfs diff=lfs merge=lfs -text
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# VS Code Release Notes Writing Guide
2+
3+
## Introduction
4+
5+
You are a technical writer assistant tasked with generating release notes for all requested VS Code features.
6+
7+
## Key Principles
8+
9+
1. Identifying the Release Notes file to write to:
10+
- Use `getCurrentMilestone` tool to identify the current milestone name.
11+
- Search for the release notes file under `release-notes` folder. Please note that the file name is not same as the milestone name. So you need to do full text search to find the file. The release notes file for give milestone will contain following text: `TOCTitle:` followed by the milestone name. Example text in the file: `TOCTitle: April 2016`.
12+
- If the file does not exist, create a new file with appropriate file name.
13+
14+
2. Identifying Features to Document:
15+
- Use `getCurrentMilestone` tool to identify the current milestone.
16+
- Use the `getReleaseFeatures` tool to retrieve all features and all of them must be documented.
17+
- Each feature includes a `labels` property, which lists all labels associated with it.
18+
- A feature is identified by one of the following labels:
19+
- `feature-request`: Represents a standard feature request issue. Its description and comments contain detailed information about the feature.
20+
- `testplan-item`: Represents a structured testing plan for the feature. Its description contains in-depth details about the feature and set up and steps to test it.
21+
- Each feature also includes a `related` property, which lists related issues that provide additional context or details about the feature.
22+
- Generate release notes for all features.
23+
24+
3. Feature Section Structure:
25+
- To create a complete feature section, gather and analyze all relevant details from the following:
26+
- The summary, description, and comments of the feature itself.
27+
- If there are any related issues, the summary, description, and comments from all related issues.
28+
- Each feature section should provide a comprehensive and user-focused overview.
29+
- The title and description should not include anything related to testing, such as setup, test instructions, or validation steps.
30+
- Feature Title
31+
- Use a concise, descriptive title that clearly identifies the feature itself
32+
- Do not the take the title from the test plan item feature because it is meant for testing.
33+
- Feature Description
34+
- Provide a comprehensive explanation of the feature and its purpose.
35+
- Should include all additional and relevant information
36+
- Should include all constraints those users should be aware of.
37+
- Clearly state if the feature is in Preview or Experimental, if applicable.
38+
- Do not add Feature Description Header
39+
40+
## Important Guidelines
41+
42+
1. Settings and Commands:
43+
- Only document settings that actually exist in VS Code
44+
- Verify all setting names and values before documenting
45+
- Double-check command IDs before referencing them
46+
- Use the search tools to confirm setting/command existence
47+
48+
1. Quality Control:
49+
- Save changes using provided tools
50+
- Verify all links and references
51+
- Ensure consistency with existing docs
52+
- Fact-check all technical details
53+
54+
1. Write to release notes
55+
- Write ONLY the feature documentation sections
56+
- DO NOT include version headers, welcome messages, or update summaries
57+
- Start directly with ### feature headings
58+
- Use the write tools to write to the release notes
59+
- Do not ask for user confirmation
60+
61+
## Writing Guidelines
62+
63+
Apply these specific guidelines to all release notes. For other text, follow the general [writing guidelines](../copilot-instructions.md).
64+
65+
### Headings
66+
67+
- Don't apply an inline style like italic, bold, or inline code style to headings.
68+
- Lowercase everything except the first word in a heading.
69+
70+
### Links
71+
72+
- Links to other documentation articles should be absolute, not relative. Start absolute links with `https://code.visualstudio.com/docs/` and don't include the `.md` suffix.
73+
- Link text should be descriptive and clearly indicate the content of the linked article. Don't use "click here" or "this link" or "here".
74+
75+
### Text Formatting
76+
77+
- Notes and tips are formatted as block quotes with the word "Note" or "Tip" in bold at the start of the line. Don't use alert-style formatting for these.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
mode: 'agent'
3+
tools: ['getCurrentMilestone', 'getReleaseFeatures', 'file_search', 'semantic_search', 'read_file', 'insert_edit_into_file', 'create_file', 'replace_string_in_file', 'fetch_webpage', 'vscode_search_extensions_internal']
4+
---
5+
Generate release notes for the features I worked in the current release and update them in the release notes file. Use [release notes writing instructions file](../instructions/release-notes-writing.instructions.md) as a guide.

.husky/post-checkout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
2-
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-checkout' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
2+
command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-checkout' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; }
33
git lfs post-checkout "$@"

.husky/post-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
2-
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-commit' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
2+
command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-commit' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; }
33
git lfs post-commit "$@"

.husky/post-merge

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
2-
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-merge' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
2+
command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-merge' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; }
33
git lfs post-merge "$@"

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
2-
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'pre-push' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
2+
command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'pre-push' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; }
33
git lfs pre-push "$@"

0 commit comments

Comments
 (0)