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.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
// 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": "Attach (Remote Debug)",
"type": "python",
"request": "attach",
"port": 5679,
"host": "localhost",
"pathMappings": [
{
"name": "Attach (Remote Debug)",
"type": "python",
"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"
}
"localRoot": "${workspaceFolder}",
"remoteRoot": "/var/www/analytics"
}
]
]
},
{
"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",
"editor.tabSize": 4,
"editor.insertSpaces": true,
"files.eol": "\n",
"files.exclude": {
"**/__pycache__/": true
},
"python.unitTest.unittestArgs": [
"-v"
],
"python.unitTest.pyTestEnabled": false,
"python.unitTest.nosetestsEnabled": false,
"python.unitTest.unittestEnabled": true,
"python.linting.pylintEnabled": true
"**/__pycache__/": true,
"dist": true,
"build": true
},
"[python]": {
"editor.tabSize": 4,
},
"python.envFile": "${workspaceFolder}/.vscode/.env",
"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