Questions tagged [code-hinting]

90 questions
4
votes
2 answers

PhpStorm and expanded php definitions

Using code hinting, PHPStorm can show me quick function definitions; can it be configured to show me more detailed examples of the function's use?
Eric
  • 1,209
  • 1
  • 17
  • 34
3
votes
1 answer

Eclipse Code Hinting on JSP with Custom Tags (taglib)

I'm developing a JSP tag that have an attribute that works with a set of possible values. I don't need to enforce this values, but I would like my IDE (Eclipse) do some code hinting or auto-completion. Suppose a tag like this
NemoStein
  • 2,088
  • 2
  • 22
  • 36
3
votes
1 answer

Make WebStorm recognize method defined in jest.setupFilesAfterEnv

In Webstorm, I'm using jest for unit tests, and have created an extension using expect.extend(). The code for this is in {projectDir}./tests/jest-helpers.js and in my package.json I have the following: "jest": { "setupFilesAfterEnv":…
ErikE
  • 48,881
  • 23
  • 151
  • 196
3
votes
1 answer

How to use type hinting in Python when loading objects

How can I alert python of the return type of a pickle.load() command within a class where load() command returns an object of the class. I had hoped the straight-forward class myClass: @classmethod def load(cls, filename) -> myClass: …
David R
  • 994
  • 1
  • 11
  • 27
3
votes
1 answer

prismjs (code highlight plug-in) shows code horizontally

prismjs.com is a way to display source code on your web site by highlighting it, similar to the monokai style... The problem is that the plugin shows my codes horizontally. I would like my code to be structured (easy to read, on multiple lines)…
S4L4H
  • 402
  • 1
  • 5
  • 21
3
votes
3 answers

How to invoke method/constructor parameter hint in IntelliJ?

If I write code sequentially, then after I enter some method call and opening parenthesis, I get a hint after delay: if I discard it or return to the place later, I see no any hint: How to invoke it without retyping the code?
Dims
  • 47,675
  • 117
  • 331
  • 600
3
votes
1 answer

Dreamweaver Code Hints from Dynamically Included js File?

I am using Dreamweaver CS6 (and most recently, CC). We have a javascript file that is included in every page, but its dynamically included through nested layers of PHP includes, so when I type in a function name, DW does not know it is part of the…
OneNerd
  • 6,442
  • 17
  • 60
  • 78
2
votes
1 answer

Code Hinting with CSS in Dreamweaver 5.5

I am currently using the trial version of Dreamweaver 5.5 to be able to - hopefully - get a better understanding of the benefits of this program. I had previously used Aptana Studio 3 for a couple days and may have come to the conclusion that it is…
Adam Beck
  • 1,271
  • 2
  • 14
  • 25
2
votes
0 answers

Netbeans 15 - how to recognise external stylesheet css in code hints?

I am new to Netbeans version 15. I've been using Dreamweaver for 20+ years. I use external stylesheets like this Dreamweaver is very nice and shows code hints from these…
Kilvroch
  • 96
  • 4
2
votes
2 answers

Type hinting/specifying a type in lua

There's a feature in python where you can specify a type of a variable or a function argument or something, but I'm doing some lua right now I'd like to specify a type as my auto completion shows type any so I thought lua might also have that…
Ari157
  • 95
  • 4
  • 16
2
votes
0 answers

How to enable parameter name hints for Kotlin in Android Studio Bumblebee?

I want to enable parameter hints as to the above image for Kotlin in Android Studio Bumblebee. But settings have only the below options. Is there any way to enable this option?
2
votes
1 answer

SQL Editor / Viewer for Mac

Im looking good SQL (MySQL) editor/viewer for MacOS. I want to spend money on it, if it what I looking for. (on Windows I use: dbForge Mysql and I looking something similar to it) Main features I need: Code hinting Code highlighting Hinting on…
woozly
  • 1,363
  • 1
  • 14
  • 24
2
votes
1 answer

How can I get PhpStorm to go to the right declaration

I have the following snippet of code. abstract class MrParent { public function __construct() { $this->var = 'a'; } } class MrChild extends MrParent { public function hello() { echo 'Hello'; } } $MrGuy = new MrChild(); Now, in…
2
votes
2 answers

Why doesn't Excel display argument hints for DATEDIF()?

Whenever I type a function into Microsoft Excel 2013, a small hint box is displayed which lists the function's arguments. For some reason, this hint box doesn't appear when using DATEDIF(). I can't find it listed anywhere on the formula tab, nor am…
Stevoisiak
  • 23,794
  • 27
  • 122
  • 225
2
votes
1 answer

Why doesn't Xcode always display a hint of parameter default value?

Is there any rule when Xcode displays hint of the function/method with default parameter value? Here's what I mean. For example, in UIViewController there's present() method with the signature like this: func present( _ viewControllerToPresent:…
Robo Robok
  • 21,132
  • 17
  • 68
  • 126