PR-style inline comments for any file — no repo required.
FileMark brings the familiar GitHub pull-request review experience into VS Code for any file — LaTeX, Markdown, Python, JavaScript, plain text, anything. Add comment threads directly on selected text, persist them across sessions, and export them as structured Markdown for review or AI processing.
Features
- Inline comment threads on any selected text in any file type
- Persists across sessions — comments survive closing and reopening VS Code
- Export to Markdown — generates a
.feedback.mdfile next to each annotated source file, structured for easy downstream processing - Gutter button — click
+in the margin to add a comment without leaving the keyboard - Keyboard shortcut —
Ctrl+Alt+Fto add a comment at the current selection - Works everywhere —
.tex,.md,.py,.js,.txt,.r, and any other text file
Usage
Add a comment
- Select text in any file
- Press
Ctrl+Alt+F(or right-click → Add FileMark Comment) - Type your feedback and click Submit Feedback
Export all comments
Open the Command Palette (Ctrl+Shift+P) → FileMark: Export Feedback to Markdown
A .feedback.md file is written next to each annotated source file and opened in a side-by-side view.
Other shortcuts
| Action | Shortcut |
|---|---|
| Add comment | Ctrl+Alt+F |
Toggle gutter + button |
Ctrl+Alt+G |
| Export all comments | Command Palette → FileMark: Export Feedback to Markdown |
| Clear all comments | Command Palette → FileMark: Clear All Comments |
Exported Markdown format
# Feedback: chapter01.tex
File: `/path/to/chapter01.tex`
Exported: 2026-06-04 14:32:00
---
## Comment 1 (lines 21–23)
**Selected text:**
The degree of a vertex v is the number of edges...
**Feedback:** This definition needs a clarifying example.
---
Pass the .feedback.md file to your AI assistant, a collaborator, or a custom script to process the feedback.
Why FileMark?
| Tool | Requires repo/PR | Works on any file | Exports to Markdown | Persists locally |
|---|---|---|---|---|
| FileMark | ✗ | ✓ | ✓ | ✓ |
| GitHub PR Comments | ✓ | ✗ | ✗ | ✗ |
| CodeTour | ✗ | ✓ | ✗ | ✓ |
| Todo Tree | ✗ | ✓ | ✗ | ✓ |
| Bookmarks | ✗ | ✓ | ✗ | ✓ |
Support
If FileMark saves you time, consider supporting its development:
License
MIT
