編集

Visual Studio Code 1.100 リリース

VS Code 1.100 はエージェントモードやチャット、検索、編集体験の各面で大幅な強化が行われたバージョン。AI 活用や拡張性、操作性がさらに向上している。

#MCP による streamable HTTP・画像対応

MCP(Model Context Protocol)で Streamable HTTP や画像生成に対応。エージェントモードやチャットでサーバーベースのツールや画像生成が利用できるようになった。

json
{
  "servers": {
    "my-mcp-server": {
      "url": "http://localhost:3000/mcp"
    }
  }
}

参考:Use MCP servers in VS Code (Preview)

#プロンプト・インストラクションファイルによるカスタマイズ

Markdown ベースのプロンプトファイル(.prompt.md)やインストラクションファイル(.instructions.md)で AI の挙動を柔軟に制御可能。Front Matter でapplyTodescriptionを指定でき、コマンドパレットやエディターから直接実行できる。

.prompt.mdの例:

txt
---
mode: 'agent'
tools: ['getCurrentMilestone', 'getReleaseFeatures', 'file_search', 'semantic_search', 'read_file', 'insert_edit_into_file', 'create_file', 'replace_string_in_file', 'fetch_webpage', 'vscode_search_extensions_internal']
---
Generate release notes for the features I worked in the current release and update them in the release notes file. Use [release notes writing instructions file](.github/instructions/release-notes-writing.instructions.md) as a guide.

.instructions.mdの例:

txt
---
applyTo: '**/*.ts'
---
Place curly braces on separate lines for multi-line blocks:
if (condition)
{
  doSomething();
}
else
{
  doSomethingElse();
}

#エージェント編集時の自動フォローアップ提案(Autofix diagnostics)

エージェントモードで編集時にエラーが発生した場合、自動でフォローアップの修正提案が表示されるようになった。github.copilot.chat.agent.autoFixで制御可能。

#会話要約・プロンプトキャッシュ

長時間のエージェントセッションでも快適に利用できるよう、会話の要約やプロンプトキャッシュ機能が追加。

##githubRepo ツールによるリポジトリ検索

Copilot Chat から#githubRepoツールを使い、ローカルで開いていない任意の GitHub リポジトリを直接検索可能。

カスタムインストラクション.instructions.mdで使用に関するヒントを示すことも可能。

txt
---
applyTo: '**'
---
Use the `#githubRepo` tool with `microsoft/vscode` to find relevant code snippets in the VS Code codebase.
Use the `#githubRepo` tool with `microsoft/typescript` to answer questions about how TypeScript is implemented.

##extensions ツールによる拡張機能検索・インストール

Copilot Chat から#extensionsツールを使い、Marketplace の拡張機能を検索・インストールできるようになった。

#AI によるセマンティックテキスト検索(実験的)

AI によるキーワード提案を活用したセマンティックテキスト検索が実験的に追加。関連コードの発見が容易に。

github.copilot.chat.search.keywordSuggestionsで制御可能。

#Next Edit Suggestions(NES)モデル

NES がデフォルトで有効化された。github.copilot.nextEditSuggestions.enabledで制御可能。また新しい NES モデルにより、より高速かつ高精度な編集提案が可能になった。

またgithub.copilot.nextEditSuggestions.fixesを有効化すれば、NES が JavaScript および TypeScript ファイルで不足しているインポート文の追加を自動的に提案する。

#AI による HTML/Markdown の alt テキスト自動生成

AI が HTML や Markdown の画像に対して alt テキストを自動生成。アクセシビリティ向上に寄与。Ctrl+.または

#参考文献

編集