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

webstorm code highlighting and code completion for meteor packages

I have configured meteor on webstorm and I can see code highlighting and code completion for meteor, but when I add new packages (for example: aldeed:collection2), code highlighting and code completion doesnt work for new packages. How can I make…
Chidu Murthy
  • 688
  • 3
  • 10
  • 26
0
votes
1 answer

codelite clang separate options

I did follow the suggestions on the documentation to enable clang code completion, but it seems that on the most recent version there is no option to add search paths and compiler flags separately, I tried adding compiler flags on the search path…
lurscher
  • 25,930
  • 29
  • 122
  • 185
0
votes
1 answer

How to get pydev code completion using super

Is there a way to configure PyDev or hint for code completion when using super()? For example: class B(A): def __init__(self,): super(B, self).__init__() In this case I don't have access to class A's source code but need to know what…
Ryan
  • 80
  • 10
0
votes
1 answer

IDE doesn't recognize the method

I'm trying to acces the cityMethod() inside the class City. class City { void cityMethod() { } } So, I do: map mymap; City c; mymap["Madrid"] = c; Now, when I do this: mymap["Madrid"].cityMethod(); Ok, it works. But the IDE(Qt)…
0
votes
2 answers

Eclipse orion code completion

I read somewhere that orion uses tern for code completion for JavaScript but after running the server, creating a js file and then creating another file the other file is unaware of any code in the first file. It seems that completion only works for…
HMR
  • 37,593
  • 24
  • 91
  • 160
0
votes
0 answers

Delphi: how to automatically create property from private field?

I already know how to use inline templates (prop/propf + CTRL-J) to declare properties that automatically create their private field and their getters/setters, but how do I do the opposite? I have 166 private fields already declared. Is there a way…
FjodrSo
  • 301
  • 2
  • 8
0
votes
1 answer

IntelliJ: Autocomplete object as function-parameter

I'm using IntelliJ IDEA as an IDE for development which also involves JavaScript-development. My fundamental aim is to make code-completion work in the IDE in the following way with my own "library". The "library", to be exact, is Nashorn delegating…
user1745465
0
votes
1 answer

Removing the 'short' code completion in NetBeans

In the context of declaring a field or method, I type 's' and NetBeans offers a list of possible completions including static which is good. The first option on the list is short. I've never used that in Java programming and almost certainly never…
rwallace
  • 31,405
  • 40
  • 123
  • 242
0
votes
2 answers

Xcode: all .h files lost syntax coloring

I had a project that was working for almost a week then suddenly all my .h files lost code completion/syntax coloring.The only changes i could think of was i changed my target's name and then when i created a new set of .h and .m files this…
Jerrin
  • 173
  • 1
  • 14
0
votes
0 answers

AngularJS code completion in Eclipse Kepler

I'm starting to learn AngularJS - I used to work in Eclipse on some projects, so I thought I'd keep my IDE and went on to install AngularJS Eclipse plugin: http://marketplace.eclipse.org/content/angularjs-eclipse I've created a project and converted…
waterplea
  • 3,462
  • 5
  • 31
  • 47
0
votes
2 answers

SFML code completion not working for Code::Blocks 13.12 on Ubuntu 14.04

EDIT: NOT WORKING ON ANY IDE, SEEMS TO BE A GENERAL MISCONFIG So hello guys. It's taking a bit longer to set my Ubuntu system to code with SFML and C++ than expected. This should be one of the last problems really. So my C::B 13.12 install via…
ChemiCalChems
  • 612
  • 12
  • 31
0
votes
0 answers

MonoDevelop without code completion for Unity function parameters

code completion issues seem to be an ongoing issue with Mono Develop, and now I have a new twist of it where the past solutions don't work: thought code completion works in general, it does no longer for function parameters. So for foo(obj bar){...}…
habitoti
  • 229
  • 2
  • 15
0
votes
1 answer

PDO code completion in NetBeans

I'm using NetBeans since its version 7.0 and its my favorite IDE for PHP since than, but today I was using it for a project and its giving me problem in PDO code completion. There are two cases, 1) If I am instantiating the PDO object on the same…
Bangash
  • 1,152
  • 3
  • 10
  • 30
0
votes
1 answer

Why does Xcode auto-completion not work and keep showing errors?

I am new to Xcode. After a few days of "normal" use, where I didn't get any problems of any kind, Xcode stopped working properly. The auto code completion now gives me only the methods ("M"). If, for example, I'm in "ViewController.swift" and write…
giamar
  • 3
  • 4
0
votes
0 answers

Eclipse code completion for member-names

When I type private SomeClass s and hit CRTL+SPACE I usually got suggestions from code completion like private SomeClass someClass; Now that i use JBossDevStudio 8.0.0 it doesn't work anymore. I just get some useless suggestions like JPATemplates…
Chris311
  • 3,794
  • 9
  • 46
  • 80