Skip to content

Commit 4003133

Browse files
use new openTextDocument command to show text data for View Text Data requests from table views (#107)
1 parent 2d9d9fc commit 4003133

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/views/tableView.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,7 @@ export class TableView {
246246
Uri.parse(this._fileInfo.fileUri.toString(true) + '.table.json'));
247247
break;
248248
case 'viewTextData':
249-
commands.executeCommand(ViewCommands.vscodeOpen,
250-
Uri.parse(fileUtils.convertToGitHubRepositoryUrl(this._fileInfo.fileUrl)));
249+
commands.executeCommand(ViewCommands.openTextDocument, this._fileInfo.fileUri);
251250
break;
252251
}
253252
}, undefined, this._disposables);

0 commit comments

Comments
 (0)