Replace the Salesforce Developer Console TODAY Using VS Code!

Поділитися
Вставка
  • Опубліковано 9 лип 2024
  • Subscribe here: ua-cam.com/channels/Zvz.html...
    Interested in consulting? g2technologies.com/pages/contact
    Need a cheap domain? www.epik.com/?affid=bo9po1yu8
    -----------------------------------
    In this video, we discuss how to set up VS Code as a beginner to start Salesforce software development. We cover the basic requirements to start replacing the Salesforce developer console, which includes VS Code, SFDX CLI, Java, and some VS Code extensions. In this beginner's tutorial, we also show how to create apex classes, Apex triggers, Visualforce pages, and Lightning Web Components, all through the VS Code extension that integrates with the SFDX CLI (Command Line Interface). We also show how to run debug logs for code that is ran using execute anonymous, and how to run test classes as well as see test coverage. All the functions shown in this tutorial will help a new developer be introduced to the Salesforce ecosystem and have a better understanding of how to write code for a Salesforce instance using VS Code, instead of using the outdated developer console.
    Chapters:
    0:00 Intro
    0:48 Requirements
    2:53 Creating Projects / Auth
    5:10 Create Apex Classes / Triggers
    6:52 Execute Anonymous / Debug Logs
    9:28 Test Classes / Code Coverage
  • Наука та технологія

КОМЕНТАРІ • 4

  • @user-qs7ys7hd4n
    @user-qs7ys7hd4n 11 місяців тому +2

    Justin, Thanks for sharing this very useful video. You explained it very well.

  • @user-qs7ys7hd4n
    @user-qs7ys7hd4n 11 місяців тому +1

    can you give some more details about running a class from execute anonymous. like creating an instance of a class and calling it. or calling a static method

    • @JustinWills
      @JustinWills  11 місяців тому

      If you have a command you want to run with execute anonymous, you can highlight the text, open the command palette with ctrl + shift + p, and select 'Execute Anonymous with currently selected text'. Keep in mind this runs from the sf org, so you will need to deploy to the sf org first.
      If you want a scratch pad to write execute anonymous, you can find a place in scripts->apex-> hello.apex and write any commands you desire.