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
**Phoenix Code** has code intelligence for JSON files, with extra features for `package.json`.
7
7
8
-
## npm Package Hints
8
+
## package.json
9
9
10
10
When you edit the dependencies in `package.json`:
11
11
12
12
- Typing a package name shows live suggestions from the npm registry.
13
13
- Typing a version shows the package's real versions, newest first, with `^` and `~` shortcuts at the top.
14
+
- Hovering over a dependency shows the package's description, latest version, license, and links to its homepage and docs.
14
15
15
16
<!-- TODO: PLUTO - add image here showing npm package hints in package.json -->
16
17
17
-
## Dependency Hover
18
-
19
-
Hover over a dependency to see the package's description, latest version, license, and links to its homepage and docs.
20
-
21
-
## Vulnerability Warnings
22
-
23
-
Your dependencies are checked against npm's security advisories, the same data `npm audit` uses. If a dependency has a known vulnerability, it is underlined in the editor and listed in the [Problems panel](/docs/Features/Problems%20Panel/ESLint) with its severity.
18
+
Your dependencies are also checked against npm's security advisories, the same data `npm audit` uses. If a dependency has a known vulnerability, it is underlined in the editor and listed in the [Problems panel](/docs/Features/Problems%20Panel/ESLint) with its severity.
24
19
25
20
<!-- TODO: PLUTO - add image here showing a vulnerability warning -->
26
21
@@ -29,5 +24,5 @@ Your dependencies are checked against npm's security advisories, the same data `
29
24
Phoenix Code knows the valid fields of well-known config files like `package.json`, `tsconfig.json`, `.eslintrc`, `.babelrc`, and `.prettierrc`. It suggests fields as you type, shows what each field means on hover, and flags mistakes in the Problems panel.
30
25
31
26
:::info
32
-
Config file intelligence runs in the desktop app. The npm hints, hover, and vulnerability warnings work everywhere.
27
+
Config file intelligence runs in the desktop app. The `package.json` features work everywhere.
0 commit comments