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
1 answer

Haxe: Creating a code completion macro for JSON files

I am trying to implement a code completion macro for JSON files by generating field definitions var classOfChild = Type.getClass(child); // `child` may look like this array: [[1,2,3],[0.1,0.2,0.3]] fields.push({ "name": childName, …
0
votes
1 answer

Visual Studio Code Suggestions Don't Pop Up but Parameter Hints Do

I'm new to VS Code and am trying to get IntelliSense code completion working for both dojo and arcgis api for javascript. I've installed both type definitions globally using typings. I get parameter hints on methods only after they've been…
0
votes
1 answer

rubymine code completion of model object

Our rails project involves two databases: Postgres and MS sql server. In the one database case : When a variable holds a model object, RubyMine suggests suitable code completion with created dynamic queries, e.g. find_by_name, find_by_phone .... But…
user452541
  • 11
  • 3
0
votes
1 answer

Visual Studio Code intellisense not working

I recently upgraded VS Code to version 1. Before that, intellisense was working fine for all of my files. Right now I am just working in JQuery. However, after the upgrade my intellisense is not working at all. Hovering over variables or functions…
0
votes
1 answer

NetBeans code templates, with comments

I have following code template in NB 6.9.1: function ${functionName}($$${param}) { ${selection}${cursor} } // end: ${functionName} () NB formats this to: function testFuncName($param) { } // end: testFuncName () NB keeps to push comment…
canni
  • 5,737
  • 9
  • 46
  • 68
0
votes
1 answer

BootsFaces tag auto completion shows duplicate properties style-class and styleClass

Check the below screeshot, why is there for instance style-class and styleClass? I am using bootsfaces 0.9.0-SNAPSHOT
b.lopes
  • 435
  • 1
  • 7
  • 17
0
votes
1 answer

WebStorm 11 code completion for Angular

I have been using WebStorm for Angular project, I do not get any IDE support let say defining controller as following I have checked that both Angular and AngularTemplates plugins are enabled at Settings | Plugins menu.
Ahmet Karakaya
  • 9,899
  • 23
  • 86
  • 141
0
votes
1 answer

How to change VIM PHP auto formatting options

I have tried googling this extensively, but all I can find are plugins which format code in the author's preferred way. What I would like to do is change the auto format options so that I can setup VIM to use the same formatting as the other…
user3640967
  • 528
  • 2
  • 9
  • 16
0
votes
1 answer

WebStorm JavaScript code completion: difference between TypeScript community stubs and official libraries

I'm new to developing with WebStorm and don't understand the difference between adding an original library with a global scope (e.g. jquery.js) either from the local file system or by downloading it via the Download button (from the Official…
timar
  • 21
  • 3
0
votes
1 answer

iPython code completion doesn't work in mac 10.9

I found some post about this, but they don't work for me. Does anyone know how to make the code completion work in mac ? Thanks
zjffdu
  • 25,496
  • 45
  • 109
  • 159
0
votes
0 answers

ANTLR based code completion for Netbeans

I'm trying to make autocompletion for my language using Netbeans Code Completion, Parsing and Lexer APIs with ANTLR. I have generated java classes based on ANTLR grammar file, such as ANTLR Parser, Lexer and BaseListener. My goal is to make…
podhornyi96
  • 43
  • 10
0
votes
0 answers

How to event handler in the code editor using code completion?

I'm new to Visual Studio (2013), I usually add event handlers in the design view via the thunderbolt icon. How can I do this in the code editor using a kind of code completion? In particular for events defined in referenced DLL, that I cannot access…
rok
  • 2,574
  • 3
  • 23
  • 44
0
votes
1 answer

Remove generic code completion hinting (so-called "code templates") from object attributes list Netbeans (in PHP)

Is there any way to remove the generic code completion hinting from the object attributes list in netbeans (in PHP)? For any variable, in addition to whatever methods/properties are available for a given object variable, Netbeans includes something…
chiliNUT
  • 18,989
  • 14
  • 66
  • 106
0
votes
0 answers

How to list next expected matches of a Regex

Given a Regex like this: (aaa)(bbb)*(ccc|ddd) Is there any way to list all the possible values that will come after a token (for example aaa) and will match the regex? Of course here the answer is ["bbb","ccc","ddd"] but look at it as a general…
el_shayan
  • 2,735
  • 4
  • 28
  • 42
0
votes
1 answer

Java code-completion in Textmate?

I'm used to developing Java programs in Eclipse, where I can type something like... "SomeObject.", and when I press ".", it has a small list popup from which I can choose (and automatically complete) the method and variable names within that…
Tattat
  • 15,548
  • 33
  • 87
  • 138