File Editor
The file editor in this application provides a powerful, in-browser code editing experience.
Last updated
The file editor in this application provides a powerful, in-browser code editing experience.
Last updated
In the file tree on the left side of the application, click on any file to open it in the editor.
The editor will open in a modal window, taking up most of the screen.
The editor automatically detects the file type based on its extension and applies appropriate syntax highlighting.
Supported languages include JavaScript, Python, HTML, and CSS.
Line numbers are displayed on the left side of the editor for easy reference.
The editor automatically closes brackets, parentheses, and quotes as you type.
Click on the arrow icons in the gutter to fold or unfold sections of code.
Use Ctrl-F (or Cmd-F on Mac) to open the search bar.
Use Ctrl-H (or Cmd-Option-F on Mac) to open the replace function.
Hold Ctrl (or Cmd on Mac) and click to add multiple cursors.
Use Ctrl-/ (or Cmd-/ on Mac) to toggle comments for the selected lines.
The editor maintains proper indentation as you type.
Use Tab to indent and Shift-Tab to un-indent.
Changes are automatically saved when you close the editor.
Click the "Close" button in the top-right corner of the editor to save and close.
Ctrl-F / Cmd-F: Find
Ctrl-H / Cmd-Option-F: Replace
Ctrl-/ / Cmd-/: Toggle comment
Ctrl-Z / Cmd-Z: Undo
Ctrl-Y / Cmd-Shift-Z: Redo
Tab: Indent
Shift-Tab: Un-indent
The editor provides enhanced support for:
JavaScript
Python
HTML
CSS
For other file types, basic syntax highlighting and editing features are still available.
The editor auto-saves on close
Use code folding for long files to improve navigation.
Utilize multiple cursors for efficient batch editing.
If syntax highlighting isn't working correctly, check if the file has the correct extension.
If you encounter any issues, try refreshing the page or reopening the file.
For any persistent issues or feature requests, please contact the development team.
When enabled, papertlab automatically commits changes to your Git repository. To toggle:
Go to Settings.
Find the "Auto-Commit" toggle.
Turn it on or off as desired.