Skip to content

unwanted notifications from terraform extension when editing non-terraform file or project #2117

@g-thomasr

Description

@g-thomasr

Extension Version

v2.36.2

VS Code Version

Version: 1.104.0 (system setup)
Commit: f220831ea2d946c0dcb0f3eaa480eb435a2c1260
Date: 2025-09-10T06:46:18.035Z
Electron: 37.3.1
ElectronBuildId: 12342881
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Windows_NT x64 10.0.19045

Operating System

Windows 10 Pro 22H2 19045.6332

Terraform Version

Terraform v1.9.5 on windows_amd64

Steps to Reproduce

  1. open a new vscode window
  2. open any text file
  3. observe unwanted notifications
Image

Expected Behavior

if, and only if, the extension determines with reasonable confidence that the current workspace is a terraform project, should this extension notify the user.

Actual Behavior

the extension constantly complains that i'm not currently working on a terraform project.

Terraform Configuration

N/A

Project Structure

/a.txt

Gist

No response

Anything Else?

software that notifies me that i don't have docker running makes me want to yeet docker forever.

other than that, thanks for taking your time to look into the issue.

Workarounds

  • ignoreSingleFileWarning helps, but there isn't a way to suppress the "docker not running" notification.
  • hide all notifications from extension

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions