trypear / pearai-app

The Open Source AI-Powered Code Editor. A fork of VSCode and Continue.
https://trypear.ai
Other
1.7k stars 274 forks source link

[1][Medium][App] New `@Directory` command #306

Closed Fryingpannn closed 4 days ago

Fryingpannn commented 2 weeks ago

Currently, there are prompts which, although may not require codebase context (other code), but would benefit from knowing simply the folder directory of current project. E.g. when creating files, the chat needs to know what the directory is and where to create them.

It should include something like

./
├── index.html
├── package.json
├── vite.config.js
└── src
    ├── App.jsx
    ├── App.css
    ├── main.jsx
    └── index.css

How to create custom @ command: https://docs.continue.dev/customization/context-providers#building-your-own-context-provider

More context (cc: @Himanshu-Singh-Chauhan): https://discord.com/channels/1237009981803462729/1280210117601792000/1281474191534592060

Fryingpannn commented 2 weeks ago

@Himanshu-Singh-Chauhan is tackling this