Skip to content

Latest commit

 

History

History
71 lines (55 loc) · 3.85 KB

0-Prereqs.md

File metadata and controls

71 lines (55 loc) · 3.85 KB

Azure Data Studio Extension Development

Prereqs Prereqs Prereqs Prereqs Prereqs Prereqs Prereqs

Prerequisites

We'll be installing these items on nearly any computer manufactured since 2013. All are free, many are open source.

  • VS Code
  • Azure Data Studio Debugger Extension in VS Code
  • Git
  • NodeJS
  • TypeScript
  • Yeoman Extension Generator
  • Azure Data Studio
  • vsce

VS Code

Install VS Code from a download available at this link: https://code.visualstudio.com/ Once the install completes, launch VS Code. VS Code

Azure Data Studio Debugger

The left-most column in VS Code is the Activity Bar, where we will access VS Code extensions. Extension for VS Code that expedites the setup for debugging with Azure Data Studio. SOS Debugger

Node JS

Traditionally, Javascript is executed in a browser. For a project to leverage Javascript in an alternate environment, such as server-side Javascript, it needs an environment such as Node JS. Open source, not by Microsoft, and available here: https://nodejs.org/en/download/

npm

Software registry and package manager for Javascript, npm ties you directly to functionality from other code packages. Installed right along with Node JS, you can double check the npm version with npm -v from the VS Code terminal.

TypeScript

TypeScript is a superset of JavaScript, a language that adds functionality to the base language by compiling to JavaScript. This functionality, including static types and classes, makes TypeScript the choice over JavaScript for many larger projects. Open source and maintained by Microsoft. With npm installed, you can get TypeScript at the VS Code terminal with npm install -g typescript depending on your OS, you might need to use sudo

Install the Yeoman Extension Generator

The Yeoman (yo) extension generator creates the framework needed for an Azure Data Studio extension, theme, or keymap. Install the extension generator from the VS Code terminal with npm by running npm install -g yo generator-azuredatastudio depending on your OS, you might need to use sudo Install Yo

Azure Data Studio

If you don't already have Azure Data Studio, it has a wide range of functionality for SQL Server, Azure DB, and Azure SQL Data Warehouse and is worthy of your consideration. Azure Data Studio is an additive tool and does not replace SQL Server Management Studio. As VS Code is to Visual Studio, Azure Data Studio is to SQL Server Management Studio.

The code of Azure Data Studio is open source, maintained by Microsoft, and available here: https://docs.microsoft.com/en-us/sql/azure-data-studio/download

vsce

The VS Code extension manager, vsce, is used for packaging/publishing extensions for VS Code and Azure Data studio. It can be installed from the VS Code terminal by running npm install -g vsce depending on your OS, you might need to use sudo

Ready to Move on to 1-Yo?

Prereqs Prereqs Prereqs Prereqs Prereqs Prereqs Prereqs