Visual Studio Code 下的提示插件
<h2>Node.js Modules Intellisense</h2> <p>Visual Studio Code plugin that autocompletes JavaScript / TypeScript modules in import statements.</p> <p>This plugin was inspired byNpm Intellisense andAutoFileName.</p> <p style="text-align: center;"><img src="https://simg.open-open.com/show/5f4b8b7f7c294f7df0e138b7f680b7e2.gif"></p> <h2>Installation</h2> <p>Launch VS Code Quick Open (⌘+P), paste the following command, and press enter.</p> <pre> ext install node-module-intellisense</pre> <p>View detail on <a href="/misc/goto?guid=4959729041488710227" rel="nofollow,noindex">Visual Studio Code Marketplace</a></p> <h2>Issues & Contribution</h2> <p>If there is any bug, create a pull request or an issue please.Github</p> <h2>Configuration</h2> <p>Node.js Module Intellisense scans builtin modules, dependencies, devDependencies and file modules by default. Set scanBuiltinModules, scanDevDependencies and scanFileModules to false to disable it.</p> <pre> { // Scans builtin modules as well "node-module-intellisense.scanBuiltinModules": true, // Scans devDependencies as well "node-module-intellisense.scanDevDependencies": true, // Scans file modules as well "node-module-intellisense.scanFileModules": true, // File module extensions "node-module-intellisense.fileModuleExtensions": [ ".js", ".jsx", ".ts", ".d.ts", ".tsx", ".vue", ".json" ], }</pre> <h2>Changelog</h2> <ul> <li>v1.2.0 - Add support for package sub path such as ts-node/register (issue #4)</li> <li>v1.1.0 - Fix some problem: <ul> <li>Support export ... from ... statement (issue #1)</li> <li>Add support for TypeScript /// <reference... comment (issue #2)</li> <li>Fix TypeScript .d.ts file problem (issue #3)</li> </ul> </li> <li>v1.0.4 - Support language HTML</li> <li>v1.0.2 - Support custom file module extension name, add .vue and .json to default</li> <li>v1.0.1 - Fix .vscodeignore</li> <li>v1.0.0 - Initial release</li> </ul> <h2>License</h2> <pre> MIT License Copyright (c) 2016 Zongmin Lei <leizongmin@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</pre> <p> </p> <p> </p> <p> </p>
本文由用户 outengyaya 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!