Open
Description
Server Version
v0.31.1
Terraform Version
Terraform v1.3.7
on darwin_arm64
Client Version
VS Code 1.75.1
HashiCorp Terraform extension v2.25.2
Terraform Configuration Files
submodule/main.tf
variable "test" {
type = string
}
main.tf
module "test" {
source = ""
}
Log Output
Expected Behavior
Single completion candidate pointing to ./submodule
Actual Behavior
Two completion candidates with "duplicate" part of the path (i.e. LS not realising there's symlink in the path)
Steps to Reproduce
mkdir tf-original
ln -s tf-original tf-symlinked
- Create the two files in the hierarchy as shown above inside
tf-symlinked
code tf-symlinked
code tf-original/main.tf
- Trigger completion for module
source
- Observe completion candidates