Code Monkey home page Code Monkey logo

atom-cform-yaml's Introduction

atom-cform-yaml package

A package based on atom-cform to help Atom users create YAML AWS CloudFormation templates.

The package snippets are now derived automatically from the published AWS CloudFormation Resource Specification. This enables the snippets to be more complete but perhaps a little less helpful. Any comments on how to improve usability now that the snippets are auto-generated are welcomed.

Demo

30 seconds or less...

Usage

  1. Create an empty *.yaml file and type stack-start - a skeleton YAML CloudFormation template will appear.
  2. Under each section begin typing the 'thing' you are trying to define, such as stack-parameter, metadata-interface, or ec2-instance. The package will populate the template for you.
  3. Tab through the different fields and fill in your values.
  4. Save the template and run it through the AWS CloudFormation console or deploy the template using the AWS CLI.
  5. Have fun and get building!

Help

Autocomplete doesn't work?

If autocomplete doesn't work for you it could be because of atom/autocomplete-snippets#55. autocomplete-snippets/pull/77 has been submitted to fix the issue but until it's released you may have to make the change yourself.

  1. Clone https://github.com/atom/autocomplete-snippets.git into a folder of your choosing.
  2. Change the files as documented in autocomplete-snippets/pull/77.
  3. cd into the autocomplete-snippets folder and run apm link .. This will create a link inside ~/.atom/packages to the folder in which you download autocomplete-snippets.
  4. Reload the Atom window.
  5. In Atom go to Preferences..., Packages, search for autocomplete-snippets. Click on Settings
  6. Remove .string from Disable Snippet Autocompletion Selector String.
  7. Reload the Atom window.

Uninstall fixed version of autocomplete-snippets

  1. Run apm unlink ~/.atom/packages/atom-cform-yaml
  2. Reload the Atom window

=======

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.