You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter. Microsoft Visual Studio Live Share Visual Studio Live Share enables you to collaboratively edit and debug with others in real time, regardless what programming languages you're using or app types you're building. It allows you to instantly (and securely) share your current project, and then as needed, share debugging
はじめに VSCode (Visual Studio Code) のターミナルをデフォルトの PowerShell から Git Bash に変更する方法を紹介します。 環境 Microsoft Windows 10 Pro 必要なもの Visual Studio Code Git for Windows Ctrl + ,のショートカットで、Settings 画面に移動します。 または、File > Preferences > Settings で移動します。 Settings 画面に移動したら、 【追記:2021/07/23】1.58.2 で確認すると設定項目が変わっていました 検索欄に Terminal.Integrated.Default Profile: Windows を打ち込み、 Git bash を選択します。 以前 検索欄に terminal.integrated.shel
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter. README Visual Studio Code HTML Snippets DISABLING THIS EXTENSION AS IT CURRENTLY CONFLICTS WTH EXISTING VS CODE HTML EXTENSION This extension adds rich language support for the HTML Markup to VS Code, including: Full HTML5 Tags Colorization Snippets [partially implemented] Quick Info description mentions if tag depre
Bracket Pair Colorizer Announcement: A new version is being developed at https://github.com/CoenraadS/Bracket-Pair-Colorizer-2 This extension allows matching brackets to be identified with colours. The user can define which characters to match, and which colours to use. Screenshot: Release Notes Features User defined matching characters By default (), [], and {} are matched, however custom bracket
規約とツールでコードの品質を上げる コーディング規約をチームで共有するとコードの可読性が上がる。 たとえばPEP8はPython標準ライブラリ用のコーディング規約で 1行の文字数を79文字以下とするなどその内容は多岐にわたる。 コーディング規約は学習・運用コストがかかるためLinter・Formatterなどのツールを有効活用したい。 以下、Visual Studio Code(VS Code)用のお勧めの規約・ツールを導入する手順を示す。 概要 Linterツール flake8、Formatterツール autopep8、 docstring支援の拡張機能autoDocstringをインストールし、下の設定を行う。 前提としてMicrosoft公式の拡張機能Pythonは導入済みとする。 "files.autoSave": "afterDelay", "files.autoSaveDel
概要 とりあえずNuxt.jsはVSCodeで書いてみてるんだけど、フォーマットをかけるとエラーになってしまう。 前提 Veturというプラグインを入れています。 github.com 結論 Prettierプラグインを入れる。 github.com VSCodeの設定に下記を追加する。 "prettier.singleQuote": true, "prettier.semi":false, .eslintrc.js のrulesに下記を追加する。 rules: { // 追加する 'space-before-function-paren': 0 }, 詳細 VSCodeでフォーマットかけると、エラーになってしまった。 フォーマット書けると下記のようになる。 <script> export default { data: function() { return { message: "he
Manually select featuresで、以下のような設定でプロジェクトを作ります。 そのままの状態ではVisual Studio Codeは.vueファイルをうまく扱えないので、拡張機能のVeturを導入します。 vueファイルが正しくシンタックスハイライトできるか見ましょう。 はい。次に便利設定を行います。 Visual Studio CodeはMacの場合はコマンド+マウスクリックで定義元へ飛ぶ機能が付いています。 本来ならば上記画像中のHelloWorldオブジェクトをクリックすれば当該ソースコードへ飛んで欲しいのですが、デフォルトではそのようになりません。 そこで、プロジェクトのルートフォルダにjsconfig.jsonを置きます。内容は以下の通りです。 具体的にいうとVue.jsは@/をsrc/として扱うため、インクルードパスを合わせてあげます。 { "include
VisualStudioCodeでは、keyと事前定義されたコマンドの組み合わせをjsonファイルに定義することでオリジナルのショートカットを設定することができます。 せっかくターミナル関連のコマンドを用意してもらっているので、キーボードショートカットで使えるようにしてしまいましょう! ショートカットの設定 cmd + shift + pでコマンドパレットを開き、keyなどと入力してPreferences: Open Keyboard Shortcuts fileを選択します。 すると、keybindings.jsonが開くはずです。 keybinding.jsonのなかに、以下を参考にショートカットを設定してください。 // Place your key bindings in this file to overwrite the defaults [ { "key": "cmd+shi
環境 Visual Studio Code 1.27.2 macOS Sierra 手順 Code > Preferences > Keyboard Shortcutsをクリック 「keybindings.json」をクリックして設定ファイルを開きます このように設定します。「key」はお好みで設定してみてください。 [ { "key": "ctrl+h", "command": "workbench.action.focusSideBar", "when": "editorTextFocus" }, { "key": "ctrl+j", "command": "workbench.action.terminal.focus", "when": "editorTextFocus" }, { "key": "ctrl+l", "command": "workbench.action.focu
Writing tech tutorials is hard because certain configurations might stop working after several months. As I’m also working on other things I don’t always have time to check if this is still working. However, if this tutorial doesn’t work for you anymore, please let me know ASAP! I really don’t want to waste your time doing something that doesn’t work anymore. With JavaScript being a dynamic and lo
Windowsでターミナル操作をするとき、コマンドプロンプトよりBashを使えた方が色々なLinuxコマンドが使えて便利だと思います。そこで、WindowsでBashが使えるGit Bashをインストールして、更にVSCodeのターミナルに組み込むことで、Bashを備えたIDEのような開発環境を構築します。 環境 Windows 7 (SP1) Ultima x64 VSCode(User Installer) x64 (Ver:1.28.2) Gitをダウンロードする Windows用のGitを次のリンク先よりダウンロードします。 https://git-scm.com/download/win 個人的にインストーラー版ではなくポータブル版の方が好きなので、表示されるインストーラーファイルのダウンロードをキャンセルします。 表示されるダウンロードページで赤枠の64bit用GitのPort
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く