Samuel,
Thanks for the note, I'll look into it. It wouldn't be too difficult, but
the main issue would be reliability because it is sometimes difficult to
distinguish between code block braces and hash braces, and between a bare
word and a word that has been defined to be a sub call without arguments.
Also, it would be important to be able to reverse the process.
Steve
On Thu, Apr 14, 2016 at 9:33 PM, Samuel Smith via RT <
bug-Perl-Tidy@rt.cpan.org> wrote:
Show quoted text> Fri Apr 15 00:33:15 2016: Request 113803 was acted upon.
> Transaction: Ticket created by ESAYM
> Queue: Perl-Tidy
> Subject: Auto quote hash keys
> Broken in: (no value)
> Severity: Wishlist
> Owner: Nobody
> Requestors: ESAYM@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=113803 >
>
>
> Would be super awesome if there was an option to auto quote hash keys. Ex.
> turn $myhash{somekey} into: $myhash{'somekey'}.
>
> Some like quoted keys.. and some don't. Would be nice if I didn't have to
> worry about it :)
>
> Regards,
> Samuel Smith
>