Chrome开发者工具:如何禁用代码自动完成功能? [英] Chrome Developer tools: How to disable code auto complete?

查看:107
本文介绍了Chrome开发者工具:如何禁用代码自动完成功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在源面板中尝试使用Chrome DevTool的漂亮Workspaces/in-devtools代码编辑器,大致设置为此处接受的答案:

I am experimenting with Chrome DevTool's beautiful Workspaces / in-devtools code editor in the source panel, set up roughly like the accepted answer here: Chrome developer tools: View Console and Sources views in separate views/vertically tiled?

到目前为止,太棒了.一个缺点是我讨厌代码完成下拉列表,浏览器会为我输入内容.当它给我两个引号,而我只打了一个引号时,我真的很生气.

So far, it's awesome. The one drawback is that I detest code completion dropdowns and the browser entering things for me. When it gives me two quotes and I've only typed one, I really get irritated.

无论如何,有没有一种方法可以自动停止它破坏我的代码,以寻求帮助?如果确实需要,我将恢复到旧的gedit工作流程,但是那样的话我会很伤心的.

Anyway, is there a way to stop it automatically breaking my code trying to help out? If I really must, I'll revert back to my old gedit workflow, but then I'd be a sad bear.

推荐答案

(也许)感谢已提交的错误,此功能现已成为Google Chrome浏览器的功能.

Thanks (perhaps) to the bug that was filed, this is now a feature in Google Chrome.

要在Chrome开发工具中禁用自动完成功能,请执行以下操作:

To disable autocomplete in Chrome Dev Tools:

  1. 打开开发工具(如果尚未打开).
  2. 打开设置.对我来说,这是devtools窗口右上角的齿轮图标.
  3. 希望
  4. 设置的常规部分会自动打开.如果没有,请选择它并向下滚动到来源
  5. 取消选中/取消选中自动完成".耶!
  1. Open Dev Tools if it's not open already.
  2. Open Settings. For me, this is a cog icon in the top right corner of the devtools window.
  3. The General section of settings should hopefully be open automatically. If not, select it and scroll down to Sources
  4. Untick/uncheck Autocompletion. Yay!

这篇关于Chrome开发者工具:如何禁用代码自动完成功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆