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?

More than 5 years have passed since last update.

IDEで標準出力処理を補完するショートカットキー

Last updated at Posted at 2019-01-08

Javaを使っていると、soutとかsysoutの後で補完キーを押下するとIDEがSystem.out.printlnに補完してくれるあの機能(コードスニペットというらしい)。

C#の場合はcwと入力した後に補完(※)でConsole.WriteLineになるのだが、知らないとググってもなかなか探しだせなかったので、ここにメモしておく。

※Visual Studio ProだとTabキー2回押下で補完しないと出てこない!!
 Visual Studio Codeの場合はcww入力後に候補を提示してくれるのに。。。

Visual Studio C#のコードスニペット一覧は以下を参照。
https://docs.microsoft.com/ja-jp/visualstudio/ide/visual-csharp-code-snippets?view=vs-2017

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?