Open janryWang opened 3 years ago
In some scenarios, I hope that users can only enter js/ts expression instead of a statement.
options like this
language="javascript.expression" language="typescript.expression"
See https://github.com/microsoft/monaco-editor/issues/1661.
Personally, I would love to have this feature myself, but we currently don't have the resources to work on it any time soon.
In some scenarios, I hope that users can only enter js/ts expression instead of a statement.
options like this