-
Notifications
You must be signed in to change notification settings - Fork 136
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
Parse incomplete text #1146
Parse incomplete text #1146
Conversation
@michalmuskala Would it be possible to review/merge/release WhatsApp/erlfmt#325 ? Then we wouldn't need to pin the fork for |
This is amazing! It should drastically improve ergonomics while writing new code. |
rebar.config
Outdated
@@ -12,7 +12,8 @@ | |||
, {docsh, "0.7.2"} | |||
, {elvis_core, "1.1.1"} | |||
, {rebar3_format, "0.8.2"} | |||
, {erlfmt, "1.0.0"} | |||
%%, {erlfmt, "1.0.0"} | |||
, {erlfmt, {git, "https://github.com/gomoripeti/erlfmt.git", {branch, "parser_error_loc"}}} %% Temp until PR is merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree, this PR should only be merged after the erlfmt PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gomoripeti If this is the only thing left, should we merge this and bump it as a follow up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should add a hash or tag instead of a branch.
Michal provided some feedback on the PR so my branch might need modifications (and might move)
d83f9e2
to
3967521
Compare
In case of unparsable forms, try removing some trailing tokens, this way the first half of the form could be parsed and POIs extracted. related to erlang-ls#1037
3967521
to
0811438
Compare
Thanks! |
In case of unparsable forms, try removing some trailing tokens, this way the
first half of the form could be parsed and POIs extracted.
related to #1037