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
5 answers

Eclipse code assist

I am performing unit testing (JUnit 4) and I am using assertEquals(), but I can't seem to find assertEquals(boolean, boolean). Please tell me whether this is a generic method i.e. eclipse automatically adjusts to the type of argument being passed.…
Apprentice
  • 21
  • 4
0
votes
0 answers

How to have Spyder auto-complete modules only available as compiled .pyc files?

In contrast to pydev, spyder doesn't appear to support code completion for .pyc modules without their sources. Is there a setting I missed, or some way to fix this?
Tobias Kienzler
  • 25,759
  • 22
  • 127
  • 221
0
votes
1 answer

xcode code completion broken within #if and #endif

Code completion doesn't work within #if and #endif Environment: latest Xcode version: 4.6.2 #if defined(LITE_VERSION) //code here has no or very limited auto completion #endif The target is set to the lite version, so the marcro LITE_VERSION is…
xiang
  • 251
  • 4
  • 9
0
votes
2 answers

How to make a IDE recognize JavaScript "class" referenced in other file

I'm starting to develop with JS because I want to learn WebGL. For years I've been using strong typed classes like Java, C++ and C#. But now I'm having heavly issues with JS because it doesnt have classes and variables arent typed... So i'm trying…
Afonso Lage
  • 281
  • 5
  • 18
0
votes
3 answers

confused with the code completion of intellij

When I type "Log",it shows: Then I add a comma,it shows what I want now: Why doesn't it shows all candidates when I typed "Log"?
wangqi060934
  • 1,552
  • 16
  • 23
0
votes
1 answer

how to change duration of Quick Info in Completion List of Visual Studio?

When I write new int()., a Completion List pops up, along with Quick Info, which describes a certain member, in this case CompareTo(). Unfortunately, that Quick Info disappears after a certain time. Is there a way to make it disappear only when the…
daniel1426
  • 169
  • 3
  • 13
0
votes
0 answers

Configuring Netbeans code completion order

I'm using netbeans 7.3 with code completion feature and enabled 'Auto popup on typing any Java Identifier Part' I'm trying to type System.out.println("Some string") So when I reach this point: System.out.println( it automatically fills…
Jones
  • 548
  • 15
  • 33
0
votes
1 answer

Can the AS3 API reference be accessed trough code

I am making a code completion system for a code editor, and i would like to show a tooltip for every parameter containing its reference data. I would like to emulate the code completion from Eclipse, so i was wondering if the API reference is…
M364M4N cro
  • 680
  • 2
  • 10
  • 23
0
votes
1 answer

Code assist in Aptana Studio

I'm a first time user trying to set up Aptana Studio 3 for HTML/CSS/JavaScript development. One thing that I'm having trouble with is getting code assist to work properly for jQuery. When the code completion window pops up, it is filled with syntax…
Steven Liekens
  • 13,266
  • 8
  • 59
  • 85
0
votes
0 answers

ICSharpCode.TextEditor.TextEditorControl to VB.net UserControl Porting Problems

I am trying to create a vb.net usercontrol based on SharpDevelop TextEditor. I want syntax highlighting and code completion. In order to do that I decided to port CSharpCodeCompletion example from SharpDevelop's source code (version 3.2.1.6466). It…
ChD Computers
  • 3,135
  • 3
  • 23
  • 33
0
votes
2 answers

Eclipse IDE: Code completion for the private and protected properties accessed by magic functions

As it states that it's ok to answer my own question and having found some trick to achieve code completion in Eclipse IDE (for PHP) I would like to share this with other users. I found some solution here but somehow I can't make doxygen work…
Voitcus
  • 4,463
  • 4
  • 24
  • 40
0
votes
1 answer

Given an XSD is it possible to list a hierarchy of elements and their attributes?

Lets pretend I have an XSD document and I want to produce a list of all elements along with their attributes and the children of the elements. I could also approach this by asking if you are to implement code completion based on an xsd document,…
user166244
  • 77
  • 2
  • 6
0
votes
1 answer

How to enable code assist for the DOM for JavaScript projects in Eclipse

How can I simply get in this little popup (code completion) all possible methods/functions given when I type window.(blablabla). Because if I type window. there is no "event" method for example. In NuSphere there are all methods been listed.
x4k3p
  • 1,598
  • 2
  • 22
  • 42
0
votes
0 answers

What is different about how xcode looks for sources before and after a build?

I am having an issue getting code sense to work for a Library (RestKit) that I have installed via cocoa pods. But I will try to keep the question more general to how xcode works underneath. The situation is that I can consistently do the following…
wfbarksdale
  • 7,498
  • 15
  • 65
  • 88
0
votes
2 answers

Eclipse code completion automatic deactivation

Whenever I run Eclipse, it suddenly deactivates some completions tags (but not all) with no reason. This happens always during, when I write some code. At the start of Eclipse, everything is okay but after a while this problem occurs. Every time I…