updateProfile.parserAssociation parameter
Use the updateProfile.parserAssociation parameter to set or query the parser that is associated with a file extension. When the updateProfile command is issued on a document view that has current.updateProfile.parser set to associated, the parser that is associated with the files file extension is used to parse the document view.
Availability
query command
set command
current parameter
default parameter
install parameter
Scope
updateProfile.parserAssociation.fileExtension is scoped to the current view.
current.updateProfile.parserAssociation.fileExtension is scoped to the current view.
default.updateProfile.parserAssociation.fileExtension is globally scoped.
install.updateProfile.parserAssociation.fileExtension is globally scoped.
Syntax
query updateProfile.parserAssociation.fileExtension set updateProfile.parserAssociation.fileExtension { default | [ parser ] } query current.updateProfile.parserAssociation.fileExtension query default.updateProfile.parserAssociation.fileExtension set default.updateProfile.parserAssociation.fileExtension { install | [ parser ] } query install.updateProfile.parserAssociation.fileExtension
Parameters
fileExtension Use the fileExtension parameter to indicate the file exension. default If you specify the default parameter for the set updateProfile.parserAssociation.fileExtension command, the current view will use the value of default.updateProfile.parserAssociation.fileExtension to determine the parser associated with fileExtension when the updateProfile command is issued. parser If you specify the parser parameter for the set updateProfile.parserAssociation.fileExtension command, the updateProfile command will use parser as the parser associated with the file extension indicated by fileExtension for the current view. If you specify the parser parameter for the set default.updateProfile.parserAssociation.fileExtension command, the updateProfile command will use parser as the parser associated with the file extension indicated by fileExtension for all document views that have the updateProfile.parserAssociation.fileExtension parameter set to default. The parser parameter should be one of the parsers returned by the current.updateProfile.parsers parameter. install If you specify the install parameter for the set default.updateProfile.parserAssociation.fileExtension command, all views with updateProfile.parserAssociation.fileExtension set to default will use the value of install.updateProfile.parserAssociation.fileExtension to determine the parser associated with fileExtension when the updateProfile command is issued.
Description
The query current.updateProfile.parserAssociation.fileExtension command returns the parser that the updateProfile command will associate, for the current view, with the file extension specified by fileExtension.
If you do not specify any parameters for the set updateProfile.parserAssociation.fileExtension command, no parser is associated with the specified file extension.
If you do not specify any parameters for the set default.updateProfile.parserAssociation.fileExtension command, no default parser is associated with the specified file extension.
Examples
query updateProfile.parserAssociation.java set updateProfile.parserAssociation.java java set updateProfile.parserAssociation.java default set updateProfile.parserAssociation.java query current.updateProfile.parserAssociation.java query default.updateProfile.parserAssociation.java set default.updateProfile.parserAssociation.java java set default.updateProfile.parserAssociation.java install set default.updateProfile.parserAssociation.java query install.updateProfile.parserAssociation.java
query command
set command
updateProfile command
parser parameter
updateProfile.extensions parameter
updateProfile.noParser parameter
updateProfile.parserClass parameter
updateProfile.parsers parameter
updateProfile.parser parameter