Questions tagged [code-completion]

Refers to an IDE or editor feature that attempts to predict what you will type next based on context, speeding up code entry.

Code completion is a form of used by s or code oriented editors showing possible completions to a partially written code.

Common elements in many implementations:

  • Related keyboard shortcuts to simplify usage (invocation, choice selection)
  • Flexible configuration to:
    • Enable/disable the feature
    • Change response time
    • Associated shortcuts

Example: Netbeans guide has a Smart Code Completion section with pictures that show a common way used to implement this feature.

802 questions
20
votes
0 answers

Is it possible to run IntelliJ IDEA as a headless process for code completion?

Disclaimer: This is the naive question of the day for Java and IntelliJ's Gurus out there! First of all, my point is not to start a yet but revisited IDEs or editors' war. As a programmer, sometimes I would just like to have some fun and I'm curious…
Renaud
  • 8,783
  • 4
  • 32
  • 40
20
votes
10 answers

VS2013 intellisense code completion

First I thought it was a problem of VS2013 RC/beta but now I installed VS2013 RTM and still have the same problem: code completion does only open after I execute it manually by strg+space. How can I turn on auto open the windows after typed e.g. a…
daniel
  • 34,281
  • 39
  • 104
  • 158
19
votes
2 answers

How to disable automatic double quotation marks in Visual Studio 2022

I used Visual Studio 2022 for some time now and it has a really annoying behaviour. When I enter a quotation mark ›"‹ before existing text, to wrap this text in quotation marks, Visual Studio instead enters two quotation marks before the text. In…
Martini Bianco
  • 1,484
  • 1
  • 13
  • 23
18
votes
8 answers
18
votes
16 answers

IntelliJ Code Completion not working for new Java classes

IntelliJ IDEA 13 has started exhibiting a very weird behavior in my local setup. Namely, in any new Java class added to an existing project, Code Completion does not work. So, after declaring an object variable of any type in the new class and then…
PNS
  • 19,295
  • 32
  • 96
  • 143
17
votes
3 answers

Code completion for multi-parameter method names in Xcode 4

In Xcode4, I'm finding that I can't get code completion to readily narrow for multi-parameter method names where the first part is common. For example, consider the following methods from UITableViewDelegate: - tableView:viewForHeaderInSection: -…
John Whitley
  • 2,030
  • 18
  • 22
17
votes
4 answers

Hippie Code Completion in IntelliJ IDEA?

In NetBeans, it's Ctrl+K that activate the hippie completion. In Eclipse, it's Alt+/. What is it in IDEA? Edit: Hippie Completion is the kind of completion that doesn't require much information about the context. It scans all the word in file(s)…
Phương Nguyễn
  • 8,747
  • 15
  • 62
  • 96
17
votes
2 answers

Stop PyCharm's Autocomplete from Overwriting Code in front of my Cursor

I am using PyCharm to write some python code and notice that I run into the following problem quite often: I write a line of code like this for item in myList: Later, I realize that I would like the index of item as well, so I try to turn that line…
inspectorG4dget
  • 110,290
  • 27
  • 149
  • 241
16
votes
5 answers

Xcode 7.3.1 autocomplete code completion not working

Ever since Xcode 7.3 the autocompletion or code completion doesn't work properly. I have tried: Deleting Derived Data folder Clean Targets and Build Reinstalling Xcode It does autocomplete after you type it out fully the first time. But if you…
mashdup
  • 875
  • 7
  • 18
16
votes
1 answer

How to turn on PHP auto-complete in Adobe-Brackets

I have installed Adobe-Brackets 0.41. And I installed following extensions : Integrated Development PHP Syntax Hint QuickDocsPHP But when I writing PHP code (for instance mysql_) and pressing Ctrl+Space it won't complete the PHP codes! Does…
Hamed Kamrava
  • 12,359
  • 34
  • 87
  • 125
16
votes
2 answers

Simple code completion sample in Roslyn

I'd like to get started with code completion in Roslyn but could not find any simple examples that show how to do code completion. What would be a good example to finish this code so that I can obtain all possible completion items (AKA Intellisense…
lukebuehler
  • 4,061
  • 2
  • 24
  • 28
16
votes
2 answers

Eclipse Kepler - PHP Code completion not working

Today i've downloaded Eclipse Kepler and i've noticed that PHP code completion is not working anymore. when i type the first letters of a standard php function then press CTRL+Space, it gives me an empty list ("No Default Proposal"). This used to…
valepu
  • 3,136
  • 7
  • 36
  • 67
15
votes
1 answer

How to make IntelliJ IDEA's Auto Pop-Up Documentation appear every time?

In IntelliJ IDEA, if you type a variable and then hit the period "." button, you get a list of possible members to choose from. If you press Ctrl+Space, you get a documentation window containing further explanations of each member. As a learner, I…
InvalidBrainException
  • 2,312
  • 8
  • 32
  • 41
15
votes
1 answer

Custom type hint annotation

I just wrote a simple @autowired decorator for Python that instantiate classes based on type annotations. To enable lazy initialization of the class, the package provides a lazy(type_annotation: (Type, str)) function so that the caller can use it…
Rodrigo Oliveira
  • 1,452
  • 4
  • 19
  • 36
15
votes
4 answers

Code completion is not working for OpenCV and Python

I am using Ubuntu 14.04. I have installed OpenCV using Adrian Rosebrock's guide. I am also using PyCharm for programming python and opencv. My problem is that I can use code completion for cv2 modules but code completion wont work for instances…
Justin Case
  • 189
  • 1
  • 1
  • 8
1 2
3
53 54