Open nathanlcarlson opened 1 year ago
I put a local change in to bypass the problem. I doubt it is the correct solution, but it solves my issue:
$ vi {homedir}/.vscode/extensions/puppet.puppet-vscode-1.4.0/vendor/languageserver/lib/puppet-languageserver-sidecar/puppet_strings_helper.rb:143
...
# Extract the class parameters
unless item[:docstring][:tags].nil?
item[:docstring][:tags].select { |tag| tag[:tag_name] == 'param' }.each do |tag|
next if tag[:types].nil? # My addition, Skip nil
param_name = tag[:name]
obj.parameters[param_name] = {
:doc => tag[:text],
:type => tag[:types].join(', ')
}
end
end
...
What Versions are you running?
OS Version: Mac OS 12.5.1 (21G83) VSCode Version: 1.71.2 Puppet Extension Version: v1.4.0 PDK Version: 2.5.0
What You Are Seeing?
No Intellisense is working in my control repository.
What is Expected?
I'd like to have intellisense features working.
How Did You Get This To Happen? (Steps to Reproduce)
Attempt to use the VSCode PDK extension in my organization's puppet control repo.
Output Log
Found this in the logs (removed directory names):
Edit: I also see many of these types of ERRORs: