{ // 基本的な言語機能のサポート "ruby.useLanguageServer": true, // Formatで使用するツールを`bundle exec`で実行するかどうか // ここではグローバルにインストールしたGemを使うのでfalseに指定 "ruby.useBundler": false, // `Format Document`で使用するフォーマッターにrubocopを指定 "ruby.format": "rubocop", // Linterにrubocopを指定 "ruby.lint": { "rubocop": { "useBundler": false } }, } VSCodeを起動している場合は再起動します。 ここまでで、以下のようにLinterが動作すればok。 またCmd + Shift + PでコマンドパレットからFormat Documentを実行
Products Docker DesktopContainerize your applicationsDocker HubDiscover and share container imagesDocker ScoutSimplify the software supply chainDocker Build Cloud Speed up your image buildsTestcontainers Desktop Local testing with real dependenciesTestcontainers Cloud Test without limits in the cloud See our product roadmapMORE resources for developers
7月26日、Visual Studio CodeはJavaのアップデートを発表しました。 このアップデートでは、逆コンパイラ機能とコード補完の改善が行われました。 逆コンパイラのアップグレードにより、サードパーティのライブラリの理解やデバッグ、コードの理解が向上し、コード補完のパフォーマンスの改善により開発者の生産性が向上します。 以下、具体的な改善点について説明します。 7月26日、Visual Studio CodeはJava関連機能のアップデートを発表しました。 このアップデートでは、逆コンパイラ機能とコード補完の改善が行われました。 逆コンパイラのアップグレードにより、サードパーティのライブラリの理解やデバッグ、コードの理解が向上し、コード補完のパフォーマンスの改善により開発者の生産性が向上します。 逆コンパイラのアップグレード Visual Studio Code for Jav
こんにちは、CX事業本部の若槻です。 今回は、Visual Studio Codeに導入したPrettierプラグインのフォーマット機能を言語単位で無効にしてみました。 Prettierとは? コードフォーマッターです。2020年9月時点で、8種類以上のエディター、24種類以上の言語に対応しています。 https://prettier.io/ なぜPrettierのフォーマット機能を言語単位で無効にしたかったのか? わたしはVisual Studio CodeにPrettierエクステンションを導入して使用しています。開発時のコードフォーマット機能としてはとても便利なのですが、ひとつ困っていたのがマークダウン文書の作成時に意図しないフォーマットがPrettierにより行われてしまうことでした。 その中でも一番困っていたのが、下記のようにマークダウン文書(名前がXXXX.MDのファイル)を編
背景 Visual Studioを入れてC++を書こうとしたのですが、デフォルトの見た目があまりにも汚かったのでカスタマイズしました。 このガイドに従って設定すれば、Visual Studioは最高のIDEになります!多分! ただCmakeを使ってもいいよーという場合CLionの方が使いやすいので13000円の余剰金がある人はCLionの年間ライセンス買いましょう。僕はkernel driverが作りにくいのでvisual studio使ってますが、ユーザーモードソフトの場合はVisual Studioの方がいいと思います。 目次 まず設定をいじろう テキストがダサいのを直そう ミニマップを表示しよう 細かい設定 拡張機能を入れよう Dark Transparency Theme 背景に画像を透過表示できるようにしよう 括弧の色をペアごとに色付けしよう ファイル保存時に自動フォーマットして
本記事の対象 ASP.NET Core Web APIの基本的な仕組みを理解したい C#、REST APIの基本的な知識がある 環境 Windows 11 Visual Studio 2022 .NET 8 プロジェクトの作成と実行 Visual Studioを起動したら、新規プロジェクトの作成画面を開き、「ASP.NET Core Web API」を選択します。 プロジェクト名はチュートリアルと同じ「TodoApi」にしました。 ターゲットフレームワークには「.NET 8.0(長期的なサポート)」を選択します。その他の項目はデフォルトのままでOKです。 プロジェクトの作成が完了したら、「Ctrl+F5」でデバッグなしで実行してみましょう。 もし、次の画面が表示された場合は「はい」を選択して証明書をインストールしてください。 ブラウザが起動し、以下のようなSwagger UIのページが表示
Microsoftは2020年2月7日(米国時間)、WindowsやmacOS、Linuxに対応するクロスプラットフォームのエディタ「Visual Studio Code」(以下、VS Code)の最新版「January 2020」リリース(バージョン1.42)を公開した。 なおJanuary 2020リリースの公開日は、該当するツイートの公開日に従っている。 VS Code バージョン1.42では、ワークベンチ、エディタ、デバッグ、タスクなどに関する多くの改良が行われた。主な改良点は以下の通り。 ワークベンチ:名前変更のプレビュー 名前の変更をプレビューできるようになった。名前を変更するときに[Shift]+[Enter]キーで「Refactor Preview」パネルを表示し、新しい名前を確認できる。確認すると、このパネルは閉じられ、現在のエディタに戻る。 ワークベンチ:開けるエディタ
マイクロソフトのインテリセンス(コード補完機能)は大変優秀だと個人的に思っている。 中でもVBAのインテリセンスが非常に優秀で インテリセンスを効かせた書き方を意識して以降、生産性が数倍になった。 VSCodeでもインテリセンスの優秀さを引き継いでいるのか、 動的型付け言語のPythonでもバンバン補完機能を表示してくれる。 …が、特定のパターンでインテリセンスが出てこないことに気が付いた。 VSCodeでインテリセンスが効かない&一部に効かない場合の 解消方法を調査&検証した結果を整理してみた。 前提条件 VSCode 1.33.1 CentOS7.6 64bit anaconda 4.6.14 Python 3.7.3 発生事象 外部モジュールをVSCodeが参照できていない模様 以下では、比較のため「標準モジュールの場合(問題なし)」と「外部モジュールの場合(問題あり)」を記載 標準
Debugging External Sources with Visual Studio - Visual Studio Blog ほぼ上の記事の紹介になるんですが(というかそのままか)、便利だったのでメモ代わりにブログに残しておきます。 外部ライブラリを使っていると、ブレークポイントによるデバッグで、ライブラリ側のソースコードもステップインしたいことってありませんか? Visual Studio 2022 Preview 3から、下図に示すようにソリューションエクスプローラーに外部ソースノードが追加されました。これはデバッグ中に表示されて、ソースサーバーの情報を含む、ロードされたシンボル情報(.pdb)が表示されるようになりました。 ソリューションエクスプローラーの外部ソースノードの様子 設定すると(これは後述します)、デバッグ中に外部ソースにステップインしようとすると、ソースサーバー
We are pleased to announce that the May 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about Py
We’re excited to announce the first generally available release of the C++ extension for Visual Studio Code! Visual Studio Code is a free code editor that runs on Linux, macOS, and Windows, and is highly-customizable to make it exactly what you want it to be. The C++ extension brings a rich set of productivity features to VS Code for C++ developers, including IntelliSense smart code completion, de
Here at the Visual Studio Tools for Unity team our mission is to improve the productivity of Unity developers. In Visual Studio 2019 we’ve introduced our Unity Analyzers, a collection of Unity specific code diagnostics and code fixes. Today we’re excited to make our Unity Analyzers Open-Source. Visual Studio and Visual Studio for Mac rely on Roslyn, our compiler infrastructure, to deliver a fantas
はじめに Unity エディタが重くて操作に時間がかかる時や Hold on・Unity is busy のプログレスバーが消えずに Unity が操作できない時に 自分が試して解決した方法や、 公式フォーラムなどでこうすると解決したと報告があった方法を紹介していきます 目次 はじめに 目次 Unity プロジェクトのフォルダ内の Library フォルダを削除 Unity プロジェクトのフォルダ内の Library/ShaderCache フォルダを削除 GI Cache の Clean Cache を実行 Package Manager のキャッシュを削除 並列インポートを有効化 Auto Refresh を無効化 Directory Monitoring を無効化 Busy Progress Delay に大きな値を設定 Disable Editor Analytics (Pro O
We are pleased to announce that the September 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more a
Version 1.89 is now available! Read about the new features and fixes from April. June 2020 (version 1.47) Update 1.47.1: The update addresses this security issue. Update 1.47.2: The update addresses these issues. Update 1.47.3: The update addresses these issues. Downloads: Windows: x64 Arm64 | Mac: Intel | Linux: deb rpm tarball snap Welcome to the June 2020 release of Visual Studio Code. There ar
こんにちは。サービスグループの武田です。 現在参加中のre:Invent 2019でAWS CDKのセッションを聴講したところ、その中でAWS CDK Explorerなるものが紹介されました。把握していなかったのですが最近リリースされた新機能のようです。 AWS Toolkit for Visual Studio Code この機能を有効にすると、VS Codeのサイドバーにエクスプローラが追加され、プロジェクト内のスタックやリソース、プロパティが簡単に確認できます。 さっそく試してみました! AWS Toolkit for Visual Studio Codeをインストール まずはVS Code拡張であるAWS Toolkitのインストールが必要です。すでにインストール済みの方はスキップしてください。 まずはVS Codeを起動します。 次にExtentions Marcketplac
Version 1.93 is now available! Read about the new features and fixes from August. Using Docker in WSL 2 March 2, 2020 by Matt Hernandez, @fiveisprime Last June, the Docker team announced that they will be investing in getting Docker running with the Windows Subsystem for Linux (WSL). All of this is made possible with the recent changes to the architecture of WSL to run within a lightweight virtual
We are pleased to announce that the March 2021 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about
1.概要 2.プラットフォームターゲットを【x64】に設定する 解説 方法 3.Visual Studioホスティングプロセスを無効にする 解説 方法 4.PDBファイルを作成しないようにする 解説 方法 1.概要 新規でプロジェクトを作成した場合に、やるべき設定をまとめました。 何故、この設定が必要なのかも合わせて解説していきます。 あくまで個人的にやっている設定ですので、 プロジェクトによって取捨選択が必要かと思います。 ちなみに私の開発環境は Visual Studio 2015 Professional になります。 2.プラットフォームターゲットを【x64】に設定する 解説 デフォルトでは【Any CPU】が設定されています。 これはどういう状態かというと、プロセスはOSに依存するというかたちになります。 ・32bitOSなら32bitプロセとしてで動作 ・64bitOSなら64
Paul DeCarlo for Microsoft Azure Posted on Jul 31, 2019 • Updated on Dec 20, 2019 Building jetson-containers for Nvidia devices on Windows 10 with VS Code and WSL v2 In this post, we are going to walk through building Ian Davis's jetson-containers project on Windows 10 using Visual Studio Code and version 2 of the Windows Subsystem for Linux. In a nutshell, the jetson-containers project allows you
Version 1.93 is now available! Read about the new features and fixes from August. April 2020 (version 1.45) Update 1.45.1: The update addresses these issues. Downloads: Windows: x64 | Mac: Intel | Linux: deb rpm tarball snap Welcome to the April 2020 release of Visual Studio Code. There are a number of updates in this version that we hope you will like, some of the key highlights include: Accessib
マイクロソフトは、同社が現在開発中のVisual Studio 2022でマルチリポジトリに対応する予定であることを明らかにしました。 現在のVisual Studioでは、1インスタンスあたり1つのリポジトリにしか対応していません。Visual Studio 2022では、これを改善し、1インスタンスのVisual Studioで複数のリポジトリを操作できるようになる予定です。 下記はデモ動画で示された、複数のGitリポジトリを開いて操作している様子。 これにより1つのプロジェクトで複数のリポジトリを扱えるようになります。今後、次のような機能も追加される予定とのこと。 Multi-repo support for Amend, Stash, Branch switching and network operations including Pull, Push, Fetch and Sy
事象 Visual Studio上でUnit Testを実行するものの、テストがRunしない。 ステータスバー以下メッセージが表示される。 「予期しないエラーが検出されました。詳細については、テスト出力ペインをご確認ください。」 出力 → 出力元(S): → テストを開くと下記のログが出力されていた。 logログのレベルは、情報 (既定) に設定されています。 System.IO.FileLoadException: ファイルまたはアセンブリ 'Microsoft.VisualStudio.LiveShare, Version=1.16.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'、またはその依存関係の 1 つが読み込めませんでした。見つかったアセンブリのマニフェスト定義はアセンブリ参照に一致しません。 (HRESULT から
世はVisual Studio Onlineで湧いていますが、これは通常のCodeのお話。 Visual Studio Code の Remote Development でリモートファイルを編集できる、というのは多く知られていますが(後述)、それには現状SSH接続が必要です。SSH接続となると、ポート開放や踏み台サーバー付きのプライベートサブネットなど、セキュリティ周りで頭を悩ませることも多いですよね。 この投稿では、AWS SSM(Session Manager)を利用して、SSHポート開放無し、プライベートサブネットのままで踏み台サーバーなしで、セキュアに Visual Studo Code Remote Developmentを実行する方法をお話します。 この投稿で説明すること Visual Studio Code Remote Development を利用してAWSに接続する際
Inno Setupは、Windows向けの無料の高速インストーラーで、Delphiによって構築されています。Inno Setupは、Jordan Russell氏とMartijn Laan氏によって、1997年より提供されています。その完全なソースコードはGitHubで入手できますが、ソフトウェアの著作権は作成者によって維持されています。Inno Setupは、世界各国で膨大な数のソフトウェア開発者や企業によって利用されており、その中には、Windows向けのVisual Studio Code IDEなどMicrosoftといった大企業も含まれます。 Inno Setupには、数多くのサードパーティアドオンが用意されています。それは、Kymoto SolutionsによるInno Script Studioや、Rodrigo RuzによるVCLスタイルインストーラーなど、Inno Se
We are pleased to announce that the October 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about
We’re excited to announce that we’re releasing the new Jupyter extension for Visual Studio Code today! The Jupyter extension is the latest step in our journey to bring the power of Jupyter Notebook into VS Code for a variety of languages and scenarios. Jupyter Notebook enables creating and sharing documents that contain live code, equations, text, and visualizations, and is the de facto data scien
先日の岩永さんの YouTube 配信で C# の private, internal フィールドの名前に自動的に _ をつける設定について少し話題になりました。それを受けて岩永さんが .editorconfig での設定方法を書いてくれました。 この記事に書いてある ちなみに、こんな構文&変数名、覚えられるわけもなく、okazuki さんは Visual Studio 上のオプション画面でこの設定を入れて、.editorconfig にエクスポートして使っていたそうです。 これのやり方を書いておこうと思います。てっきり皆知ってるものだと思ってました…。 設定方法 Visual Studio 2019/2022 のツールメニューのオプションにあるテキスト エディター → C# → コード スタイル → 名前指定で設定します。 上の画像では、すでに設定してしまっていますが、初期状態では上の
The making of Visual Studio IntelliCode’s first deep learning model: a research journey Introduction Since the first IntelliCode code completion model was shipped in Visual Studio and Visual Studio Code in 2018, it has become an essential coding assistant for millions of developers around the world. In the past two years, we have been working tirelessly to enable IntelliCode for more programming l
Visual Studio のさまざまなコマンドやウィンドウには、該当するキーボード ショートカットを選択することでアクセスできます。 このページでは、Visual Studio のインストール時に選択できる全般プロファイルの既定のコマンド ショートカットの一覧を示します。 選択したプロファイルにかかわらず、 [オプション] ダイアログ ボックスを開き、 [環境] ノードを展開して、 [キーボード] を選択することで、コマンドのショートカットを確認することができます。 任意のコマンドに別のショートカットを割り当てることでショートカットをカスタマイズすることもできます。 一般的なキーボード ショートカットの一覧、およびその他の生産性向上情報については、以下をご覧ください。 キーボードのヒント 生産性に関するヒント Visual Studio でのアクセシビリティについて詳しくは、「アクセシビ
We are pleased to announce that the April 2021 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about P
We are pleased to announce that the January 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about
Today we’re introducing a new release for the mssql extension for Visual Studio Code which is now available! The mssql extension for Visual Studio Code is the official SQL Server extension that supports connections to SQL Server and rich editing experience for T-SQL in your favorite developer tool, Visual Studio Code. You can download the mssql extension and try out a tutorial to get started. This
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く