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
I can't seem to find anything regarding my question, I'm a relative novice user of rubocop.
Is it possible to only apply fixes to a part of the file?
e.g. in vim I select some region of text, or my cursor is on a specific line or on an issue, and I only want to fix that one thing or those selected lines, and not do the whole file?
I'm more familiar with libclang based tools (ccls, clang-format, clang-tidy) for C++ development, which allow for this kind of behavior.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I can't seem to find anything regarding my question, I'm a relative novice user of rubocop.
Is it possible to only apply fixes to a part of the file?
e.g. in vim I select some region of text, or my cursor is on a specific line or on an issue, and I only want to fix that one thing or those selected lines, and not do the whole file?
I'm more familiar with libclang based tools (ccls, clang-format, clang-tidy) for C++ development, which allow for this kind of behavior.
Beta Was this translation helpful? Give feedback.
All reactions