症状
Visual Studio Code の新規インストール直後、もしくは、macOS Sierraへのバージョンアップ後に "Check for Updates…"が失敗する。
macOSのバージョンアップや環境構築直後に"xcrun"が見つからない(missing)エラーが発生する。
1 2 3 4 5 6 7 8 9 |
$ brew upgrade ==> Upgrading 1 outdated package: ruby-build 20191002 -> 20191004 ==> Upgrading ruby-build xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Error: An exception occurred within a child process: CompilerSelectionError: ruby-build cannot be built with any available compilers. Install GNU's GCC: brew install gcc |
1 |
$ find . -path "./Projects" -prune -o -type f -name "*.rb" |
-path
: パス指定-prune
: 除外-o
: 条件論理和 (OR)-type f
: ファイルのみ検索-name
: 名前指定Win32APIのデフォルトではクリックイベント(WM_COMMAND)は MOUSE UP に割り当てられている。
MOUSE DOWN と MOUSE UP の両方のイベントを取得する方法。
ボタン・コントロールのNotify(BS_NOTIFY)を有効(True)に切り替える。
Visual Studio Code の Windows プラットフォームでは_WIN32 定義などがデフォルトで有効になる。
Intelli Sence Mode を切り替えることでWindowsプラットフォーム固有のdefine定義を無効化できる。
続きを読む
Visual Studio Code でタブ文字や空白文字を表示する。
続きを読む
Visual Studio Code をつかい複数のファイルにまたがって文字列を検索する方法
以下のいずれかの方法で複数のファイルを開く。
以下のいずれかの方法で検索ボックスを開く。
Visual Studio Code では背景色とフォントカラーをセットで変更することができる。
続きを読む