DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
  1. DZone
  2. Coding
  3. Tools
  4. ARM Snippets for VS Code

ARM Snippets for VS Code

Check out this repo for cross-platform tooling samples that you can use for Azure. Browse around, make your own, then commit them back to the community!

Sam Cogan user avatar by
Sam Cogan
CORE ·
Mar. 24, 17 · Tutorial
Like (3)
Save
Tweet
Share
4.24K Views

Join the DZone community and get the full member experience.

Join For Free

in my previous post on using vs code for authoring arm templates, i recommended using arm snippets from the plugin gallery. however, since then, i have come to realize this plugin is fairly limited in th arm snippets for vs code e number of snippets — and difficult to extend. given this, i would now recommend utilizing the set of snippets provided by azure cross-platform tooling samples .

these snippets don't have a nice vs code gallery plugin to install them, but they are much more extensive and, most importantly, it is easy to add your own and also commit these back to the repository to share with the community.

installing snippets

as there isn't a nice gallery installer, you do need to install these manually. still, it's a pretty straightforward process:

  1. browse to the snippets file on github .
  2. copy the contents of the file to your clipboard.
  3. launch visual studio code.
  4. navigate to file > preferences > user snippets > json.
    append (paste) the contents of the github file into your user snippets file before the final "}".
  5. save and close the user snippets file.

once you have the snippets installed, open up or create a .json file and type "arm". vs code should then present you with an auto-complete menu with all the snippets listed.

select the snippet you want and it will appear in your editor. edit the fields that require it and your good to go.

if you do end up adding your own snippets to this, don't forget to commit them back to share with the rest of us!


Snippet (programming) Visual Studio Code Virtual screening Arm (geography)

Published at DZone with permission of Sam Cogan, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Multi-Tenant Architecture for a SaaS Application on AWS
  • Introduction to Container Orchestration
  • Low-Code Development: The Future of Software Development
  • How To Set Up and Run Cypress Test Cases in CI/CD TeamCity

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: