Vscode-terraform: LSP - Codelens and Intellisense?

Created on 15 Jan 2020  ยท  3Comments  ยท  Source: hashicorp/vscode-terraform

The only meaningful output I get from the language server is #268

Is there something I'm doing wrong to not get Intellisense and Codelens support?

My config:

{
  "terraform.codelens.enabled": true,
  "terraform.format": {
    "enabled": true,
    "formatOnSave": true,
    "ignoreExtensionsOnSave": [
      ".tfsmurf"
    ]
  },
  "terraform.indexing": {
    "enabled": false,
    "liveIndexing": false,
  },
  "terraform.languageServer": {
    "enabled": true,
    "installCommonProviders": true,
    "pathToBinary": "/Users/redacted/.vscode/extensions/mauve.terraform-1.4.0/lspbin",
    "args": []
  },
  "terraform.lintPath": "/usr/local/bin/tflint",
  "terraform.path": "/usr/local/bin/terraform",
  "[terraform]": {
    "editor.formatOnSave": true
  }
}

Most helpful comment

Still open? Would have thought this wouldn't be a difficult fix?

All 3 comments

Still open? Would have thought this wouldn't be a difficult fix?

We just released v2.0.0-rc.1 of the extension. The main features include:

  • Added syntax support for 0.12
  • Added terraform-ls usage by default (currently on 0.3.0, which offers basic provider code completion)

You can find additional information and specifics in the release notes and CHANGELOG.

With this release we expect that many of the prior issues and PRs are no longer relevant or have been addressed, and are therefore being closed. If you feel the action taken on an issue or PR is in error, please comment as such and we can figure out the appropriate way to address it.

We plan to add the final 2.0.0 release to the marketplace soon, but are actively seeking your feedback now on the release candidates. You can download the .vsix from the releases page and manually install it in VS Code to try it out.

I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the context necessary to investigate further.

Was this page helpful?
0 / 5 - 0 ratings