This feature is helpful if a server, that holds the sources of the project files, is down. The statuses of files and directories become irrelevant, and you are unable to work with the local copy of the project. To avoid such situation, you need to refresh the status of your source files.
When this command is applied, RubyMine refreshes the status of each file, no matter whether the file has been changed from RubyMine itself or using any other application.
When working under Perforce control, you can run refresh in two modes:
- Standard Refresh takes into consideration only the changes made through the RubyMine integration with Perforce. This improves performance because does not require connecting to the server. However, this approach does not let you know about the changes made outside RubyMine, for example, right through the p4v client application.
- Force Refresh considers all the changes made to project, both from RubyMine and from any other application, for example, right through p4v client.
The status of a file is refreshed only in accordance with the changes in your local workspace. Any changes on the server can be reflected only through synchronization.
- On the main menu, choose .
- In the Changes tool window, press Ctrl+F5Ctrl+F5Ctrl+5Ctrl+F5Ctrl+F5Ctrl+Alt+RCtrl+F5Ctrl+F5Ctrl+Alt+RCommand RControl F5Command RControl Alt R.
- In the Changes tool window, click the Refresh toolbar button .
For Perforce integration, do one of the following:
- To run Standard Refresh, click the Refresh toolbar button or press Ctrl+F5Ctrl+F5Ctrl+5Ctrl+F5Ctrl+F5Ctrl+Alt+RCtrl+F5Ctrl+F5Ctrl+Alt+RCommand RControl F5Command RControl Alt R.
- To run Force Refresh, click the Force Refresh toolbar button .