DZone
Cloud Zone
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
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Cloud Zone > 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 · Cloud Zone · Tutorial
Like (3)
Save
Tweet
4.09K 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

  • Is DataOps the Future of the Modern Data Stack?
  • No Code Expectations vs Reality
  • 3 Best Tools to Implement Kubernetes Observability
  • Reactive Kafka With Streaming in Spring Boot

Comments

Cloud Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • 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:

DZone.com is powered by 

AnswerHub logo