Answer the question
In order to leave comments, you need to log in
Are there JavaScript editors in nature with type completion that works?
Perhaps the question will seem strange, but I had to deal with development for the web for the first time. Due to the habit of developing in languages with static typing, I want a window with types, auto-completion of functions, etc. to pop up at the press of a key combination.
It seems that Google gives out about a dozen such editors. In some, a lot of graceful gifs show how cool they can complement and show types. But, when you really start to use it, it turns out that they can primitively supplement only those tags that are in the file. That is, stupid matching by tag name, or heaps of sharpenings for node.js, and I need ordinary native JS, with which nothing works.
Visual Studio Code example from. website:
Official screenshot of WebStorm:
How to achieve this? Or is it just for select Node.JS coders?
I added External Libraries to WebStorm, as described here . No effect...
Hello, World example:
<!doctype html>
<meta charset="utf-8">
<title>Hello World</title>
<body>
<script src="src/pixi.js"></script>
<script src="src/code.js"></script>
<h1>Hi!</h1>
</body>
//var renderer = PIXI.autoDetectRenderer(256, 256);
var renderer = PIXI.aut <==
//var stage = new PIXI.Container();
var stage = new PIXI.Con <==
//document.body.appendChild(renderer.view);
Answer the question
In order to leave comments, you need to log in
TypeScript + .d.ts definitions + IDE / editor with TypeScript support (the same webstorm), and there will be happiness.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question