From d3be53b37611098437ad1ec0a85275fcba10e3a2 Mon Sep 17 00:00:00 2001 From: Pierre Lehnen <55164754+pierre-lehnen-rc@users.noreply.github.com> Date: Mon, 11 Dec 2023 12:16:32 -0300 Subject: [PATCH] chore: Add Project File for Sublime Text (#31168) --- .gitignore | 4 +++- .sublime-project | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 .sublime-project diff --git a/.gitignore b/.gitignore index 3fcb40b0361..13ee265952b 100644 --- a/.gitignore +++ b/.gitignore @@ -45,4 +45,6 @@ yarn-error.log* .idea/ .exrc .history -.envrc \ No newline at end of file +.envrc + +*.sublime-workspace diff --git a/.sublime-project b/.sublime-project new file mode 100644 index 00000000000..d0659c9a1fc --- /dev/null +++ b/.sublime-project @@ -0,0 +1,55 @@ +{ + "folders": + [ + { + "name": "Monorepo Root", + "path": ".", + "folder_exclude_patterns": [ + "//apps/meteor", + "//packages", + "//ee/apps", + "//ee/packages" + ], + }, + { + "name": "Rocket.Chat", + "path": "./apps/meteor", + }, + { + "name": "Packages", + "path": "./packages", + }, + { + "name": "Enterprise Apps", + "path": "./ee/apps", + }, + { + "name": "Enterprise Packages", + "path": "./ee/packages", + } + ], + "settings": { + "LSP": { + "LSP-typescript": { + "enabled": true, + "disabled_capabilities": { + // Uncomment the line below to load auto complete suggestions from sublime's index instead of typescript. + // The index is much faster, but doesn't filter out results based on the current context. + + // "completionProvider": true, + }, + }, + "LSP-eslint": { + "settings": { + // If node path is not automatically detected, you can specify it here (use the global eslint settings if you have a global node) + // "nodePath": null + "workingDirectories": [ + { + "mode": "auto", + } + ], + }, + }, + }, + }, +}