Skip to content

Commit

Permalink
doc 2024.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
kings1990 committed Sep 2, 2024
1 parent f4864d2 commit 40d3686
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/en/guide/features/function.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

Path:`Project Global Config -> Functions`

Use `{@functionName}` to replace the fixed value. ==Methods must be paramaterless==, otherwise it won't work.
Use `{{$functionName}}` to replace the fixed value. ==Methods must be paramaterless==, otherwise it won't work.

Pressing the shortcut key after typing `{@`, it will invoke the auto-completion action.
Pressing the shortcut key after typing `{{$`, it will invoke the auto-completion action.

Developers can use the built-in api in the JDK to write own custom functions, such as 5-length random strings.

Expand Down
2 changes: 1 addition & 1 deletion docs/en/guide/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Join and follow us to solve your question ❤️❤️❤️↓↓↓
::: hint Functions and environment code completion <Badge vertical="top" text="Important feature" color="orange"/>
<MyCarousel :imgList="['/img/2024.1.7/functionEn.png','/img/2024.1.7/functionInBodyEn.png','/img/2024.1.7/functionConfig.png']" />

Support environment value like `{{xx}}` and function value `{@functionName}` code completion
Support environment value like `{{xx}}` and function value `{{$functionName}}` code completion

For more information about function support, see ----> [Function](/en/guide/features/function.md)
:::
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/features/function.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

路径:`项目级别配置 -> Functions`

使用 `{@函数名}` 形式来替换魔法值。==函数必须是无参数的==,否则不能正常工作。
使用 `{{$函数名}}` 形式来替换魔法值。==函数必须是无参数的==,否则不能正常工作。

输入`{@`后按快捷键可以唤起函数自动补全。
输入`{{$`后按快捷键可以唤起函数自动补全。

开发者可以利用 jdk 中自带的类写属于自己定制化的函数,例如随机 5 个字符串

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ icon: changelog
::: hint 函数与变量支持代码补全 <Badge vertical="top" text="重要功能" color="orange"/>
<MyCarousel :imgList="['/img/2024.1.7/function.png','/img/2024.1.7/functionInBody.png','/img/2024.1.7/functionConfig.png']" />

支持变量 `{{xx}}``{@函数名}`的代码补全
支持变量 `{{xx}}``{{$函数名}}`的代码补全

函数支持更多信息请参考---->[函数](/guide/features/function.md)
:::
Expand Down

0 comments on commit 40d3686

Please sign in to comment.