mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:45:53 +00:00
[CURSOR] Add Cursor AI project settings (#7752)
AI-friendly development for the future. JIRA issue: CORE-20011 - Reduce time and cost on using Cursor AI. - Improve interoperability with Cursor AI. - Add .cursor folder and some files. - Modify .gitignore.
This commit is contained in:
parent
f844296b0a
commit
0898bd371d
4 changed files with 119 additions and 0 deletions
19
.cursor/coding-style.json
Normal file
19
.cursor/coding-style.json
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"indentation": {
|
||||||
|
"type": "spaces",
|
||||||
|
"size": 4
|
||||||
|
},
|
||||||
|
"lineLength": 100,
|
||||||
|
"braceStyle": "allman",
|
||||||
|
"namingConventions": {
|
||||||
|
"functions": {
|
||||||
|
"public": "PascalCase",
|
||||||
|
"private": "_PascalCase"
|
||||||
|
},
|
||||||
|
"variables": {
|
||||||
|
"local": "camelCase",
|
||||||
|
"global": "PascalCase",
|
||||||
|
"constants": "UPPER_CASE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
52
.cursor/editor.json
Normal file
52
.cursor/editor.json
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
{
|
||||||
|
"editor": {
|
||||||
|
"defaultFormatter": null
|
||||||
|
},
|
||||||
|
"[c,cpp]": {
|
||||||
|
"editor": {
|
||||||
|
"tabSize": 4,
|
||||||
|
"insertSpaces": true,
|
||||||
|
"detectIndentation": false,
|
||||||
|
"trimAutoWhitespace": true,
|
||||||
|
"formatOnSave": false,
|
||||||
|
"formatOnType": true,
|
||||||
|
"defaultFormatter": "clang-format",
|
||||||
|
"rulers": [100],
|
||||||
|
"wordWrap": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"files": {
|
||||||
|
"associations": {
|
||||||
|
"*.c": "c",
|
||||||
|
"*.h": "c",
|
||||||
|
"*.cpp": "cpp",
|
||||||
|
"*.hpp": "cpp"
|
||||||
|
},
|
||||||
|
"encoding": "utf8",
|
||||||
|
"trimTrailingWhitespace": true,
|
||||||
|
"insertFinalNewline": true,
|
||||||
|
"exclude": {
|
||||||
|
"**/.git": true,
|
||||||
|
"compile_commands.json": true,
|
||||||
|
"output-*": true,
|
||||||
|
"modules/optional": true,
|
||||||
|
"modules/3rdparty": true,
|
||||||
|
"modules/bootcd_extras": true,
|
||||||
|
"modules/livecd_extras": true,
|
||||||
|
"modules/hybridcd_extras": true,
|
||||||
|
"modules/[Aa][Hh][Kk]_[Tt]ests": true,
|
||||||
|
".cache": true,
|
||||||
|
".cproject": true,
|
||||||
|
".DS_Store": true,
|
||||||
|
".project": true,
|
||||||
|
".settings": true,
|
||||||
|
".vscode": true,
|
||||||
|
"sdk/tools/winesync/winesync.cfg": true,
|
||||||
|
"**/build": true,
|
||||||
|
"**/obj": true,
|
||||||
|
"**/bin": true,
|
||||||
|
"**/*.o": true,
|
||||||
|
"**/*.obj": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
46
.cursor/settings.json
Normal file
46
.cursor/settings.json
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{
|
||||||
|
"projectType": "reactos",
|
||||||
|
"language": {
|
||||||
|
"c": {
|
||||||
|
"standard": "c99",
|
||||||
|
"warnings": ["all", "error", "pedantic", "unused"],
|
||||||
|
"formatter": "clang-format",
|
||||||
|
"linter": "clang-tidy"
|
||||||
|
},
|
||||||
|
"cpp": {
|
||||||
|
"standard": "c++11",
|
||||||
|
"warnings": ["all", "error", "pedantic", "unused"],
|
||||||
|
"formatter": "clang-format",
|
||||||
|
"linter": "clang-tidy"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"codingStyle": "reactos",
|
||||||
|
"formatOnSave": false,
|
||||||
|
"lintOnSave": false,
|
||||||
|
"paths": {
|
||||||
|
"source": [
|
||||||
|
"base",
|
||||||
|
"boot",
|
||||||
|
"dll",
|
||||||
|
"drivers",
|
||||||
|
"hal",
|
||||||
|
"ntoskrnl",
|
||||||
|
"subsystems",
|
||||||
|
"win32ss"
|
||||||
|
],
|
||||||
|
"include": [
|
||||||
|
"sdk/include"
|
||||||
|
],
|
||||||
|
"docs": [
|
||||||
|
"**/*.md",
|
||||||
|
"media/doc/*.md",
|
||||||
|
"media/doc/*.txt"
|
||||||
|
],
|
||||||
|
"tests": [
|
||||||
|
"modules/rostests"
|
||||||
|
],
|
||||||
|
"build": [
|
||||||
|
"output-*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -13,3 +13,5 @@ modules/[Aa][Hh][Kk]_[Tt]ests
|
||||||
.settings
|
.settings
|
||||||
.vscode
|
.vscode
|
||||||
sdk/tools/winesync/winesync.cfg
|
sdk/tools/winesync/winesync.cfg
|
||||||
|
.cursor/cache/
|
||||||
|
.cursor/logs/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue