0
0

More than 3 years have passed since last update.

Salesforce_Visual Studio Code環境構築

Posted at

必要なツールのインストール

Visual Studio Code
image.png

JDK
image.png

Salesforce CLI
image.png

Salesforce Package.xml Generator Extension for VS Code
image.png

Visual Studio Codeにpluginをインストール

•Salesforce Extension Pack
図例↓
image.png
チョッパーはインストール下のplugin
image.png

sfdxコマンド

Node.jsをインストールすると同時にnpmもインストールされます。
https://nodejs.org/ja/download/
以下のコマンドをタイプする。

node.jsのバージョンを確認

node --version
ダウンロードしたNode.jsのバージョンと同じ数字が返ってくれば問題なくインストールされている。
image.png

node.jsのバージョン結果
image.png

v12.14.1
Node.jsと一緒にnpmもインストールされているのでそちらも確認する。

npmのバージョンを確認
image.png

npm --version
npmのバージョン結果
image.png

6.13.4

必要なツールのインストール

オブジェクト情報の補完機能
1.Visual Studio CodeのNEW Terminaiに「SFDX:Refresh SObject Definitions」コマンド実行
image.png

2.管理ユーザー権限がありCMDに
1.「sfdx plugin:install @salesforce/plugin-auth@1.4.3」コマンド実行
2.「sfdx update」コマンド実行
3.sfdx plugins:install @salesforce/sfdx-diff
image.png

Package.xml サンプル

0
0
2

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