Skip to content

Script.py naming convention makes search difficult  #894

@sillkjc

Description

@sillkjc

Hi,
A minor issue but its a little bit of a QOL pet peeve. Since states scripts are all called script.py it becomes difficult to see the context of a search result in most IDE's. You have to resort to the path to determine what state the script belongs to. In some cases, as shown below, this is impossible to see without clicking on each one individually. You should be able to get some context from the filename, but instead we need to use the file location:
image

Git commit window in Pycharm:
image

Searching by file name is also difficult (and will get worse when we produce hundreds of states:
image

Would it be possible to include an option to name the script uniquely based on the state name?
Many thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions