GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — #1228 multi root master (#2) · iceesj/pythonVSCode@2bc6b2e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .editorconfig
  • .gitignore
  • .jshintignore
  • .jshintrc
  • .travis.yml
  • .vscode
    • launch.json
    • settings.json
    • tasks.json
  • gulpfile.js
  • package.json
  • pythonFiles
    • PythonTools
      • ipythonServer.py
    • completionServer.py
  • src
    • client
      • common
        • configSettings.ts
        • constants.ts
        • contextKey.ts
        • editor.ts
        • installer.ts
        • interpreterInfoCache.ts
        • logger.ts
        • systemVariables.ts
        • utils.ts
      • debugger/configProviders
        • simpleProvider.ts
      • extension.ts
      • formatters
        • autoPep8Formatter.ts
        • baseFormatter.ts
        • dummyFormatter.ts
        • yapfFormatter.ts
      • interpreter
        • configuration
          • pythonPathUpdaterService.ts
          • pythonPathUpdaterServiceFactory.ts
          • services
            • globalUpdaterService.ts
            • workspaceFolderUpdaterService.ts
            • workspaceUpdaterService.ts
          • setInterpreterProvider.ts
          • types.ts
        • contracts.ts
        • display
          • index.ts
          • shebangCodeLensProvider.ts
        • helpers.ts
        • index.ts
        • locators
          • index.ts
          • services
            • KnownPathsService.ts
            • condaEnvFileService.ts
            • condaEnvService.ts
            • currentPathService.ts
            • virtualEnvService.ts
            • windowsRegistryService.ts
      • jedi
        • main.ts
        • parsers
          • CompletionParser.ts
      • jupyter/jupyter_client
        • main.ts
      • languageServices
        • jediProxyFactory.ts
      • linters
        • baseLinter.ts
        • errorHandlers
          • invalidArgs.ts
          • main.ts
          • notInstalled.ts
          • standard.ts
        • flake8.ts
        • main.ts
        • mypy.ts
        • pep8Linter.ts
        • prospector.ts
        • pydocstyle.ts
        • pylama.ts
        • pylint.ts
      • providers
        • completionProvider.ts
        • definitionProvider.ts
        • execInTerminalProvider.ts
        • formatOnSaveProvider.ts
        • formatProvider.ts
        • hoverProvider.ts
        • importSortProvider.ts
        • jediProxy.ts
        • lintProvider.ts
        • objectDefinitionProvider.ts
        • referenceProvider.ts
        • renameProvider.ts
        • replProvider.ts
        • setInterpreterProvider.ts
        • signatureProvider.ts
        • simpleRefactorProvider.ts
        • symbolProvider.ts
      • refactor
        • proxy.ts
      • sortImports.ts
      • unittests
        • codeLenses
          • main.ts
          • testFiles.ts
        • common
          • baseTestManager.ts
          • configSettingService.ts
          • constants.ts
          • contracts.ts
          • debugLauncher.ts
          • runner.ts
          • storageService.ts
          • testConfigurationManager.ts
          • testManagerService.ts
          • testManagerServiceFactory.ts
          • testResultsService.ts
          • testUtils.ts
          • testVisitors
            • flatteningVisitor.ts
            • folderGenerationVisitor.ts
            • resultResetVisitor.ts
          • types.ts
          • workspaceTestManagerService.ts
          • xUnitParser.ts
        • configuration.ts
        • display
          • main.ts
          • picker.ts
        • main.ts
        • nosetest
          • collector.ts
          • main.ts
          • runner.ts
          • testConfigurationManager.ts
        • pytest
          • collector.ts
          • main.ts
          • runner.ts
          • testConfigurationManager.ts
        • unittest
          • collector.ts
          • main.ts
          • runner.ts
          • socketServer.ts
          • testConfigurationManager.ts
      • workspaceSymbols
        • generator.ts
        • main.ts
        • parser.ts
        • provider.ts
    • testMultiRootWkspc
      • disableLinters
        • .vscode
          • tags
        • file.py
      • multi.code-workspace
      • parent/child
        • .vscode
          • settings.json
          • tags
        • childFile.py
        • file.py
      • workspace1
        • .vscode
          • settings.json
          • tags
        • file.py
      • workspace2
        • .vscode
          • settings.json
        • file.py
        • workspace2.tags.file
        • workspace2File.py
      • workspace3
        • .vscode
          • settings.json
        • file.py
        • workspace3.tags.file
    • test
      • .vscode
        • settings.json
        • tags
      • autocomplete
        • base.test.ts
        • pep484.test.ts
        • pep526.test.ts
      • common.ts
      • common
        • common.test.ts
        • configSettings.multiroot.test.ts
        • configSettings.test.ts
        • installer.test.ts
      • definitions
        • hover.test.ts
      • format
        • extension.format.test.ts
        • extension.onTypeFormat.test.ts
        • extension.sort.test.ts
      • index.ts
      • initialize.ts
      • interpreters
        • condaEnvFileService.test.ts
        • condaEnvService.test.ts
        • display.multiroot.test.ts
        • display.test.ts
        • mocks.ts
        • pythonPathUpdater.multiroot.test.ts
        • pythonPathUpdater.test.ts
        • windowsRegistryService.test.ts
      • jupyter
        • jupyter.codeHelper.test.ts
        • jupyterClient.test.ts
        • jupyterKernel.test.ts
        • jupyterKernelManager.test.ts
      • linters
        • base.test.ts
        • lint.multiroot.test.ts
        • lint.test.ts
      • multiRootTest.ts
      • multiRootWkspc
        • disableLinters
          • .vscode
            • tags
          • file.py
        • multi.code-workspace
        • parent/child
          • .vscode
            • settings.json
            • tags
          • childFile.py
          • file.py
        • workspace1
          • .vscode
            • settings.json
            • tags
          • file.py
        • workspace2
          • .vscode
            • settings.json
          • file.py
          • workspace2.tags.file
          • workspace2File.py
        • workspace3
          • .vscode
            • settings.json
          • file.py
          • workspace3.tags.file
      • providers
        • shebangCodeLenseProvider.test.ts
      • pythonFiles
        • linting
          • file.py
        • symbolFiles
          • childFile.py
          • file.py
          • workspace2File.py
        • testFiles
          • debuggerTest/tests
            • test_debugger_one.py
            • test_debugger_two.py
            • test_debugger_two.txt
            • test_debugger_two.updated.txt
          • noseFiles
            • specific
              • tst_unittest_one.py
              • tst_unittest_two.py
            • test_root.py
            • tests
              • test4.py
              • test_unittest_one.py
              • test_unittest_two.py
              • unittest_three_test.py
          • standard/.cache/v/cache
            • lastfailed
      • refactor
        • extension.refactor.extract.method.test.ts
        • extension.refactor.extract.var.test.ts
      • standardTest.ts
      • unittests
        • debugger.test.ts
        • mocks.ts
        • nosetest.test.ts
        • pytest.test.ts
        • rediscover.test.ts
        • unittest.test.ts
      • workspaceSymbols
        • common.ts
        • multiroot.test.ts
        • standard.test.ts
  • tsfmt.json
  • tslint.json
  • typings.json
  • typings
    • globals/xml2js
      • index.d.ts
      • typings.json
    • index.d.ts
    • node.d.ts
    • vscode-typings.d.ts

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.editorconfig‎

Copy file name to clipboardExpand all lines: .editorconfig
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ root = true
88
indent_style = space
99
indent_size = 4
1010
trim_trailing_whitespace = true
11+
insert_final_newline = true
1112

1213
# The indent size used in the `package.json` file cannot be changed
1314
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
Collapse file

‎.gitignore‎

Copy file name to clipboardExpand all lines: .gitignore
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
out
33
node_modules
44
*.pyc
5-
.vscode/.ropeproject/**
6-
src/test/.vscode/**
5+
**/.vscode/.ropeproject/**
76
**/testFiles/**/.cache/**
87
*.noseids
8+
.vscode-test
9+
__pycache__
10+
npm-debug.log
11+
**/.mypy_cache/**
Collapse file

‎.jshintignore‎

Copy file name to clipboardExpand all lines: .jshintignore
-1Lines changed: 0 additions & 1 deletion
This file was deleted.
Collapse file

‎.jshintrc‎

Copy file name to clipboardExpand all lines: .jshintrc
-10Lines changed: 0 additions & 10 deletions
This file was deleted.
Collapse file

‎.travis.yml‎

Copy file name to clipboardExpand all lines: .travis.yml
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ before_install: |
4848
pyenv install $PYTHON
4949
pyenv global $PYTHON
5050
fi
51+
export TRAVIS_PYTHON_PATH=`which python`
5152
install:
5253
- pip install --upgrade -r requirements.txt
5354
- npm install
Collapse file

‎.vscode/launch.json‎

Copy file name to clipboard
+29-40Lines changed: 29 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,7 @@
11
// A launch configuration that compiles the extension and then opens it inside a new window
22
{
33
"version": "0.1.0",
4-
"configurations": [{
5-
"name": "CompletionServer.ppy",
6-
"type": "python",
7-
"request": "launch",
8-
"stopOnEntry": true,
9-
"pythonPath": "python",
10-
"program": "${workspaceRoot}/pythonFiles/completionServer.py",
11-
"cwd": "${workspaceRoot}",
12-
"env": {},
13-
"args": [
14-
"123"
15-
],
16-
"envFile": "${workspaceRoot}/.env",
17-
"debugOptions": [
18-
"WaitOnAbnormalExit",
19-
"WaitOnNormalExit",
20-
"RedirectOutput"
21-
]
22-
},
4+
"configurations": [
235
{
246
"name": "Launch Extension",
257
"type": "extensionHost",
@@ -30,7 +12,9 @@
3012
],
3113
"stopOnEntry": false,
3214
"sourceMaps": true,
33-
"outDir": "${workspaceRoot}/out",
15+
"outFiles": [
16+
"${workspaceRoot}/out/**/*.js"
17+
],
3418
"preLaunchTask": "compile"
3519
},
3620
{
@@ -43,7 +27,9 @@
4327
"--server=4711"
4428
],
4529
"sourceMaps": true,
46-
"outDir": "${workspaceRoot}/out/client",
30+
"outFiles": [
31+
"${workspaceRoot}/out/client/**/*.js"
32+
],
4733
"cwd": "${workspaceRoot}"
4834
},
4935
{
@@ -58,33 +44,36 @@
5844
],
5945
"stopOnEntry": false,
6046
"sourceMaps": true,
61-
"xxoutDir": "${workspaceRoot}/out/test",
6247
"outFiles": [
6348
"${workspaceRoot}/out/**/*.js"
6449
],
6550
"preLaunchTask": "compile"
6651
},
6752
{
68-
"name": "Python",
69-
"type": "python",
53+
"name": "Launch Multiroot Tests",
54+
"type": "extensionHost",
7055
"request": "launch",
71-
"stopOnEntry": true,
72-
"pythonPath": "python",
73-
"program": "${file}",
74-
"console": "integratedTerminal",
75-
"args": [],
76-
"debugOptions": [
77-
"WaitOnAbnormalExit",
78-
"WaitOnNormalExit",
79-
"RedirectOutput"
56+
"runtimeExecutable": "${execPath}",
57+
"args": [
58+
"${workspaceRoot}/src/testMultiRootWkspc/multi.code-workspace",
59+
"--extensionDevelopmentPath=${workspaceRoot}",
60+
"--extensionTestsPath=${workspaceRoot}/out/test"
8061
],
81-
"cwd": "${workspaceRoot}"
62+
"stopOnEntry": false,
63+
"sourceMaps": true,
64+
"outFiles": [
65+
"${workspaceRoot}/out/**/*.js"
66+
],
67+
"preLaunchTask": "compile"
8268
}
8369
],
84-
"compounds": [{
85-
"name": "Extension + Debugger",
86-
"configurations": [
87-
"Launch Extension", "Launch Extension as debugServer"
88-
]
89-
}]
70+
"compounds": [
71+
{
72+
"name": "Extension + Debugger",
73+
"configurations": [
74+
"Launch Extension",
75+
"Launch Extension as debugServer"
76+
]
77+
}
78+
]
9079
}
Collapse file

‎.vscode/settings.json‎

Copy file name to clipboardExpand all lines: .vscode/settings.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"out": true, // set this to true to hide the "out" folder with the compiled JS files
55
"**/*.pyc": true,
66
"**/__pycache__": true,
7-
"node_modules": true
7+
"node_modules": true,
8+
".vscode-test": true,
9+
"**/.mypy_cache/**": true,
10+
"**/.ropeproject/**": true
811
},
912
"search.exclude": {
1013
"out": true // set this to false to include "out" folder in search results
Collapse file

‎.vscode/tasks.json‎

Copy file name to clipboardExpand all lines: .vscode/tasks.json
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,18 @@
5353
"fileLocation": "relative"
5454
}
5555
]
56+
},
57+
{
58+
"label": "lint-staged",
59+
"type": "npm",
60+
"script": "lint-staged",
61+
"problemMatcher": [
62+
"$tsc",
63+
{
64+
"base": "$tslint5",
65+
"fileLocation": "relative"
66+
}
67+
]
5668
}
5769
]
5870
}
Collapse file

‎gulpfile.js‎

Copy file name to clipboardExpand all lines: gulpfile.js
+9-8Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function reportFailures(failures) {
8080
const line = position.lineAndCharacter ? position.lineAndCharacter.line : position.line;
8181
const character = position.lineAndCharacter ? position.lineAndCharacter.character : position.character;
8282

83-
// Output in format similar to tslint for the linter to pickup
83+
// Output in format similar to tslint for the linter to pickup.
8484
console.error(`ERROR: (${failure.ruleName}) ${relative(__dirname, name)}[${line + 1}, ${character + 1}]: ${failure.failure}`);
8585
});
8686
}
@@ -103,9 +103,9 @@ const hygiene = exports.hygiene = (some, options) => {
103103
.split(/\r\n|\r|\n/)
104104
.forEach((line, i) => {
105105
if (/^\s*$/.test(line)) {
106-
// empty or whitespace lines are OK
106+
// Empty or whitespace lines are OK.
107107
} else if (/^(\s\s\s\s)+.*/.test(line)) {
108-
// good indent
108+
// Good indent.
109109
} else if (/^[\t]+.*/.test(line)) {
110110
console.error(file.relative + '(' + (i + 1) + ',1): Bad whitespace indentation');
111111
errorCount++;
@@ -118,9 +118,10 @@ const hygiene = exports.hygiene = (some, options) => {
118118
const formatting = es.map(function (file, cb) {
119119
tsfmt.processString(file.path, file.contents.toString('utf8'), {
120120
verify: true,
121-
tsfmt: true,
122-
editorconfig: true
123-
// verbose: true
121+
tsconfig: true,
122+
tslint: true,
123+
editorconfig: true,
124+
tsfmt: true
124125
}).then(result => {
125126
if (result.error) {
126127
console.error(result.message);
@@ -176,7 +177,7 @@ const hygiene = exports.hygiene = (some, options) => {
176177
console.error(error.message);
177178
},
178179
finish: function () {
179-
// forget the summary
180+
// forget the summary.
180181
}
181182
};
182183
}
@@ -213,7 +214,7 @@ const hygiene = exports.hygiene = (some, options) => {
213214

214215
gulp.task('hygiene', () => hygiene());
215216

216-
// this allows us to run hygiene as a git pre-commit hook
217+
// this allows us to run hygiene as a git pre-commit hook.
217218
if (require.main === module) {
218219
const cp = require('child_process');
219220

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.