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
basically when this mode is set, all comments are simply replaced with whitespace in such a way that surrounding code is at precisely the same file offset (and by implication the same line and column) as the original file.
Why might one need this?
I'm writing code to seach files for tokens etc and drop you into an editor at the correct location.
It's not ideal if there are comments that include the search items and this generates false hits.
If there was a way to white out everything that is not actual code, without losing the structural integrity of the file in terms of where the search terms are this would be a huge benefit.
The text was updated successfully, but these errors were encountered:
Add an option to "preserve token positioning"
basically when this mode is set, all comments are simply replaced with whitespace in such a way that surrounding code is at precisely the same file offset (and by implication the same line and column) as the original file.
Why might one need this?
I'm writing code to seach files for tokens etc and drop you into an editor at the correct location.
It's not ideal if there are comments that include the search items and this generates false hits.
If there was a way to white out everything that is not actual code, without losing the structural integrity of the file in terms of where the search terms are this would be a huge benefit.
The text was updated successfully, but these errors were encountered: