Scan your code against multiple rule engines to produce lists of violations and improve your code.
The Salesforce Code Analyzer Extension enables Visual Studio (VS) Code to use Salesforce Code Analyzer to interact with your code.
For documentation, visit the Salesforce Code Analyzer VS Code Extension documentation.
To report issues with the Salesforce Code Analyzer VS Code Extension, create a bug on Github. To suggest a feature enhancement, create a request on Github.
- Developer Doc: Salesforce CLI Command Reference
- Developer Doc: Salesforce Code Analyzer
- Developer Doc: Salesforce DX Developer Guide
- Developer Doc: Salesforce Extensions for Visual Studio Code
- Trailhead: Quick Start: Salesforce DX
Currently, Visual Studio Code extensions aren't signed or verified on the Microsoft Visual Studio Code Marketplace. Salesforce provides the Secure Hash Algorithm (SHA) of each extension that we publish. To learn how to verify the extensions, consult Manually Verify the salesforcedx-vscode Extensions' Authenticity.
Terms of Use for the Code Analyzer VS Code Extension
Copyright 2023 Salesforce, Inc. All rights reserved.
These Terms of Use govern the download, installation, and/or use of the Code Analyzer VS Code Extension provided by Salesforce, Inc. (“Salesforce”) (the “Extension”).
License: Salesforce grants you a non-transferable, non-sublicensable, non-exclusive license to use the Extension, at no charge, subject to these Terms. Salesforce reserves all rights, title, and interest in and to the Extension.
Feedback: You agree to provide ongoing feedback regarding the Extension, and Salesforce shall have a royalty-free, worldwide, irrevocable, perpetual license to use and incorporate into its products and services any feedback you provide.
Data Privacy: Salesforce may collect, process, and store device, system, and other information related to use of the Extension. This information may include, but is not limited to, IP address, user metrics, and other data (“Usage Data”). Salesforce may use Usage Data for analytics, product development, and marketing purposes. You are solely responsible for anonymizing and protecting any sensitive or confidential data.
No Warranty: THE EXTENSION IS NOT SUPPORTED AND IS PROVIDED “AS-IS,” EXCLUSIVE OF ANY WARRANTY WHATSOEVER, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE. SALESFORCE DISCLAIMS ALL IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW. The Extension may contain bugs, errors, and/or incompatibilities, and its use is at your sole risk. You acknowledge that Salesforce may discontinue the Extension at any time, with or without notice, in its sole discretion, and may never make it generally available.
No Damages: IN NO EVENT SHALL SALESFORCE HAVE ANY LIABILITY FOR ANY DAMAGES WHATSOEVER, INCLUDING BUT NOT LIMITED TO DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES, OR DAMAGES BASED ON LOST PROFITS, DATA, OR USE, HOWEVER CAUSED AND, WHETHER IN CONTRACT, TORT, OR UNDER ANY OTHER THEORY OF LIABILITY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Governing Law: These Terms and the Extension shall be governed exclusively by the internal laws of the State of California, without regard to its conflicts of laws rules. You and Salesforce agree to the exclusive jurisdiction of the state and federal courts in San Francisco County, California.