Skip to content

Commit

Permalink
change uri schema
Browse files Browse the repository at this point in the history
  • Loading branch information
thenamankumar committed Jan 8, 2025
1 parent 2af3f2b commit 063d6da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vscode/src/chat/chat-view/ChatController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ export class ChatController implements vscode.Disposable, vscode.WebviewViewProv

private async openRemoteFile(uri: vscode.Uri) {
const json = uri.toJSON()
json.scheme = 'sourcegraph'
json.scheme = 'codysourcegraph'
const sourcegraphSchemaURI = vscode.Uri.from(json)

vscode.workspace
Expand Down
4 changes: 3 additions & 1 deletion vscode/src/chat/chat-view/sourcegraphRemoteFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ export class SourcegraphRemoteFileProvider
private disposables: vscode.Disposable[] = []

constructor() {
this.disposables.push(vscode.workspace.registerTextDocumentContentProvider('sourcegraph', this))
this.disposables.push(
vscode.workspace.registerTextDocumentContentProvider('codysourcegraph', this)
)
}

async provideTextDocumentContent(uri: vscode.Uri): Promise<string> {
Expand Down

0 comments on commit 063d6da

Please sign in to comment.