soutaro / rbs-inline

Inline RBS type declaration
MIT License
175 stars 6 forks source link

Suggestion: Enable automatically without writing `# rbs_inline: enabled` #14

Closed sinsoku closed 2 months ago

sinsoku commented 2 months ago

It is tedious to insert the magic comment # rbs_inline: enabled into a file every time we start writing RBS type declarations.

It would be nice to be able to omit the magic comment, because if there is # @rbs or #:: in the comment, it is obvious that the type definition is written for rbs-inline.

soutaro commented 2 months ago

if there is # @rbs or #:: in the comment, it is obvious that the type definition is written for rbs-inline

It makes sense. 💡