0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【VisualStudio】Abstractクラス継承やInterface実装の際に一括で関数などを実装するコマンド

Last updated at Posted at 2025-04-26

はじめに

"〇〇はインターフェースメンバー'〇〇'を実装しません"
"〇〇は継承抽象メンバー'〇〇'を実装しません"

Unity+VisualStudioで開発をするのですが、Abstractクラス継承やInterface実装時にプロパティや関数を実装するのが面倒すぎてストレスを抱えている方がいると思います。
私がそうです。

一括で実装する方法

1、クラス名部分にカーソルを持ってきて「Ctrl + .」を押します
2、「インターフェースを実装します」まはた「抽象クラスの実装」を押します。
終わりです。

一連の流れ

※VisualStudio2022
Demo4.gif

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?