Describe the Bug
In the normal vs code if i select the python version or venv it also updates the terminal and places venv at the beginning venvstefan@Stefans-MacBook-Pro cursor_test % but in cursor this is not the case.
Steps to Reproduce
Install python extension.
Run in terminal: python3 -m venv venv
Click: Ctrl + Shift + P
Write: Python: Select Interpreter
Select the python with ‘venv’.
Restart the terminal.
Nothing happens, terminal uses still default python version and not venv version.
Expected Behavior
The terminal should automatically use the venv version of python and it should be prefixed with venv like here for example: venvstefan@Stefans-MacBook-Pro cursor_test %
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 0.44.9
VSCode Version: 1.93.1
Commit: 316e524257c2ea23b755332b0a72c50cf23e1b00
Date: 2024-12-26T21:58:59.149Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.2.0
Additional Information
I even tried adding “python.terminal.activateEnvironment”: true, in settings.json but didn’t work.
{
"files.autoSave": "afterDelay",
"editor.inlineSuggest.enabled": true,
"explorer.confirmDelete": false,
"github.copilot.enable": {
"*": true,
"plaintext": true,
"markdown": true,
"scminput": false,
"yaml": true,
"typescript": true
},
"explorer.confirmDragAndDrop": false,
"[python]": {
"editor.formatOnType": true,
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true
},
"typescript.preferences.importModuleSpecifier": "relative",
"files.dialog.defaultPath": "/Users/stefan/Documents/GitHub",
"git.autofetch": true,
"files.insertFinalNewline": true,
"mule.controlPlane": "US Cloud",
"files.exclude": {
"**/.apivcs": true,
"**/.designer.json": true,
"**/.exchange_modules_tmp": true,
"**/.exchange.xml": true,
"**/.git": true,
"**/.mvn": true,
"**/.vscode": true
},
"mule.runtime.muleRuntimesDirectory": "/Users/stefan/muleRuntimes",
"mule.runtime.muleHome": "/Users/stefan/muleRuntimes/mule-enterprise-standalone-4.4.0-20230724/",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"explorer.confirmPasteNative": false,
"dart.flutterSdkPath": "/Users/stefan/development/flutter",
"dart.debugExternalPackageLibraries": true,
"dart.debugSdkLibraries": false,
"[java]": {
"editor.defaultFormatter": "redhat.java"
},
"java.saveActions.organizeImports": true,
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [80],
"editor.selectionHighlight": false,
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": "off"
},
"js/ts.implicitProjectConfig.strictNullChecks": false,
"java.compile.nullAnalysis.mode": "disabled",
"java.compile.nullAnalysis.nonnullbydefault": [
"javax.annotation.ParametersAreNonnullByDefault",
"org.eclipse.jdt.annotation.NonNullByDefault",
"org.springframework.lang.NonNullApi"
],
"liveServer.settings.port": 80,
"typescript.updateImportsOnFileMove.enabled": "always",
"python.terminal.activateEnvironment": true,
}
Does this stop you from using Cursor
No - Cursor works, but with this issue