mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
ai - clarify how to deal with strings in instructions (#267248)
This commit is contained in:
3
.github/copilot-instructions.md
vendored
3
.github/copilot-instructions.md
vendored
@@ -91,7 +91,8 @@ We use tabs, not spaces.
|
||||
|
||||
- Use "double quotes" for strings shown to the user that need to be externalized (localized)
|
||||
- Use 'single quotes' otherwise
|
||||
- All strings visible to the user need to be externalized
|
||||
- All strings visible to the user need to be externalized using the `vs/nls` module
|
||||
- Externalized strings must not use string concatenation. Use placeholders instead (`{0}`).
|
||||
|
||||
### UI labels
|
||||
- Use title-style capitalization for command labels, buttons and menu items (each word is capitalized).
|
||||
|
||||
Reference in New Issue
Block a user