📄 vm_global_library.vm
字号:
## ---------------------------------------------------------## Velocity macros to be shared by all DeploymentService## velocity templates.#### $Id: VM_global_library.vm,v 1.1.4.1 2004/11/09 18:52:21 andd Exp $## ---------------------------------------------------------## --------------------------------------------------------## ifDefReplace## ## If $substr is contained in $string then produce $replace#### $string and $substr must be Strings## --------------------------------------------------------#macro(ifDefReplace $string $substr $replace)#if($string.indexOf($substr) >= 0)$replace#end#end## --------------------------------------------------------## firstToken#### If $delim appears in $string, produce all characters## up to $delim, else, produce $string#### $string and $delim must be Strings## --------------------------------------------------------#macro(firstToken $string $delim)#if($string.indexOf($delim))$string.substring(0, $string.indexOf($delim))#else$string#end#end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -