Skip to content

fix: Intelij Idea conditional folder create - Is not a valid identifier #1553

@EArminjon

Description

@EArminjon

Description

I want to create a folder and some files based on a variable.

Steps To Reproduce

  1. Open Intelij IDEA
  2. Create a new folder
  3. Enter {{#cubit}}{{name.snakeCase()}}{{\\cubit}}
  4. See error

Expected Behavior

I want a way to create some folder and files based on a variable inside my brick.yaml.

Screenshots

Image

Additional Context

This is a limitation from the IDE. But i think the current syntax based on special character can hit quickly many limits, is there any alternative to achieve the same output ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions