Skip to content
Merged

0.160.0 #8854

Show file tree
Hide file tree
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
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.160.0

### Changes

- Added a `"githubIssues.issueCompletionFormatEditor"` setting to control the format of issue completions in the editor, mirroring the existing `"githubIssues.issueCompletionFormatScm"` setting. It defaults to `${issueNumberLabel}`, which inserts only the issue number (e.g. `#421`) so that GitHub's auto-close references keep working.

### Fixes

- "Delete local branches" is showing branches that have already been deleted. https://github.com/microsoft/vscode-pull-request-github/issues/8815

## 0.158.0

### Changes
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"treeItemMarkdownLabel",
"treeViewMarkdownMessage"
],
"version": "0.158.0",
"version": "0.160.0",
"publisher": "GitHub",
"engines": {
"node": ">=20",
Expand Down
5 changes: 5 additions & 0 deletions src/@types/vscode.proposed.chatParticipantAdditions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,11 @@ declare module 'vscode' {
*/
result?: string;

/**
* The display name of the model used by the subagent.
*/
modelName?: string;

constructor(description?: string, agentName?: string, prompt?: string, result?: string);
}

Expand Down
26 changes: 24 additions & 2 deletions src/test/runTests.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,39 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/

import { existsSync } from 'fs';
import * as path from 'path';
import { runTests } from '@vscode/test-electron';
import { downloadAndUnzipVSCode, runTests } from '@vscode/test-electron';

async function downloadVSCodeInsiders(): Promise<string> {
const vscodeExecutablePath = await downloadAndUnzipVSCode('insiders');
if (process.platform !== 'darwin' || existsSync(vscodeExecutablePath)) {
return vscodeExecutablePath;
}

// VS Code for macOS no longer keeps the legacy Electron executable name.
const renamedExecutablePath = path.join(path.dirname(vscodeExecutablePath), 'Code - Insiders');
if (existsSync(renamedExecutablePath)) {
return renamedExecutablePath;
}

throw new Error(`VS Code executable not found at ${vscodeExecutablePath} or ${renamedExecutablePath}`);
}

async function go() {
try {
const extensionDevelopmentPath = path.resolve(__dirname, '../../../');
const extensionTestsPath = path.resolve(__dirname, './');
const vscodeExecutablePath = await downloadVSCodeInsiders();
console.log(extensionDevelopmentPath, extensionTestsPath);

/**
* Basic usage
*/
await runTests({
version: 'insiders',
vscodeExecutablePath,
extensionDevelopmentPath,
extensionTestsPath,
launchArgs: ['--disable-extensions'],
Expand Down