DEV Community

Cover image for A Simple Way to Communicate Your Code with LLMs: Syntax Extractor
Josef Nobach
Josef Nobach

Posted on

1

A Simple Way to Communicate Your Code with LLMs: Syntax Extractor

Syntax Extractor

Hi everyone! I've put together a little tool that’s been helping me a lot in my own coding workflow, and I thought maybe it could be useful for you too. It’s called Syntax Extractor, a Visual Studio Code extension that makes it easier to extract and organize your project's code structure.

Syntax Extractor for VScode

What it does is pretty simple:

It extracts the entire code structure of your project—folders, file trees, file types, and all the code—so you can easily share it or use it with Large Language Models (LLMs).
You can copy the extracted data to your clipboard and paste it into any LLM or documentation without hassle.
There’s a neat interactive webview that lets you browse your project’s structure visually see how much tokens and chars yourcodebase has.

I’ve found it really helpful for making sense of larger projects and communicating with AI tools, and I hope it can help you too. You can find it on the VSCode Marketplace here: Syntax Extractor

I’d love to hear your thoughts if you give it a try!

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more