Skip to content

Rename .module files to .module.php #860

@BernhardBaumrock

Description

@BernhardBaumrock

Short description of the issue

Some modules in the core (like InputfieldForm) have a .module file ending. This can be a problem in several situations:

  • VSCode Extension "Intelephense" does not recognize those files as PHP files and there is unfortunately no way of telling it to index those files (so code Intellisense does not work)
  • Syntax Highlighting only works if you tell your IDE that it should treat .module files as .php files.

The second point is not a problem for most users, but it would not be necessary if we had .module.php files and for newcomers (or maybe also other services like tracy file editor or the like) it might also be nice not having to bother about this.

Optional: Screenshots/Links that demonstrate the issue

No InputfieldForm here:

img

Happy to hear your thoughts!

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