Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion tooling/vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,15 @@
"vscode/react/dist": true
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off"
"typescript.tsc.autoDetect": "off",
// Playwright configuration
// Python configuration to ensure consistent environment
"python.defaultInterpreterPath": "${env:VIRTUAL_ENV}/bin/python",
"python.terminal.activateEnvironment": true,
"terminal.integrated.env.osx": {
Comment thread
benfdking marked this conversation as resolved.
"PATH": "${env:VIRTUAL_ENV}/bin:${env:PATH}"
},
"terminal.integrated.env.linux": {
"PATH": "${env:VIRTUAL_ENV}/bin:${env:PATH}"
}
}
2 changes: 1 addition & 1 deletion vscode/extension/tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { _electron as electron, Page } from '@playwright/test'

// Absolute path to the VS Code executable you downloaded in step 1.
export const VS_CODE_EXE = fs.readJsonSync(
'.vscode-test/paths.json',
path.join(__dirname, '..', '.vscode-test', 'paths.json'),
Comment thread
benfdking marked this conversation as resolved.
).executablePath
// Where your extension lives on disk
export const EXT_PATH = path.resolve(__dirname, '..')
Expand Down