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
0
votes
6 answers

Looking for a Python IDE with good support for libraries (Twisted)

I'm looking for a Python IDE that can help me easily locate and manage and use the libraries on my system (Ubuntu). Specifically Twisted. Code completion is important including the symbols I import. (I've so far had a look at PyDev as well as…
Alexander Trauzzi
  • 7,277
  • 13
  • 68
  • 112
0
votes
3 answers

xcode 3.2 c++: how can i enable a proper code completion?

I have snow leopard and I'm building a cpp Application with xcode. I would like to be able to get proper code completion with xcode, and by that i mean the following: std::string f; f. just when I type f. i would like to see all the relevant…
ufk
  • 30,912
  • 70
  • 235
  • 386
0
votes
1 answer

How do I limit Code Completion to show only public and protected members?

Is there a way to show only public and protected members of an object I am using in the Code Completion window? When I type a dot character after the object name in the editor, I don't like to go though the unnecessary list of standard objects,…
Alex
  • 367
  • 2
  • 4
  • 15
0
votes
1 answer

Automatic Code completion in Eclipse 8.4?

I recently installed Eclipse Luna(for win7) for developing C++ programs. The problem is the code completion only shows suggestions when I press Ctrl + Space button. I searched on the internet, but the only solution I was able to find is for old…
Amol Borkar
  • 2,321
  • 7
  • 32
  • 63
0
votes
1 answer

code completion for liftweb scala in intellij idea

I'm working with a Scala application using Intellij Idea 13.1.1 community edition. Although i am able to compile and run my application, but the IDE shows error in editor window as it cannot resolve the class. How can i remove that and enable code…
0
votes
2 answers

Sudden change in the Code Completion in Netbeans 8.0- I could not have it for xhtml files, a unique option of data-bind appears

Without aparent reason i can not get code completion in xhtml files anymore, instead i get a unique option: data-bind Is this because an update in the plugins? How can I reset the previous behaviour of the code completion?
Stephano
  • 1
  • 1
0
votes
0 answers

Eclipse RCP to auto complete java code

I am currently developing a RCP application in Eclipse. Right now it is very minimalistic and consists of only one part containing a Text object as such: public class MainPart { private Text txtInput; @PostConstruct public void …
pethul
  • 116
  • 2
  • 3
0
votes
0 answers

Netbeans code completion too agressive?

I am using Netbeans 7.0.1 I am a bit new to Java, and using Java IDE for the first time. I have enabled code completion in Netbeans. The problem I am facing is that the netbeans code completion feature is too aggressive, for example if I type…
Pratik Singhal
  • 6,283
  • 10
  • 55
  • 97
0
votes
1 answer

Eclipse shortcut to accept type proposal with appended same-name lowercase starting variable

Is there a way, to create a attribute/method parameter/local variable by type, with same name as type starting with lowercase letter? Example: Redi [ctrl+space], and "RedirectAttributes" type is proposed [magic shortcut] IDE inserts:…
Piotr Müller
  • 5,323
  • 5
  • 55
  • 82
0
votes
1 answer

Code Completion When Using Factory Class

I am using Netbeans 8 for a Symfony2 project. I have created a factory class for my model queries (they are static calls and mess up testing). E.g
Rooneyl
  • 7,802
  • 6
  • 52
  • 81
0
votes
1 answer

Oracle SqlDeveloper Completion Insight table name with #

Got following error: if table name contains # (like z#users) code completion does not work. With normal table names all works fine. Is there any workarounds? Renaming all tables is not possible. Sqldeveloper version 4.0.0 Oracle 10.2.0.5
Digital God
  • 471
  • 1
  • 5
  • 17
0
votes
0 answers

Emacs Predictive - Accept with punctuation

I have successfully managed to install the predictive package for Emacs and am trying to accept the most likely correction with punctuation, which is mentioned in the…
0
votes
1 answer

Xcode 5 set code completion for new file type

I have been editing a lot of .xm files recently in Xcode. .xm is the file extension for a Logos iOS tweak, but has nearly identical code to Objective-c. My question is this: how can I make Xcode use objective-c code completions for .xm files?…
Praxder
  • 2,315
  • 4
  • 32
  • 51
0
votes
0 answers

How can I provide code completion information from a macro?

I am creating some macros for a class that extends scala.Dynamic. These macros looks like: class MyProxy extends scala.Dynamic { final def selectDynamic(field: String): MyProxy = macro ... final def updateDynamic(field: String)(value: Any): Unit…
Yang Bo
  • 3,586
  • 3
  • 22
  • 35
0
votes
1 answer

missing tooltips in #develop

Since I reinstalled #develop to another machine I experience a quite annoying issue: When typing method calls etc. for standard-libraries (System.Net.Sockets e.g.) I don't get the full "tool-tips" anymore. TCPClient foo = new TCPClient( At this…
Mark
  • 419
  • 1
  • 6
  • 21