Files
Subversion Support
Beanstalk Repositories
Annotations
iPad Screen Modes
Supported Source Types
You can checkout files stored in Subversion repositories from the Checkout view. In alternative, you can upload files to your device using a browser (when connected to your home/work network), use iTunes File Sharing, or download the file using the Download view.
Files can be deleted with a swipe gesture or from the My Files edit mode. To rename a file, touch and hold the file name for more than one second. Files inside working copies cannot be renamed.
Code Viewer 2 supports checkout, update, log (per directory) and, on the iPad, blame, log and diff. When a directory under version control is displayed in My Files, a toolbar appears from the bottom. Touch the svn options button to access the Update view, where you can update the working copy to the desired revision. Please keep in mind that shallow checkouts cannot be updated to a greater depth.
On the iPad, the blame, log and diff options can be reached from the svn options button on the top right corner after a file is loaded.
The repository settings are saved automatically after a successful checkout.
The repositories are identified by name. Select a repository, modify the settings as needed and change the value of 'Name'. The repository will be saved under the new name after the checkout.
The settings to checkout a Beanstalk hosted repository should be similar to the following:
Name | beanstalk-test |
Host | my_account_name.svn.beanstalkapp.com |
Path | repository_name/trunk |
Port | Default |
Method | HTTPS |
Revision | HEAD |
Checkout Subdirectories | CHECKED |
Username | my_beanstalk_username |
Password | ********* |
Trust Unknown Certificates | UNCHECKED |
Ignore Mismatched Hostname | UNCHECKED |
You can add annotations by touching a line number. To edit the annotation touch the line number or the highlighted area.
All recognized source types support annotations except HTML, XML and LaTex.
Annotations can be removed with a swipe gesture over the highlighted area or from the Annotations view.
On the left side of the toolbar you can find buttons to expand the main view (when in landscape mode) and to split the screen. When the screen is split, files are loaded in the upper view and bookmarks and annotations are disabled for the bottom view. You can double tap the bottom view title bar to switch the views (unless the bottom view is displaying differences or the version history).
Code Viewer 2 highlights: sh, bsh, csh, tcsh, zsh, ash, ps1, c, cc, cpp, cxx, m, mm, vb, vbs, bas, frm, cs, java, groovy, as, js, perl, pl, pm, py, rb, lua, php, phtml, ctp, cl, el, lisp, scm, erl, hrl, (x)htm(l), xml, xaml, plist, gsp, jsp, xib, tex, bib, ltx, dtx, sty, cls, bbx, cbx, lbx, hlsl, cg, fx, fxh, glsl, pas, dpr, dfm, bat, kix, cmd.
In addition, Code Viewer 2 is able to read PDF, iWork (.key, .numbers and .pages) and Office (.doc, .xls and .ppt) documents.
iWork '06, iWork '08 and rtfd documents must be zipped and retain both extensions to be recognized.