Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec1f498

Browse files
committed
clean up
1 parent 26dd31f commit ec1f498

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/client/providers/codeActionProvider.ts

-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
import * as vscode from 'vscode';
44
import {TextDocument, Range, CodeActionContext, CancellationToken, Command} from 'vscode';
5-
import * as proxy from './jediProxy';
6-
import * as telemetryContracts from '../common/telemetryContracts';
75

86
export class PythonCodeActionsProvider implements vscode.CodeActionProvider {
97
public constructor(context: vscode.ExtensionContext) {
@@ -21,7 +19,6 @@ export class PythonCodeActionsProvider implements vscode.CodeActionProvider {
2119
let wordRange = document.getWordRangeAtPosition(range.start);
2220
// If no word has been selected by the user, then don't display rename
2321
// If something has been selected, then ensure we have selected a word (i.e. end and start matches the word range)
24-
let selectionIsEmpty = range.isEmpty;
2522
if (wordRange && !wordRange.isEmpty && wordRange.isEqual(vscode.window.activeTextEditor.selection)) {
2623
let word = document.getText(wordRange).trim();
2724
if (word.length > 0) {

0 commit comments

Comments
 (0)