DEV Community

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

Posted on

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!

Top comments (0)