code-inspector-plugin 0.18.1-beta.1 → 0.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -13
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -302,20 +302,9 @@ Please check here for more usage information: [code-inspector-plugin configurati
|
|
|
302
302
|
|
|
303
303
|
</details>
|
|
304
304
|
|
|
305
|
-
- 2.
|
|
305
|
+
- 2.Using the function
|
|
306
306
|
|
|
307
|
-
|
|
308
|
-
> This step is only required for Mac with vscode as IDE. Skip this step if your computer is Windows or if you use another IDE.
|
|
309
|
-
|
|
310
|
-
In VSCode, press `command + shift + p`, search for and click `Shell Command: Install 'code' command in PATH`:
|
|
311
|
-
|
|
312
|
-
<img src="https://cdn.jsdelivr.net/gh/zh-lx/static-img/code-inspector/vscode-command-line.png" width="400px" />
|
|
313
|
-
|
|
314
|
-
If you see the dialog box below, the configuration was successful:
|
|
315
|
-
|
|
316
|
-
<img src="https://cdn.jsdelivr.net/gh/zh-lx/static-img/code-inspector/command-line-success.png" width="300px" />
|
|
317
|
-
|
|
318
|
-
- 3.Enjoy using it
|
|
307
|
+
Now you can enjoy using it!~
|
|
319
308
|
|
|
320
309
|
When pressing the combination keys on the page, moving the mouse over the page will display a mask layer on the DOM with relevant information. Clicking will automatically open the IDE and position the cursor to the corresponding code location. (The default combination keys for Mac are `Option + Shift`; for Windows, it's `Alt + Shift`, and the browser console will output related combination key prompts)
|
|
321
310
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-inspector-plugin",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.2",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"typings": "./types/index.d.ts",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"chalk": "4.1.1",
|
|
50
50
|
"dotenv": "^16.3.1",
|
|
51
|
-
"code-inspector-core": "0.18.
|
|
52
|
-
"vite-code-inspector-plugin": "0.18.
|
|
53
|
-
"
|
|
54
|
-
"
|
|
51
|
+
"code-inspector-core": "0.18.2",
|
|
52
|
+
"vite-code-inspector-plugin": "0.18.2",
|
|
53
|
+
"webpack-code-inspector-plugin": "0.18.2",
|
|
54
|
+
"esbuild-code-inspector-plugin": "0.18.2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/node": "^16.0.1",
|