Skip to content

Instantly share code, notes, and snippets.

@uranuno
Last active October 28, 2019 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uranuno/1b1a0f89a82413f9f6a3 to your computer and use it in GitHub Desktop.
Save uranuno/1b1a0f89a82413f9f6a3 to your computer and use it in GitHub Desktop.
エディタ設定メモ
root = true
[*.cs]
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8

MonoDevelop-Unity

  • Preferences
    • Environment > Fonts > Text Editor フォント設定
    • Text Editor > General > Code Folding コードの折りたたみ
    • Text Editor > Markers and Rulers
      • Highlight current line 行のハイライト
      • Show indentation guides インデントガイド
      • Show invisible characters 空白の表示
    • Text Editor > Behavior > Insert matching brace 対応する括弧の自動入力
    • Source Code > Code Formatting > C# source code
      • switch文のインデント
      • statement の括弧の位置

Visual Studio

  • ソースコード > コードのフォーマット > C#ソースコード
    • テキストのスタイル
      • テキストファイルの規定の設定を使用→オフ
      • タブをスペースに変換→オフ
    • C#フォーマット 編集→カテゴリ:スペース
      • メソッド宣言子のスペースを設定する
      • メソッドの呼び出しのスペースを設定する
  • Tools for Unity > General
    • 保存時にUnityのAssetDatabase を更新 オフ
{
"ignored_packages":
[
"Vintage"
],
"color_scheme": "Packages/Theme - Spacegray/base16-ocean.light.tmTheme",
"theme": "Spacegray Light.sublime-theme",
"font_face": "Ricty Diminished",
"font_size": 14.0,
"line_padding_top": 4,
"open_files_in_new_window": false,
"scroll_past_end": true,
"word_wrap": true,
"draw_white_space": "all",
"tab_size": 4
}
{
"editor.fontFamily": "Ricty Diminished",
"editor.renderWhitespace": "all",
"files.associations": {
"*.json": "jsonc",
"*.prefab": "yaml",
"*.manifest": "yaml",
"*.meta": "yaml",
"*.asset": "yaml"
},
"git.confirmSync": false,
"files.insertFinalNewline": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment