Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vscode setting to simplify local vscode develop #484

Merged
merged 2 commits into from
Aug 21, 2024
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
8 changes: 8 additions & 0 deletions .env_template
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# rename this file to .env

APPBUILDER_TOKEN=your-token
APPBUILDER_TOKEN_V2=your-token
BAIDU_VDB_API_KEY=your-token
INSTANCE_ID=your-token
DATASET_ID=your-token
APPBUILDER_TOKEN_DOC_FORMAT=your-token
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
}
]
}
18 changes: 18 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"python.testing.unittestArgs": [
"-v",
"-s",
"./appbuilder",
"-p",
"test*.py"
],
"python.testing.unittestEnabled": true,
"python.envFile": "${workspaceFolder}/.env",
"go.testFlags": [
"-v"
],
"go.testEnvFile": "${workspaceFolder}/.env",
"go.toolsEnvVars": {
"GOPATH": "${workspaceFolder}/go",
}
}
Loading