Configuring Visual Studio to work with Component Manager ".es" script files

Less than one minute read time.

The Sage CRM Component Manager uses the file extension .ES for its script files. These files contain JavaScript code that can be modified to customize various aspects of Sage CRM.

The .es files are located on the Sage CRM server in the %ProgramFiles(x86)%\Sage<InstallPath><InstallName>\inf directory.

To associate the ".es" file extension with JavaScript syntax in Visual Studio, you can follow these steps:

  1. Launch Visual Studio.
  2. Go to Options:
  3. Click on "Tools" in the menu bar.
  4. Select "Options" from the dropdown.
  5. Navigate to Text Editor:
  6. In the Options window, expand the "Text Editor" node in the left-hand pane.
  7. Choose File Extension:
  8. Add "ES" to the existing list of file extensions.
  9. Set the language version or syntax to JavaScript.
  10. Apply Changes:
  11. Click "OK" to apply the changes and close the Options window.
  12. Close and reopen Visual Studio for the changes to take effect.

Visual Studio will then recognize Sage CRM ".ES" files as JavaScript and apply the appropriate syntax highlighting and features.