puppet-editor-services
puppet-editor-services copied to clipboard
Support the `Deferred` syntax in Puppet 6
Does PES support intellisense on the Deferred keyword;
https://puppet.com/docs/puppet/6.0/write_a_puppet_function_to_store_secrets.html
Appears we do not.
E, [2019-01-23T20:15:41.338863 #11780] ERROR -- : (textDocument/hover) Unable to generate Hover information for object of type Puppet::Pops::Model::QualifiedReference
D, [2019-01-23T20:15:41.339341 #11780] DEBUG -- : --- OUTBOUND
Best example of text I could find
https://puppet.com/docs/puppet/6.0/integrating_secrets_and_retrieving_agent-side_data.html
https://github.com/puppetlabs/puppet/pull/6951/commits/cd5c15cffcba90a0cf76eb61b3fec2016bf498a7
And same with Sensitive
What about;
file { 'title':
ensure => Sensitive(<crtl-space here>)
}
Pending 1.0 work. Needs the infrastructure from 1.0 before we can start to address this