Skip to content

custom_modes.yaml not found when vscode settings configure roo-cline.customStoragePathΒ #7154

@jimweller

Description

@jimweller

App Version

3.25.16

API Provider

AWS Bedrock

Model Used

n/a

Roo Code Task Links (Optional)

n/a

πŸ” Steps to Reproduce

configure vscode settings.json to use customStoragePath
"roo-cline.customStoragePath": "/Users/SOMEBODY/.roo"

create a custom_modes.yaml file in /Users/SOMEBODY/.roo/settings/custom_modes.yaml

πŸ’₯ Outcome Summary

Expected custom modes to show. Only default modes show.

πŸ“„ Relevant Logs or Errors (Optional)

getCustomModesFilePath() is using ensureSettingsDirectoryExists() which never engages getStorageBasePath()

So, CustomModesManager never finds custom_modes.yaml

https://github.com/RooCodeInc/Roo-Code/blob/f3864ffebba8ddd82831cfa42436251c38168416/src/utils/globalContext.ts#L10

https://github.com/RooCodeInc/Roo-Code/blob/f3864ffebba8ddd82831cfa42436251c38168416/src/core/config/CustomModesManager.ts#L249

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Issue [Needs Scoping]

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions