updateProfile.parser 参数

使用 updateProfile.parser 参数来设置或查询 updateProfile 命令使用的文档解析器。此解析器应该是 current.updateProfile.parsers 参数返回的其中一个解析器。

可用性

query 命令
set 命令
current 参数
default 参数
install 参数

作用域

updateProfile.parser 的作用域为当前视图。
current.updateProfile.parser 的作用域为当前视图。
default.updateProfile.parser 的作用域为全局。
install.updateProfile.parser 的作用域为全局。

语法

query updateProfile.parser
set updateProfile.parser { associated
                         | default
                         | [ parser ]
                         }
query current.updateProfile.parser
query default.updateProfile.parser
set default.updateProfile.parser { associated
                                 | install
                                 | [ parser ]
                                 }
query install.updateProfile.parser 

参数

associated 如果对 set updateProfile.parser 命令指定 associated 参数,则 updateProfile 命令对于当前视图将选择与文档的文件扩展名相关联的解析器。如果对 set default.updateProfile.parser 命令指定 associated 参数,则 updateProfile 命令对于所有将 updateProfile.parser 设置为 default 的文档视图都将选择与文档的文件扩展名相关联的解析器。解析器关联是使用 updateProfile.parserAssociation 参数指定的。
default 如果对 set updateProfile.parser 命令指定 default 参数,则当前视图将使用 default.updateProfile.parser 的值来作为 updateProfile 命令的解析器。
parser 如果对 set updateProfile.parser 命令指定 parser 参数,则 updateProfile 命令在当前视图中将使用 parser 指示的解析器。如果对 set default.updateProfile.parser 命令指定 parser 参数,则在所有将 updateProfile.parser 设置为 default 的文档视图中,updateProfile 命令将使用 parser 指示的解析器。您指定的解析器应该是 updateProfile.parsers 参数返回的其中一个解析器。
install 如果对 set default.updateProfile.parser 命令指定 install 参数,则所有将 updateProfile.parser 设置为 default 的视图都将使用 install.updateProfile.parser 的值来确定 updateProfile 命令应使用的解析器。

描述

query current.updateProfile.parser 命令返回 updateProfile 命令在当前视图中将要使用的解析器。

示例

query updateProfile.parser
set updateProfile.parser java
query current.updateProfile.parser
query default.updateProfile.parser
set default.updateProfile.parser associated
query install.updateProfile.parser 

相关参考
updateProfile 命令
query 命令
set 命令
current 参数
default 参数
install 参数
parseAfterEveryKey 参数
parser 参数
updateProfile.baseProfile 参数
updateProfile.noParser 参数
updateProfile.parserAssociation 参数
updateProfile.parsers 参数
updateProfile.userActions 参数
updateProfile.userCommands 参数
updateProfile.userKeyActions 参数
updateProfile.userMouseActions 参数
updateProfile.userProfile 参数