Open a File for Preview

Do one of the following in the AWS Cloud9 IDE to open a file preview tab within the
environment:

In the Environment window, right-click the file you want to preview, and then choose Preview.

Note

Although you can use this approach to preview any file, preview works best with files
that
have the following file extensions:

.htm

.html

.pdf

.svg

.xhtml

Any file containing content in Markdown format.

Open a file with one of the following file extensions:

.pdf

.svg

With the file you want to preview already open and active, on the menu bar, choose
Preview, Preview File FILE_NAME. Or
choose Tools, Preview, Preview File FILE_NAME, where FILE_NAME is the name of
the file you want to preview.

Note

These commands work only with the following file types:

.htm

.html

.markdown

.md

.pdf

.svg

.txt: Preview works best if the file's content is in Markdown format.

.xhtml: Preview works best if the file contains or references content presentation
information.

Note

The Preview Settings menu in the file preview tab is currently not functional and
choosing any of its menu commands will have no effect.

Reload a File Preview

On the file preview tab, choose the Refresh button (the circular arrow).

Change the File Preview Type

On the file preview tab, choose one of the following in the preview type list:

Browser: Previews the file in a web browser format, for the following file types
only:

.htm

.html

.pdf

.svg

.xhtml: Preview works best if the file contains or references content presentation
information.