Action aware syntax highlighting and snippets for AWS IAM Policies in the Atom IDE.
Features:
Id
, Version
and Statement
logs:<tab>
autocompletes to all cloudwatch logs actionsxray:<tab>
autocompletes to all xray logs actionsIpAddress<tab>
IpAddressIfExists<tab>
Generating Grammars
Because AWS Services and available actions change often, so too must our grammar. We autogenerate the grammar with the provided script
cd ./lib
bundle install
bundle exec generate-grammars.rb
Extracting The Service map
app.PolicyEditorConfig.serviceMap
Atom Grammar Development
apm link $SYNTAX_FOLDER
-- install a syntax repo into atomPublishing Atom Package
apm publish patch|minor|major
Resources:
Thanks: