开发者

How do you stop the XCode debugger from autocompleting without options?

开发者 https://www.devze.com 2023-03-31 07:52 出处:网络
The debugger is really (de)bugging me. Every time I try to type a po ... command, it autocompletes (without giving me any options) and I end up typing stuff like po [selfelf and so on until I go mad.

The debugger is really (de)bugging me. Every time I try to type a po ... command, it autocompletes (without giving me any options) and I end up typing stuff like po [selfelf and so on until I go mad. Is there any way of stopping this, or of always giving me the 开发者_StackOverflow中文版autocomplete popup like in the standard editor?


This answer applied to the GDB debugger which is no longer the standard debugger used with Xcode

This is achieved by adding the following line to the "readline init file" (which, by default, I think does not exist). I created the file ~/.inputrc and put the following text in it:

set disable-completions 'On'


Hmm, the accepted answer is kind of overkill.

How about the answer provided to this question:

The closest I've come to solving this incredibly annoying problem is to turn off automatic code completion in general (Preferences > Text Editing > Suggest Completions While Typing) and then hit esc whenever I actually do want code completion.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号