Pairs of self-closing brackets and quotes.
Must be an array of strings with 2 characters each.
Defaults to ['""', "''", '``', '()', '[]', '{}']
.
Regex controlling whether or not a bracket/quote should
automatically close based on the character before and after the cursor.
Defaults to /([^$\w'"`]["'`]|.[[({])[.,:;\])}>\s]|.[[({]`/s
.
Generated using TypeDoc
Extension that will add automatic indentation, closing of brackets, quotes and tags along with the following commands:
The shortcuts for the commands are not easily customizable. If you want to customize them, you can copy the https://github.com/FIameCaster/prism-code-editor/blob/main/package/src/extensions/commands.ts|source and change the conditions.