Have you ever needed to extract specific parts of code to create a tutorial, technical documentation, or even educational content?
What if you could do this by marking directly in the file itself, without breaking your workflow, and even automate the extraction?
Allow me to introduce LookAtni File Markers โ a VSCode extension that gives you superpowers using just comments!
๐ง How it works
You mark blocks using a simple, visual syntax:
//โ/ docs/start.md /โ//
The extension recognizes this as a โvisual marker.โ It lets you:
- Navigate through these points as if they were anchors in VSCode
- Extract the marked blocks to external files
- Validate, reorder, synchronizeโฆ all automatically
๐ธ See it in action
๐งฐ Use cases
- ๐ Technical documentation โ extract snippets directly from code to keep examples always updated
- ๐จโ๐ซ Educational content โ assemble lessons, tutorials, and PDF materials from live code
- โ Code reviews โ mark crucial points for reviewers
- โ๏ธ CI/CD pipelines โ use markers to generate temporary files or validate structure
๐ง Built-in CLI (coming soon)
lookatni extract src/
lookatni validate
Perfect for integration with GitHub Actions or build pipelines.
๐ฆ Install now
Get it from the VSCode Marketplace or via the Command Palette:
ext install rafa-mori.lookatni-file-markers
โค๏ธ Open Source
This project is fully open source:
https://github.com/rafa-mori/lookatni-file-markers
If you enjoy it, please โญ the repo and share any feedbackโyouโre more than welcome!
Create living structure within your files.
Mark. Extract. Automate.

Top comments (0)