You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser version runs on classic JavaScript hints. For smarter Code intelligence, switch to the desktop app.
12
12
:::
13
13
14
-
## Code Completions
14
+
Code hints, parameter hints, hover info, jump to definition, and error checking all work as described in [Code Intelligence](./Code%20Intelligence). This page covers what is specific to JavaScript and TypeScript.
15
15
16
-
Suggestions appear as you type, drawn from your project and the libraries you use. Press `Ctrl + Space` to open them manually.
16
+
## Auto Imports
17
+
18
+
Suggestions are drawn from your project and the libraries you use.
17
19
18
-
- A documentation popup appears beside the list, showing the selected item's signature and docs.
19
20
- Picking a symbol from another file or module automatically adds the import at the top of your file.
20
21
- If the same name exists in several modules, the hint shows how many and lets you choose which one to import.
21
22
22
-
## Parameter Hints
23
-
24
-
When you type a function call, a popup shows the function's parameters and highlights the one you are on. You can also open it from `Edit` → `Show Parameter Hint`.
25
-
26
-
## Hover Info
27
-
28
-
Hold your cursor over any symbol to see its type signature and documentation. The popup also has two quick action buttons:
29
-
30
-
-**Go to Definition**: Jumps to where the symbol is defined, even in another file.
31
-
-**Find Usages**: Lists every place the symbol is used across the project.
32
-
33
-
<!-- TODO: PLUTO - add image here showing the hover popup with quick actions -->
34
-
35
-
Both are also available in the right-click menu, and as keyboard shortcuts: `Ctrl/Cmd + J` for Go to Definition and `Shift + F12` for Find Usages.
36
-
37
-
## Errors and Quick Fixes
23
+
## Type Checking
38
24
39
-
Errors and warnings from the language server appear in the [Problems panel](/docs/Features/Problems%20Panel/ESLint) as you type. When a fix is available, use the **Fix** button next to the problem, or **Fix All** to apply every fix in the file.
25
+
Errors and warnings from the language server appear in the [Problems panel](/docs/Features/Problems%20Panel/ESLint) as you type, with a **Fix** button when a fix is available.
40
26
41
27
> In plain JavaScript files, type warnings are off by default. Turn on **Type-check JavaScript** in the [config panel](#the-config-panel) to get them.
0 commit comments