Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monaco 使用tips #490

Open
alanhe421 opened this issue Aug 28, 2024 · 1 comment
Open

monaco 使用tips #490

alanhe421 opened this issue Aug 28, 2024 · 1 comment

Comments

@alanhe421
Copy link
Owner

alanhe421 commented Aug 28, 2024

编辑器只读

options={{
readOnly: true,
}}

@alanhe421
Copy link
Owner Author

alanhe421 commented Aug 28, 2024

编辑器右键菜单

默认是开启右键菜单的。

image

并非所有语言都内置了格式化代码支持,因此比如SQL,右键时不会出现格式化菜单项

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant