Questions tagged [code-hinting]

90 questions
19
votes
2 answers

Displaying function documentation in PyDev

I've gotten Pydev up and running, and almost all is working well. However I'm having some trouble with docstrings. Let's say for instance I have a function such as the following: def _get_logging_statement(self): """Returns an easy to read…
Scott
  • 9,458
  • 7
  • 54
  • 81
13
votes
4 answers

Duplicate hints while typing expression in Visual Studio Code

Why do I have the same suggestions while typing expression? Example:
Denis Waleev
  • 145
  • 2
  • 8
12
votes
2 answers

How to get intellisense working with phpStorm when passing object to function or iterating

I have an object with getters and setters but I'm loosing intellisense on that object when I pass it to a function or while iterating through a array of these objects. For example: ... $personA = new Person(..); $age = $personA->getAge(); //…
RayLoveless
  • 19,880
  • 21
  • 76
  • 94
11
votes
2 answers

Vim function hints for C

I'm trying to achieve something simple, usually called "function hints". For example, scintilla-based editors have it: You type a name, and just get the prototype. There are a few problems with that in vim: You have to rebuild the ctags to keep it…
10
votes
4 answers

Code Hinting custom functions/objects/constants, and on chaining, commentary in Adobe Dreamweaver CS5

In Dreamweaver CS5 there's something called Code Hinting (let's call it CH for short). CH has a bunch of information about functions, constants and objects built in the core library. When you press CTRL+SPACEBAR or begin structuring a statement…
ShadowScripter
  • 7,314
  • 4
  • 36
  • 54
9
votes
2 answers

Netbeans PHP function parameter hints

I looked around and found things that addressed related issues, but not what I'm looking for specifically. I'm using Netbeans which has really grown on me, but when I go to use a function, the "intellisense" hints pop up correctly, but as soon as I…
David Torrey
  • 1,335
  • 3
  • 20
  • 43
8
votes
2 answers

Syntax hinting in Vim

I've been using Vim for quite a while now, and while the code-completion (omni, dictionary, etc) works fine I've been missing one thing. Syntax-hinting, so basically I'd like to know what arguments a function accepts, rather than look it up online…
Not Available
  • 3,095
  • 7
  • 27
  • 31
8
votes
1 answer

PHPStorm Code Hinting for array of object arrays

In PHPStorm, the Code Hinting for an object array is simple and awesome; class FooList { public function __construct(){ $this->_fooList[] = new Foo(1); $this->_fooList[] = new Foo(2); $this->_fooList[] = new Foo(3); …
Hector Ordonez
  • 1,044
  • 1
  • 12
  • 20
6
votes
1 answer

Is it possible to generate a code hint reference for my application like PHP's standard.php

Eclipse accomplishes PHP function/method hinting by placing all of PHP's function names and code hints into a file called standard.php and associates it to a project as a library(?). Just CTRL + Click any php function to bring it up. Within…
oucil
  • 4,211
  • 2
  • 37
  • 53
5
votes
2 answers

Writing Intelli-J inspections?

How would I go about writing my own Intelli-J inspection? I'm looking for some general guides or resources. I want to bring up an inspection hint every time a collection class is instantiated manually, rather than through the Guava…
Stefan Kendall
  • 66,414
  • 68
  • 253
  • 406
4
votes
3 answers

How do you stop Eclipse from underlining functions?

Is there a way to disable the code-hint underlining in Eclipse? I use an eclipse-based IDE for a dynamic language, so it gets annoying at times when it can't discover methods from classes in other folders, and it fills half my screen with…
Mohamad
  • 34,731
  • 32
  • 140
  • 219
4
votes
1 answer

Is there any Code Hinting for Textmate? If so, where can I download and How can I install?

As the title says, i am looking for code hinting for textmate and was wondering if there is anything out there and if it would work for Ruby on Rails Thanks
ericraio
  • 1,469
  • 14
  • 35
4
votes
3 answers

Are there non-aesthetic differences to consider between hinting techniques when writing in CFScript?

I'm aware of two methods to write code hints in CFScript. I would like to know if there are any functional, non-aesthetic differences between the two, and what's considered best practice. The first technique I've seen uses comments above the…
Mohamad
  • 34,731
  • 32
  • 140
  • 219
4
votes
2 answers

Sublime Text 2: Auto complete CSS classes in HTML

How can I have the CSS auto-complete for classes feature in Sublime Text 2? For example, I have included a CSS file in my HTML document link rel="stylesheet" href="css/style.css" In CSS I have this: .container-primary { border: 1px solid…
user1995781
  • 19,085
  • 45
  • 135
  • 236
1
2 3 4 5 6