-
Notifications
You must be signed in to change notification settings - Fork 347
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
[BUG] 自定义yaml语言的DocumentModel,在monaco实例下编辑,问题面板错误提示badge是错误的 #3678
Comments
自定义documentModelProvider // 注册自定义的 DocumentModelContentProvider |
我本地 main 分支没有复现这个问题 或许你可以排查一下 markers-manager.ts 的 updateMarkers 方法有没有被触发 |
确定被触发,我是用ide-electron 2.26.4 写的,可提供可复现demo https://gitee.com/zhangmeirong/opensumi-electron-demo @Ricbet |
自定义yaml语言的documentModel,创建monaco实例, 在这个实例下编辑,输入错误的格式,插件redhat.yaml报错,底部问题面板(@opensumi/ide-markers)有错误提示信息, 但badge提示是错误的,
使用自定义documentModel的编辑器实例下编辑,问题面板bade错误,但常规yaml文件可以提示
复现路径(To Reproduce)
代码使用ide-electron 2.26.4.,使用redhat.yaml 编辑, 去掉了之前项目默认的vscode.yaml,代码在modules/demoError下
偶尔会有提示信息慢的场景
预期表现(Expected behavior)
环境信息(Environment)
The text was updated successfully, but these errors were encountered: