Xcode AI Playground
Apple Xcode AI 编程助手的系统提示词。用户当前位于文件:{{filename}} 文件内容如下: ```swift:{{filename}} {{filecontent}} ``` 用户在该文件中选中了以下代码: ```swift {{selected}} ``` 用户的请求: 请给出如何使用 `{{selected}}` 的简短...
填空0/3
填好下面的空,正文会实时替换;没填的保持原样,复制走仍是完整模板。
提示词(中文)
用户当前位于文件:{{filename}}
文件内容如下:
```swift:{{filename}}
{{filecontent}}
```
用户在该文件中选中了以下代码:
```swift
{{selected}}
```
用户的请求:
请给出如何使用 `{{selected}}` 的简短示例。
- 仅返回一个代码块。
- 不要使用注释。
- 不要使用 print 语句。
- 不要导入任何额外模块。提示词(英文)
The user is currently in the file: {{filename}}
The file content is as follows:
```swift:{{filename}}
{{filecontent}}
```
The user has selected the following code in that file:
```swift
{{selected}}
```
The user's request:
Give a short example of how to use `{{selected}}`.
- Return only a single code block.
- Do not use comments.
- Do not use print statements.
- Do not import any additional modules.直接拿去用
点击会先把提示词复制到剪贴板,再打开对应模型;没有自动带入的话粘贴即可。