
In Visual Studio Code, open the Command Palette by pressing Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS). Now that you've installed Visual Studio Code and enabled the necessary extensions, you need to test them out. Search for Salesforce Extension Pack and click Install.Įnsure Your Development Environment Is Ready. On the left toolbar, click the Extensions icon. If you already have Visual Studio Code installed, there's no need to reinstall it.
Download and install the latest version of Visual Studio Code for your operating system. Once you install the right JDK, use the following link to configure your setup: If you have another version of Java installed, you need to also install JDK 17, JDK 11, or JDK 8. It requires an installation of either JDK version 17 (Recommended), JDK version 11, or JDK version 8. I will probably give Rider and Visual Studio Mac a look to see whether they fare better on the above the points as I don't think VS Code will work for me.Some features, particularly Apex support, in Salesforce Extensions for Visual Studio Code depend on the Java Platform, Standard Edition Development Kit (JDK). That plus the recent announcements that Unity will stop shipping MD with 2018 led me to try VS Code. Clearly some memory leak issues that were never addressed.
Hated than MD crashed at least twice a day on OSX.I do like the code outline that displays in the right rail.The MD cmd+b first pass build was really nice for refactoring because it would immediately show you all issues in a search results window.Probably there is a setting to turn this off but I don't see it. Clicking on a search result for a line in a file that is already opened seems to open a new instance of the file rather than moving the pointer in the currently opened one.The formatting of the results is also very odd. I actually prefer the results on the bottom as MD did it because I generally use Split editing. If someone knows an extension that fixes this let me know Pressing enter in a statement doesn't auto indent. code formatting/beautify is terrible on VSCode.Just switched from MonoDevelop to VS Code on OSX and here are my thoughts so far: