该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


To turn on this feature, select JSL code folding in the Script Editor preferences. Then you can expand and collapse blocks of code by right-clicking on a script and selecting Advanced > Expand All or Collapse All.
After you select this preference, Function and Expr expressions are foldable. See Add More Folding Keywords for details about adding folding markers to other expressions.
图 4.7 Code Folding Markers Shown in a Script
JMP supports multiple keyword lists. A system administrator can define a set of keywords in jmpKeywords.jsl and save the script in C:/ProgramData/SAS/JMP/ or designated directory listed below. You save your version of jmpKeywords.jsl in your C:/Users/<user>/Documents/ folder. JMP merges all keyword lists from the designated directories.
Note that jmpKeywords.jsl is stored in the designated JMP directory, even if you are using JMP Pro.
注意: 
The list in jmpKeywords.jsl is case insensitive.
After you edit and save the list in jmpKeywords.jsl, turn the Allow additional code folding keywords preference off and then back on for the changes to take effect. Messages in the log indicate that the keywords were loaded.