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

Model namespaces in code completion with R - or how to organize R code

This is more of a general code structuring question. At the moment I try to write my code into "namespaces". So for example, I would…
Cookie
  • 12,004
  • 13
  • 54
  • 83
0
votes
1 answer

Eclipse Kepler Symfony Service Locator on $this Autocompletion

I am new in Symfony2. Yesterday I download Eclipse Kepler 4.3 and installed the pdt plugins from http://p2-dev.pdt-extensions.org. After creating a Symfony Project in Eclipse I read some tutorials. In my Controller LoginController I want to use…
OOPDeveloper89
  • 207
  • 5
  • 18
0
votes
0 answers

Eclipse Kepler with RSE and TYPO3 code completion

For TYPO3 Development I use Eclipse Standard/SDK version "Kepler". For accessing TYPO3 files on a remote server I use the Remote System Explorer (RSE) plugin, accesing the files via SSH. I managed to add PHP code completion for the RSE. Works…
Klaus
  • 416
  • 4
  • 15
0
votes
1 answer

Best Practise including code-completion in ZF2

In the following code the "/** @var BusinessLogic\User $user */" is not enabling code completion. When going by mouse over User in the comment I got: "Multiple Declarations: this version of IDE will have problems with completion member resolution…
Gizzmo
  • 691
  • 8
  • 21
0
votes
1 answer

Netbeans code completion for pseudo properties and methods made from magic functions

I created a component in Yii on top of the normal CComponent. Yii has a useful but quirky process of using magic functions like __get and __set and __call for read-only/write-only properties and for event functions. When I create an object from the…
user139301
  • 344
  • 6
  • 12
0
votes
1 answer

zf2 code completion in PHPStorm for $this->form

I'm using zend framework 2 with PHPStorm 7.1.2 Inside my view I want to have code completion for $this->form(). Here is the code: Controller: public function indexAction() { $viewModel = new ViewModel(); $form = new SearchForm('search'); …
jhartlep
  • 23
  • 4
0
votes
1 answer

IntelliJs code-completion doesn't show parameters names

I recently made a switch from Netbeans 7 to IntelliJ 13 and so far I'm very happy. However in Netbeans I found the code-completion to be a bit better, despite reading nothing but praise for IntelliJs code-completion. My code-completion in IntelliJ…
isklenar
  • 974
  • 2
  • 14
  • 34
0
votes
0 answers

Can one reset Xcode 5's code completion? It's out of control

Is there any way to reset code completion in Xcode 5? There is a similar question here on StackOverflow where the answer is to delete the ~/Library/Developer/Xcode/UserInfo, but that folder no longer exists. There is a folder called UserData but it…
Elise van Looij
  • 4,162
  • 3
  • 29
  • 52
0
votes
0 answers

Clang code complete for not well-formed code?

I'm working on adding code complete via Clang to text editor to make it IDE. The source code: struct s { int a; float b; }; void main() { s var; var. The problem is that code complete for the position after dot returns nothing and if i add }…
4ntoine
  • 19,816
  • 21
  • 96
  • 220
0
votes
1 answer

Eclipse for Android, lost code completion feature

I wanted to transfer my Syntax coloring settings from my Eclipse EE to my Eclipse for Android, so I did what is told in this question. The problem is that, even if my syntax coloring did apply correctly, I lost all my code completion and proposals…
MichelReap
  • 5,630
  • 11
  • 37
  • 99
0
votes
1 answer

how to make netbeans IDE aware of classes and methods in other projects for code completion

I am working on a website in php which is comprised of 2 SVN repositories. One repo has classes in it while the other has scripts in it, so scripts in the script repository will make use of classes in the other repository. I am using Netbeans 7.3.1…
chiliNUT
  • 18,989
  • 14
  • 66
  • 106
0
votes
2 answers

phpStorm 7 Code Completion Issues

Since updating to phpStorm 7 for OSX, I cannot get code completion for HTML to stop. For example, if I type class=, as soon as I hit =, two double quotes are injected. How can this be stopped? Is this a bug? I've unchecked everything under…
Spechal
  • 2,634
  • 6
  • 32
  • 48
0
votes
1 answer

bpython get all possible completions

For example, when I type from some.module import a I get list of what begins with "a" How can I get the whole list, not for only "a" or other letter?
igor
  • 2,746
  • 3
  • 20
  • 24
0
votes
1 answer

In Xcode #import not showing code completion when just added .h c header

I added a MyHeaders.h header file from 'c and c++' section of iOS in xcode to import all other .h files in it, like how OCMock.h is having like below. It just has those 5 imports ignoring comments. #import "OCMockObject.h" #import…
Saran
  • 6,274
  • 3
  • 39
  • 48
0
votes
1 answer

FlashDevelop code completion AIR API

I haven't used FlashDevelop in half a year, and on returning (and updating it) the code completion no longer functions properly. I'm not entirely sure, but I think the code completion doesn't know the AIR library. When pressing "Ctrl+Space" after…
Jake
  • 115
  • 1
  • 3
  • 15