Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To save others like me having to look this up, this is part of a prompt for an LLM. I assume it's prepended to the developer's "questions".

At first I thought this was directed at people. I really dislike that you can't tell it's not meant for people, unless you happen to know what "cursor rules" is.

My question is, why is this included as part of a code repo? Wouldn't this be like me including my Emacs config in every repo I touch?



I think it’s more like .editorconfig, included in the repo for consistency between contributors.

Also, it’s not uncommon to have IDE configs in large repos, in my experience in corpoland most developers don’t start with an already configured editor. They don’t care about Intellij vs VsCode, they just want to write PRs right now.


If your emacs config is (1) specific for each repo and (2) needs to be shared with other developers, it makes sense to add it to the repo.


Why would you need to share this? Isn't it an individual developer's preferences?


If it is, there's no reason to share it. If there are some org wide prefs needed to be "enforced", then there is a reason.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: