File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33import * as vscode from 'vscode' ;
44import * as proxy from './jediProxy' ;
5- import * as telemetryContracts from "../common/telemetryContracts" ;
65import { highlightCode } from './jediHelpers' ;
76import { EOL } from 'os' ;
87
@@ -16,8 +15,7 @@ export class PythonHoverProvider implements vscode.HoverProvider {
1615 let results = [ ] ;
1716 let capturedInfo : string [ ] = [ ] ;
1817 data . items . forEach ( item => {
19- let { description, signature } = item ;
20- const rawSignature = signature ;
18+ let { signature } = item ;
2119 switch ( item . kind ) {
2220 case vscode . SymbolKind . Constructor :
2321 case vscode . SymbolKind . Function :
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ function lookForInterpretersInVirtualEnvs(pathToCheck: string): Promise<PythonPa
119119 Promise . all < string [ ] > ( promises ) . then ( pathsWithInterpreters => {
120120 pathsWithInterpreters . forEach ( interpreters => {
121121 interpreters . map ( interpreter => {
122- let venvName = path . basename ( path . dirname ( path . dirname ( interpreter ) ) )
122+ let venvName = path . basename ( path . dirname ( path . dirname ( interpreter ) ) ) ;
123123 envsInterpreters . push ( {
124124 label : `${ venvName } - ${ path . basename ( interpreter ) } ` ,
125125 path : interpreter ,
You can’t perform that action at this time.
0 commit comments