-
-
Notifications
You must be signed in to change notification settings - Fork 25
code lines removed with partial line comment #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@joshiraez Thoughts? |
Looking at it. |
Ok so the problem is in this rule. I'm having problems setting the code up (I'm etting problems with the json library just like in old times in this laptop and ashdkjahejknsakjdnskjad I'll get to slack to get support eventually as I plan to do some progress on this during xmas, but i'm digressing) but from the trace I'm quite sure this is what's happening So Look for This means that in the test case:
What is being skipped by that rule is this:
In fact with the current rules this will be the result I believe
It should work if you set the just flag for everyone (this is something I have had in mind for a while and plan on "improve" in the new version of the extended extractor). I'm thinking on how to avoid the inside comments right now.
I can't try it out right now (because the project doesn't compile in my pc because it can't find the json library and ahhgahghagh) but please try that out and tell me if it works. Also the second part, it's really not supported right now in the extractor as we have no way to tell it "hey, don't parse stuff in string literals". I have been thinking about that also, to add some kind of negative to skip places where it shouldn't parse. I'm seeing now that it'll have to be supported Also sorry it took this so long but I moved recently ON TOP OF EVERYTHING so I barely have any time these days. I'll work on the snippet extractor as well with some new ideas that should help with this. |
Hi! Thanks for looking at this. I did not expect string bypass to work, I just wanted to emphasize the issue. I'll check your language setup in a minute. |
This seems to be OK now. Closing, thanks. |
I'm trying to add Red support for extractor.
During CI tests extractor removed these lines altogether, not only comments and trailing whitespace:
see discussion
My language config looks like this:
The text was updated successfully, but these errors were encountered: