Skip to content

New Project: Options to create projects for disabled langauges #7414

Closed
@jmcphers

Description

@jmcphers

System details:

Positron and OS details:

Positron Version: 2025.05.0 (Universal) build 103
Code - OSS Version: 1.99.0
Commit: 6ea5bf42fff8529b04a6b1b9e8b0c2a7d622d54c
Date: 2025-04-28T03:31:43.866Z
Electron: 34.3.2
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.4.0

Interpreter details:

N/A

Describe the issue:

Disabling startup for a language doesn't disable the language in the New Project dialog.

Steps to reproduce the issue:

Set the startup behavior for e.g. Python to Disabled:

    "[python]": {
        "interpreters.startupBehavior": "disabled"
    }

Then, in a new session run the New Project command.

Image

Python is shown as the first option, but you can't use it -- if you try to create a new Python project, it'll tell you that no interpreters were found.

Image

Expected or desired behavior:

We expect that disabling languages is more likely to be done by an admin than a user, so users probably won't understand why there are "no environment providers".

We should hide the New Project entries for any languages that are fully disabled.

Metadata

Metadata

Assignees

Labels

area: project wizardIssues related to New Project Wizard category.area: workbenchIssues related to Workbench category.

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions