如何在代码编辑器中隐藏调试动作
是否可以在9和10行之间隐藏以下“调试”链接?
在Jest测试中或在所有代码中。
这些链接非常烦人。例如,该文件包含20-50个测试。当我编辑文件时,所有这些20-50个链接都会消失。当我保存文件时,再次添加链接。在每个编辑/保存迭代上,所有行都会移动。由于这个万花筒,我头疼:)
Is it possible to hide the following "Debug" link between 9 and 10 lines?
Either in Jest tests or in all code.
These links are very annoying. For example the file contains 20-50 tests. When I edit the file all these 20-50 links disappear. And when I save the file the links are added again. On each edit/save iteration all lines are shifted. I have a headache because of this kaleidoscope :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Codelens显示了调试动作。它可以使用以下设置为开玩笑定制:
只有在测试失败时才显示操作。如果有人指定一个空状态,则该操作将始终隐藏。
CodeLens shows the debug action. It can be customized for Jest using the following settings:
The action will be shown only if a test was failed. If one will specify an empty array of states, then the action will be always hidden.