You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
For example, in RubyMine, there's a feature where something such as:
forain[*0...10]
RubyMine will automatically recommend you to change the for statement to a each do statement. This also applies to something like when you use if with a negative statement (in which case unless is recommended), etcetera.
This requires a centralised style guide or linter, however.
The text was updated successfully, but these errors were encountered:
Hi, I already implementing basic Code Actions (including support for RubyMine 🎉 ) although I think scry doesn't support code style suggestions yet, I guess we can include ameba tool for this, @veelenga WDYT?
However, ameba is able to find such piece of code, not to change it. To automatically correct (while clicking a light bulb in RubyMine), we need to implement the autocorrect feature crystal-ameba/ameba#34
For example, in RubyMine, there's a feature where something such as:
RubyMine will automatically recommend you to change the
for
statement to aeach do
statement. This also applies to something like when you useif
with a negative statement (in which caseunless
is recommended), etcetera.This requires a centralised style guide or linter, however.
The text was updated successfully, but these errors were encountered: