Helix TeamHub User Guide (2020.1 Enterprise)

Code browser views

Note

Helix TeamHub supports editing and committing from the UI for Mercurial, WebDAV, Git, and Helix Git repositories.

TeamHub provides a browser view of code stored in a particular repository. The browser view presents the code in a more accessible, readable form. It also lets you edit the code and commit your changes to the repository.

View code

  • Click a file name.

    Code browser view

  • The number of spaces used to represent a tab can be set between 1 and 8. To change the number of spaces used, set Tab-size from the gear icon above the file (not available for Microsoft Internet Explorer).

Edit code

  1. In the top right, click Edit file. The view switches to edit mode.

    Edit file button
  2. Make any required changes.
  3. Optional: Enter a comment to be submitted with the commit.
  4. Click Commit changes at the bottom of the code page to save your changes and submit them to the repository.

    Commit changes button

TeamHub may encounter difficulties displaying file content in browser view if the file:

  • Is empty
  • Is too long/big
  • Contains unreadable content

In these cases, TeamHub displays the following message:

This file is empty or its contents cannot be displayed. Click here to download the file.

On the Raw tab, you can always view file content in plain code view.

Raw code browser view

Tabs

  • The History tab provides the complete commit history for the file.

    History code browser view

  • The View raw tab displays the file content in plain code view.

    Raw code browser view

  • Click the Download tab to download the file.

  • The Share option lets you copy a Temporary URL that expires after 24 hours or a Permanent URL that you can share with others.

    Tip

    File sharing must be enabled for the company, see Feature settings.

    Share code browser view