Skip to content

Commit

Permalink
fix(vscode): set excludeFiles to undefined so by default ignored file…
Browse files Browse the repository at this point in the history
…s are applied (#2834)
  • Loading branch information
wsxiaoys authored Aug 12, 2024
1 parent 48dba77 commit 2c78c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/vscode/src/chat/ChatViewProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class ChatViewProvider implements WebviewViewProvider {
this.client = createClient(webviewView, {
navigate: async (context: Context, opts?: NavigateOpts) => {
if (opts?.openInEditor) {
const files = await workspace.findFiles(context.filepath, null, 1);
const files = await workspace.findFiles(context.filepath, undefined, 1);
if (files[0]) {
const document = await workspace.openTextDocument(files[0].path);
const newEditor = await window.showTextDocument(document, {
Expand Down

0 comments on commit 2c78c21

Please sign in to comment.