-
Notifications
You must be signed in to change notification settings - Fork 4
Create file with extension
The "Create file with extension" feature allows you to create a file with a custom extension in your workspace. You can right-click on a folder or file (or within the root of the Vault), and the file will be created at the specified path after the modal dialog.
Preview:
Note
When using "Create file with extension" on a file in the workspace, it will create the new file in the same folder as the right-clicked file.
This modal includes two toggle settings to integrate it with other UNITADE features:
Below is an example image of these options in the modal:
-
Include in extensions registry:
Enabling this setting will add "EVERY" sub-extension of the full filename to the default extensions, similar to the on-load unsafe registry but disregarding case-insensitive mode. For example:
# Example of filename created: example.conf.dat.dts # Output for the extensions ("extensions" setting): ['conf', 'dat', 'dts']
-
Include in code editor module:
Enabling this setting will add "EVERY" sub-extension of the full filename to the code editor extensions, similar to the on-load unsafe registry while also disregarding case-insensitive mode.
Warning
This toggle is closely related to the code editor module and its behavior with extensions. For more information, refer to: "Code editor - working with extensions"
As noted, it is not recommended to enable both toggles simultaneously due to potential instability and/or issues. For more details on this mode and how it behaves in edge cases, see the corresponding article.