shalupov / idea-cloudformation

AWS CloudFormation plugin for IntelliJ-based IDEs (IntelliJ IDEA, RubyMine, WebStorm, PhpStorm, PyCharm, AppCode, Android Studio, DataGrip, CLion)
https://teamcity.jetbrains.com/viewType.html?buildTypeId=IdeaAwsCloudFormation_Master_Build&guest=1
Apache License 2.0
136 stars 27 forks source link

Completion of first entry after Properties: not working with YAML templates #109

Open nimbusscale opened 7 years ago

nimbusscale commented 7 years ago

For some reason when creating a resource such as:

  AlbSG:
    Type: AWS::EC2::SecurityGroup
    Properties:
      GroupName: test
      GroupDescription: test

GroupName doesn't autocomplete.

If I reverse the two properties, GroupDescription doesn't auto complete, but GroupName does.

For whatever reason the first property is not being autocompleted. I can but a nonsense key/value pair as the first property and then everything after it works fine.

Simply putting an empty line after Properties, a key without a value or something that isn't a key/value pair doesn't doesn't seem to cause autocomplete to kick in. It seems like the plugin need to evaluate a key/value pair before it can do autocomplete for additional keys.

leflamm commented 6 years ago

Same problem here.