You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource "aws_iam_policy" "custom_policy" {
#^ Place your cursor at the beginning of the resource line
count = 0
}
Use the >Expand Selection or the shortcut CTRL+SHIFT+RIGHT
Expected Behavior
Actual Behavior
Terraform Configuration
No response
Project Structure
No response
Gist
No response
Anything Else?
No response
Workarounds
No response
References
No response
Help Wanted
I'm interested in contributing a fix myself
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
Hey @shellwhale, we don't currently advertise support of selection expansion in terraform-ls, so we don't currently provide this feature.
We can add this to the list of thing to support. Can you go into further detail about the use cases where expanding the selection will help? For example, in wanting to copy an entire block to past soemwhere else?
Hello @jpogran, yes, copying or moving a block is the main reason. But that's not all, it would be easier for code actions (ctrl+;), quick fixes, and the most recent modify using copilot.
Extension Version
v2.29.1
VS Code Version
Version: 1.85.1 (user setup)
Commit: Oee08dfOcf4527e40edc9aa28f4b5bd38bbff2b2
Date: (1 mo ago)
Electron: 25.9.7
ElectronBuildld: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
11.4.18329-electron.o
09 Windows_NT x6410M 9045
Operating System
Windows 10
Terraform Version
1.6.6
Steps to Reproduce
Go to a resource definition, example =
Use the
>Expand Selection
or the shortcutCTRL+SHIFT+RIGHT
Expected Behavior
Actual Behavior
Terraform Configuration
No response
Project Structure
No response
Gist
No response
Anything Else?
No response
Workarounds
No response
References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: