VladRassokhin/intellij-hcl

View External Documentation action appends spurious `.html` to href.

nl-brett-stime opened this issue · 2 comments

Hashicorp may have changed the structure of their documentation site out from under this plugin. It is no longer desired to append .html to the end of the documentation href.

Installation details

  • [x ] intellij-hcl plugin version (Settings->Plugins)
    v0.7.15

Terraform Configuration Files

resource "aws_s3_bucket" "foo" {
  
}

Expected Behavior

A new web browser window is launched and opens the following URL:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket

Actual Behavior

A new web browser window is launched and opens the following URL:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket.html

Steps to Reproduce

  1. Place cursor in a logical resource name. E.g., the word "foo" of the example configuration above.
  2. Type shift + f1 or choose External Documentation from under the View menu.
M1kep commented

I believe this has been fixed in the latest release which is currently available via EAP 2022.2.