Skip to main content
Version: 3.x

Editor setup

Configure your editor to work with Front-Commerce

Indexing Front-Commerce documentation in your editor's AI assistantโ€‹

Front-Commerce documentation comes ready with llms.txt, llms-full.txt and llms-all.txt files that can be used to index the documentation in your editor's AI assistant.

To use it, you need to add the following to your editor's configuration:

Cursorโ€‹

  1. Press Ctrl+Shift+P and type Add new custom docs
  2. Add this URL: https://developers.front-commerce.com/llms-all.txt
  3. In the Chat window, you can now type @Front-Commerce to provide Front-Commerce documentation to Cursor.

VSCode + Copilotโ€‹

  1. Download the Front-Commerce documentation llms.txt file
curl -L https://developers.front-commerce.com/llms-full.txt --create-dirs -o .vscode/front-commerce.md
  1. In .vscode/settings.json, add this:
{
"github.copilot.chat.codeGeneration.instructions": [
{
"file": "./.vscode/front-commerce.md"
}
]
}

Other IDEsโ€‹

If you're using another IDE and would like to know how to use llms.txt and llms-full.txt with it, please contact us.

Alternative: ChatGPT / Claudeโ€‹

You can also ask Front-Commerce related question to ChatGPT or Claude. In order to do so, you will need to copy the content of https://developers.front-commerce.com/llms-full.txt and paste it in your prompt.

Once that step is done, both AI will have access to the Front-Commerce documentation.