PTVS engine update + handling of the interpreter change#1613
PTVS engine update + handling of the interpreter change#1613MikhailArkhipov merged 71 commits intomicrosoft:masterfrom MikhailArkhipov:analysis
Conversation
[skip ci]
|
|
||
| if (downloadPackage) { | ||
| const downloader = new AnalysisEngineDownloader(this.services, analysisEngineFolder); | ||
| this.appShell.showWarningMessage('.NET Runtime is not found, platform-specific Python Analysis Engine will be downloaded.'); |
There was a problem hiding this comment.
Shouldn't this be an information message, instead of a warning?
| } | ||
|
|
||
| // tslint:disable-next-line:no-string-literal | ||
| properties['DatabasePath'] = path.join(context.extensionPath, analysisEngineFolder); |
There was a problem hiding this comment.
No need to change, but you can avoid the linter messages if you define properties as follows:
const properties: {[key: string]:string} = {};
| this.output.append(`Downloading ${uri}... `); | ||
| const tempFile = await createTemporaryFile(downloadFileExtension); | ||
|
|
||
| const deferred = createDeferred(); |
| }); | ||
| } | ||
|
|
||
| public copyFileAsync(src: string, dest: string): Promise<void> { |
| return deferred.promise; | ||
| } | ||
|
|
||
| public deleteFileAsync(filename: string): Promise<void> { |
There was a problem hiding this comment.
Should we remove them all from IFileSystem? Currently we [sort of] follow node's 'fs' which has plain and Sync
| // tslint:disable-next-line:unified-signatures | ||
| appendFileSync(filename: string, data: {}, options?: { encoding?: string; mode?: string; flag?: string }): void; | ||
| getRealPathAsync(path: string): Promise<string>; | ||
| copyFileAsync(src: string, dest: string): Promise<void>; |
| @@ -0,0 +1 @@ | |||
| Multiple fixes to format on type No newline at end of file | |||
There was a problem hiding this comment.
I can't see any fixes for format on type or am I missing something.
Codecov Report
@@ Coverage Diff @@
## master #1613 +/- ##
==========================================
- Coverage 71.62% 71.25% -0.37%
==========================================
Files 277 273 -4
Lines 12816 12759 -57
Branches 2299 2293 -6
==========================================
- Hits 9179 9092 -87
- Misses 3502 3526 +24
- Partials 135 141 +6
Continue to review full report at Codecov.
|
(Multiroot WS issue is still open in #1149)
This pull request: