用Visual Studio Code 编写PowerShell脚本

栏目: ASP.NET · 发布时间: 8年前

内容简介:用Visual Studio Code 编写PowerShell脚本

PowerShell ISE是PowerShell自带的原生编辑器。但是,ISE只能编写PowerShell。有没有一款跨平台,轻量级,安装方便,扩展性强,能编写,运行,调试PowerShell,还能编写其他代码的工具。今天推荐微软的Visual Studio Code。安装包只有50M左右,安装完毕后只需要在扩展 工具 中安装微软的PowerShell插件,即可开始PowerShell的VS Code之旅。

支持的平台

  • Windows 7+
  • PowerShell 3.0+
  • Linux PowerShell v6
  • macOS and OS X  PowerShell v6

支持的功能

  • 语法高亮
  • 代码片段
  • 命令智能提示
  • 基于PowerShell Script Analyzer的脚本规则分析
  • 查看命令的变量的定义
  • 查看命令和变量的引用
  • 帮助文档搜索和定位
  • 使用F8运行选中的脚本
  • Ctrl+F1 搜索光标下命令的在线帮助
  • 本地变量调试,基本的控制台交互
用Visual Studio Code 编写PowerShell脚本

Visual Studio PowerShell插件

用Visual Studio Code 编写PowerShell脚本

VS Code PowerShell 智能提示

用Visual Studio Code 编写PowerShell脚本

VS Code PowerShell 智能调试

本文链接: http://www.pstips.net/start-with-vs-code.html

请尊重原作者和编辑的辛勤劳动,欢迎转载,并注明出处!


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Learning jQuery

Learning jQuery

Jonathan Chaffer、Karl Swedberg / Packt Publishing / 2007-7-7 / GBP 24.99

jQuery is a powerful JavaScript library that can enhance your websites regardless of your background. In this book, creators of the popular jQuery learning resource, learningquery.com, share the......一起来看看 《Learning jQuery》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具