Context (Right-Click) Menu

Force.com IDE is in a maintenance-only state. We still provide support for the product through our official channels, but updates prior to October 12, 2019 will be only for critical security issues that arise. On October 12, 2019, we will no longer provide support or updates of any kind for Force.com IDE. On that date, we will also begin archiving documentation and removing download links for the product. We recommend that you start migrating to Salesforce Extensions for Visual Studio Code or one of the great tools made by our partners. For more information, see The Future of Salesforce IDEs on the Salesforce Developers Blog.

Warning

To access the context menu, right-click an object in the Package Explorer and scroll down to Force.com (or press the period key (“.”) to jump to the Force.com menu). The options in the menu depend on the item selected. In addition to the-specific options below, the right-click menu provides access to standard actions, including search and delete.

Menu Item Description
Add Nature Enables functionality for a project. Use this option when you check out a project from source control to associate the project with Lightning Platform. Available at project level only.
Remove Nature Disables functionality for a project. Available at project level only.
Work Offline Disables all implicit server communication. In offline mode, saving files and compiling code is done locally by default, but you can still save to the server by using Save to Server. Available at project level only.
Work Online Re-enables implicit server communication. In online mode, saving a file saves the file locally and on the server. Available at project level only.
Execute Anonymous Executes anonymous blocks of code and commits to the database if successful. For more information, see Execute Anonymous View.
Show in Salesforce Web Displays the selected component in the default Web browser. This action automatically logs you in based on your project's connection settings, and is a handy way to immediately see the changes you've made.
Upgrade Project Upgrades the project to the latest version. For more information, see Upgrade Project.
Refresh from Server Replaces the current project definition with the server definition. You can refresh individual components, folders, or the entire project. For more information, see Refresh from Server.
Save to Server Saves project files to the server if you are working in offline mode. For more information, see Save to Server.
Synchronize with Server Synchronizes your project and server. For more information, see Server Synchronization.
Deploy to Server Deploys components to the server. You can deploy individual files, folders, or an entire project. For more information, see Deploy Code with the Force.com IDE.
Add/Remove Metadata Components Configures the server metadata components to be synchronized with the project. For more information, see Add or Remove Metadata Components.
Project Properties Opens the Project Properties dialog. For more information, see Project Properties. Available at project level only.