.cursorrules not followed and missing docs?

Hey all,

I am trying to make cursor follow some style rules and by asking it how it can do that it suggested to use .cursorrules. It updated the config file itself and followed it when instructed to do so.

The problem is, that if cursor is not instructed to follow .cursorrules, it will not follow them. In particular, i am interested in a certain way to sort function from top to bottom, following the execution flow. When pressed for this, cursor created this configuration part:

  "functionPositioning": {
    "hierarchy": [
      "mainExportedFunction",
      "primaryFunctions",
      "helperFunctions"
    ],
    "mainExportedFunction": "top",
    "primaryFunctions": "afterMain",
    "helperFunctions": "bottom"
  }

Again, these rules are never followed unless i specifically instruct cursor to match the rules in that file - forcing a second edit and call (and API usage).

I was not able to find any documentation related to .cursorrules, are these configs valid or is cursor hallucinating config files to make me happy?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.