mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-15 16:15:12 +00:00
Merge pull request #1131 from cx-alberto-simoes/feature/configurable-serena-folder-location
feat: add configurable project_serena_folder_location setting Add a new `project_serena_folder_location` setting to `serena_config.yml` that allows configuring where the per-project `.serena` data folder (memories, caches) is stored, with `$projectDir` and `$projectFolderName` placeholder support (default: `$projectDir/.serena`, preserving current behavior). Resolves #1123 Co-authored-by: Dominik Jain <dominik.jain@oraios-ai.de>
This commit is contained in:
1 parent
4353fd34dd
commit
58efe413e3
13 files changed
+418
-76
No files matched your search
@@ -43,9 +43,10 @@ class TestGroovyLanguageServer:
|
||||
repo_path = str(cls.test_repo_path)
|
||||
config = LanguageServerConfig(code_language=Language.GROOVY, ignored_paths=[], trace_lsp_communication=False)
|
||||
|
||||
project_data_path = os.path.join(repo_path, SERENA_MANAGED_DIR_NAME)
|
||||
solidlsp_settings = SolidLSPSettings(
|
||||
solidlsp_dir=str(Path.home() / ".serena"),
|
||||
project_data_relative_path=SERENA_MANAGED_DIR_NAME,
|
||||
project_data_path=project_data_path,
|
||||
ls_specific_settings={Language.GROOVY: groovy_settings},
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user