Browse Source

VSCode settings improvements in analytics (#645)

pull/1/head
Coin de Gamma 5 years ago committed by rozetko
parent
commit
eb5f5362ee
  1. 1
      analytics/.vscode/.env
  2. 56
      analytics/.vscode/launch.json
  3. 29
      analytics/.vscode/settings.json

1
analytics/.vscode/.env vendored

@ -0,0 +1 @@
PYTHONPATH=analytics

56
analytics/.vscode/launch.json vendored

@ -1,32 +1,32 @@
{ {
// Use IntelliSense to learn about possible attributes. // Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes. // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{
"name": "Attach (Remote Debug)",
"type": "python",
"request": "attach",
"port": 5679,
"host": "localhost",
"pathMappings": [
{ {
"name": "Attach (Remote Debug)", "localRoot": "${workspaceFolder}",
"type": "python", "remoteRoot": "/var/www/analytics"
"request": "attach",
"port": 5679,
"host": "localhost",
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "/var/www/analytics"
}
]
},
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"windows": {
"program": "${workspaceFolder}\\bin\\server"
},
"linux": {
"program": "${workspaceFolder}/bin/server"
}
} }
] ]
},
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"windows": {
"program": "${workspaceFolder}\\bin\\server"
},
"linux": {
"program": "${workspaceFolder}/bin/server"
}
}
]
} }

29
analytics/.vscode/settings.json vendored

@ -1,18 +1,21 @@
{ {
"python.pythonPath": "python",
"python.linting.enabled": true,
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"editor.tabSize": 4,
"editor.insertSpaces": true, "editor.insertSpaces": true,
"files.eol": "\n", "files.eol": "\n",
"files.exclude": { "files.exclude": {
"**/__pycache__/": true "**/__pycache__/": true,
}, "dist": true,
"python.unitTest.unittestArgs": [ "build": true
"-v" },
], "[python]": {
"python.unitTest.pyTestEnabled": false, "editor.tabSize": 4,
"python.unitTest.nosetestsEnabled": false, },
"python.unitTest.unittestEnabled": true, "python.envFile": "${workspaceFolder}/.vscode/.env",
"python.linting.pylintEnabled": true "python.pythonPath": "python",
"python.linting.enabled": true,
"python.testing.unittestArgs": [ "-v" ],
"python.testing.pyTestEnabled": false,
"python.testing.nosetestsEnabled": false,
"python.testing.unittestEnabled": true,
"python.linting.pylintEnabled": true,
} }

Loading…
Cancel
Save