Skip to content

Trigger workspace trust prompt when running commands in an untrusted workspace #20153

Open
@luabud

Description

These are the commands that we think should invoke the "trust this workspace" prompt:

  • Run and debug python file from the top-right icon/play button
  • Python: Select Interpreter
  • Python: Run Linting
  • Python: Create Environment *currently creates but does not select
  • Python: Report Issue*
  • Python: Enable/Disable Linting
  • Python: Sort Imports
  • Python: Configure Tests
  • Python: Create Terminal
  • Python: Debug Python File (should be covered by the icon)
  • Python: Launch Tensorboard
  • Python: Start REPL
  • Python: Run Selection/Line in Python Terminal
  • Python: Select Linter
  • Refresh in Test Explorer (issue needed from VS Code side)

Commands to hide in untrusted:

  • Python Run Selection/Line in Django Shell
  • Python: Clear Cache and Reload Window
  • Python Clear Workspace and Interpreter Setting
  • Python: Enable Source Map Support for Extension Debugging
  • Show all automatic debug configurations --> Python (we are not offering anything in untrusted mode)

Commands that should work under untrusted mode:

  • Python: Show Output

Activity

added
debtCovers everything internal: CI, testing, refactoring of the codebase, etc.
on Nov 3, 2022
added
needs spikeLabel for issues that need investigation before they can be worked on.
and removed
triage-neededNeeds assignment to the proper sub-team
on Nov 3, 2022
added
needs PRReady to be worked on
and removed
needs spikeLabel for issues that need investigation before they can be worked on.
on Dec 6, 2023
changed the title Spike - which commands should trigger the "trust this workspace" prompt and which should be hidden when untrusted mode Trigger workspace trust prompt when running commands in an untrusted workspaces on Dec 6, 2023
changed the title Trigger workspace trust prompt when running commands in an untrusted workspaces Trigger workspace trust prompt when running commands in an untrusted workspace on Dec 6, 2023

3 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area-editor-*User-facing catch-alldebtCovers everything internal: CI, testing, refactoring of the codebase, etc.needs PRReady to be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Trigger workspace trust prompt when running commands in an untrusted workspace · Issue #20153 · microsoft/vscode-python