VladRassokhin / intellij-hcl

HCL language support for IntelliJ platform based IDEs
Apache License 2.0
244 stars 47 forks source link

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

Open nl-brett-stime opened 2 years ago

nl-brett-stime commented 2 years ago

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

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.
nl-brett-stime commented 2 years ago

Also here: https://github.com/VladRassokhin/intellij-hcl/issues/113#issuecomment-1030945049

M1kep commented 2 years ago

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