Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions typescript/commands/rename.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def run(self, text):
self.view.set_status('typescript_error', info['localizedErrorMessage'])
return

display_name = info['fullDisplayName']
outer_locations = body['locs']

def on_done(new_name):
Expand All @@ -32,7 +31,7 @@ def on_done(new_name):

if len(outer_locations) > 0:
sublime.active_window().show_input_panel(
'New name for {0}: '.format(display_name),
'New name: ',
info['displayName'], # initial text
on_done,
None, # on_change
Expand Down