معرفی افزونههای مفید VSCode جهت کار با Angular
نویسنده: وحید نصیری
تاریخ: ۱۳۹۶/۰۳/۲۶ ۱۳:۲۵
آدرس: www.dntips.ir
| مطالب | ۳۶۹۴ |
| نویسندگان | ۲۷۶ |
| گروههای مطالب | ۱۰۲۴ |
| نقشههای راه | ۱۱۹ |
| دورهها | ۱۴ |
| اشتراکها | ۱۷۹۱۴ |
> npm install -g tslint typescript
"files.exclude": {
"**/.git": true, // this is a default value
"**/.svn": true, // this is a default value
"**/.hg": true, // this is a default value
"**/CVS": true, // this is a default value
"**/.DS_Store": true, // this is a default value
"**/node_modules": true,
"**/bower_components": true
} "editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
} // file -> preferences -> settings "typescriptHero.resolver.organizeOnSave": true,
code --list-extensions
code --install-extension {ext1} code --install-extension {ext1} --install-extension {ext2} --install-extension {extN} for /F "tokens=*" %i in ('code --list-extensions') do @echo call code --install-extension %i >> install.cmd call code --install-extension 1tontech.angular-material Installing extensions... connect ETIMEDOUT 13.107.42.18:443 Failed Installing Extensions: 1tontech.angular-material
How to add proxy configuration to VS Code:
- Open VS Code as Administrator
- Open File > Preferences > User Settings
- Add following configuration to the open file.
{
"http.proxy": "http://userName:password@companyProxyURL:portNumber",
"http.proxyStrictSSL": false
} code --install-extension 1tontech.angular-material Installing extensions... Extension '1tontech.angular-material' not found. Make sure you use the full extension ID, including the publisher, e.g.: ms-vscode.csharp Failed Installing Extensions: 1tontech.angular-material
البته اگر افزونهی TypeScript Hero را نصب کرده باشید، این گزینه را هم دارد (و نیازی به نصب افزونهی فوق نخواهید داشت):
"typescriptHero.imports.organizeOnSave": true,