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
fix: remove internal dotprompt markers from user-facing tools
Removes support for internal <<<dotprompt:...>>> markers from all
editor extensions and user-facing tools. These markers were intended
for internal processing and should not be exposed to end-users in
templates, READMEs, or snippets.
This update affects multiple packages:
- docs: update design documentation to remove marker references
- packages/codemirror: remove marker highlighting and stream parser rules
- packages/emacs: remove marker font-lock patterns and documentation
- packages/jetbrains: remove marker lexer rules and documentation
- packages/monaco: remove marker syntax highlighting and theme tokens
- packages/promptly: remove marker references from design docs
- packages/treesitter: remove marker from grammar, queries, and corpus
- packages/vim: remove marker syntax rules and highlighting
- packages/vscode: remove marker snippets, grammar rules, and README references
Copy file name to clipboardExpand all lines: packages/jetbrains/src/main/resources/liveTemplates/Dotprompt.xml
+7-12Lines changed: 7 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -17,31 +17,27 @@
17
17
SPDX-License-Identifier: Apache-2.0
18
18
-->
19
19
<templateSetgroup="Dotprompt">
20
-
<!-- Role blocks-->
21
-
<templatename="role"value="{{#role "$ROLE$"}} $CONTENT$ {{/role}}"description="Handlebars role block"toReformat="false"toShortenFQNames="true">
20
+
<!-- Role markers-->
21
+
<templatename="role"value="{{role "$ROLE$"}} $0"description="Handlebars role marker"toReformat="false"toShortenFQNames="true">
<templatename="system"value="{{#role "system"}} $CONTENT$ {{/role}}"description="System role block"toReformat="false"toShortenFQNames="true">
<templatename="system"value="{{role "system"}} $0"description="System role marker"toReformat="false"toShortenFQNames="true">
31
29
<context>
32
30
<optionname="OTHER"value="true"/>
33
31
</context>
34
32
</template>
35
33
36
-
<templatename="user"value="{{#role "user"}} $CONTENT$ {{/role}}"description="User role block"toReformat="false"toShortenFQNames="true">
<templatename="user"value="{{role "user"}} $0"description="User role marker"toReformat="false"toShortenFQNames="true">
38
35
<context>
39
36
<optionname="OTHER"value="true"/>
40
37
</context>
41
38
</template>
42
39
43
-
<templatename="model"value="{{#role "model"}} $CONTENT$ {{/role}}"description="Model role block"toReformat="false"toShortenFQNames="true">
0 commit comments