ace-editor - 如何在 ace 编辑器中更改片段占位符变量的格式
问题描述
如何在 ace 编辑器中更改片段占位符变量的格式
if (${1:condition_name}) {
${2:body}
}
上面的代码片段将在编辑器中显示为
if(condition_name){
body
}
but i want it as
if(<condition_name>){
<body>
}
i want placeholder variable inside this <>
i have tried the below one but it is not working
if (${1:<condition_name>}) {
${2:<body>}
}
解决方案
推荐阅读
- c# - 如何绘制不完全适合周围矩形的右对齐字符串
- frama-c - 在 Frama-C 中从原始源代码执行死代码消除/切片
- xslt - XSLT - 如何在重复标签中获取第一个值 - 如此简单但并不那么简单
- rstudio - 我正在尝试通过省略预算列中使用美元以外的货币的任何原始数据来过滤 R 中的数据
- azure - 我可以在开发测试实验室环境中实例化多网卡虚拟机吗?
- java - 功能修改数据库时是否可以使用功能标志/切换?
- c# - 集线器方法中的异步登录
- r - Shiny App中的美国地图不会随选项而改变
- python - 向 GridSearchCV 添加回调
- android - Xamarin Android 上的 Onesignal 无法正常工作