Skip to content

Extension

Quantumzhao edited this page Jun 22, 2022 · 1 revision

Basic

This node is used to describe a extension name of a file. It is only useful when included in openFile and saveFile

Attributes

afterDot

The actual extension name that comes after . (i.e. excluding the dot)

  • Required
  • Type: [extensionType](#Extension Type)

displayName

The name of this extension. For example, the display name of *.txt should be Text File.

While there can be many extensions, they must all associate to the same displayName

  • Required

Extension Type

The string representation of a set of extensions. It can contain one or more extensions.

For example,

  • when there is only one extension, the value would be like txt
  • when there are multiple extensions, connect the extensions like this: txt [AND] md

Clone this wiki locally