The Documents app lets you conveniently view and edit your code files. To learn more about this functionality, follow the article.
Add Code files to Documents
Documents supports php, .asp, .java, .sh, .css, .sql, .phtml, .pl, .pm, .py, .rb, .c, .js, .cl, .scm, .ss, .lisp, .cc, .cs, .cpp, .cxx, .m, .mm, .h, .swift code formats.
There are multiple ways you can add code files to Documents:
- Add files using the plus button at the bottom right
- Share files from other apps to Documents
- Download them from our built-in browser
- View & edit the files from any cloud storage connected to Documents without downloading them
View and edit your code files
Once a file is added to Documents, you can tap it to open it. For your convenience, Documents highlights the syntax in different colors while viewing the file. Please note that while editing, the syntax is not highlighted. To enter the edit mode, tap the iconat the bottom. Once the changes are applied, tap Save at the top right.
Once a file is added to Documents, you can tap it to open it. For your convenience, Documents highlights the syntax in different colors while viewing the file. Please note that while editing, the syntax is not highlighted. To enter the edit mode, tap the iconat the top. Once the changes are applied, tap Save at the top right.
Use search and add bookmarks
- To search through the contents of your file, tap the iconin the bottom right corner, type in your query, and tap Search on your keyboard. The search results will be highlighted, and you can navigate through them using the buttons in the bottom corners. When you finish with searching, tap Done at the top right.
- To get quick access to certain parts of the file, you can bookmark them. To add a bookmark, tap the iconin the bottom left corner and tap the Add new Bookmark button.
To manage your bookmarks, tap the iconin the bottom left corner and tap Edit at the top right. Here, you can rename, delete, and change the order of the bookmarks by dragging them.
- To search through the contents of your file, tap the iconat the top, type in your query, and tap Search on your keyboard. The search results will be highlighted, and you can navigate through them using the buttons < > at the top. When you finish with searching, tap Done at the top right.
- To get quick access to certain parts of the file, you can bookmark them. To add a bookmark, tap the iconat the top and tap the Add button.
To manage your bookmarks, tap the iconat the top and tap Edit at the top right. Here, you can rename, delete, and change the order of the bookmarks by dragging them.