Skip to content
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

fix: Made commas be tokenized as punctuation operator instead of text in JSON #4703

Merged
merged 1 commit into from May 16, 2022

Conversation

andrewnester
Copy link
Contributor

Issue #, if available: #4701

Description of changes:
Changed JSON parsing to tokenise commas as punctuation operator. It also fixes the way beatify works as reported in mentioned issue.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented May 16, 2022

Codecov Report

Merging #4703 (1a31f00) into master (43fcb01) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4703   +/-   ##
=======================================
  Coverage   71.19%   71.19%           
=======================================
  Files         553      553           
  Lines       55598    55598           
  Branches    10392    10392           
=======================================
+ Hits        39584    39585    +1     
+ Misses      16014    16013    -1     
Flag Coverage Δ
unittests 71.19% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
lib/ace/mode/json_highlight_rules.js 100.00% <ø> (ø)
lib/ace/mode/ion_highlight_rules.js 100.00% <0.00%> (ø)
lib/ace/mode/partiql_highlight_rules.js 100.00% <0.00%> (ø)
lib/ace/editor.js 79.71% <0.00%> (+0.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43fcb01...1a31f00. Read the comment docs.

@andrewnester andrewnester merged commit 4c4883a into ajaxorg:master May 16, 2022
jeroenpost86 pushed a commit to jeroenpost86/ace that referenced this pull request May 19, 2022
* 'master' of https://github.com/ajaxorg/ace:
  fix: Made commas be tokenized as punctuation operator instead of text in JSON (ajaxorg#4703)
  fix: Multiple Partiql and Amazon Ion textual notation fixes (ajaxorg#4686)
  fix: Updated PHP mode to support PHP8.1 syntax (ajaxorg#4696)
  release v1.5.0
  chore: use npm changelog in release script (ajaxorg#4698)
  feat: Added ability to configure certain format options for beautify extension
  fix: Render bidirectional unicode characters as control characters (ajaxorg#4693)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants