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
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Array access with optional chaining is not recognized as a value in objects. Optional chaining with array outside of an object works, but when used directly inside an object as a value, the next key isn't highlighted. If it is the first key-value pair of the object, both the key following it and its own key would not be highlighted
Steps to Reproduce
Open a javascript file
Write a key-value pair with a value using array optional chaining
Add another key-value pair before and after the key-value pair with array optional chaining
Delete the key-value pair before the one with array optional chaining
Expected behavior:
The keys of the object should be highlighted in both step 3 and 4
Actual behavior:
The key after the one with array optional chaining isn't highlighted in step 3
Both the key after and the key of the one with array optional chaining aren't highlighted in step 4
Reproduces how often:
Always
Versions
Atom: 1.53.0
OS: macOS Catalina Version 0.15.6 (19G73)
The text was updated successfully, but these errors were encountered:
All optional chaining variants aren't supported unfortunately - issue #640 is similar
veitbajarsch in that forum suggested to install language-babel to fix the problem
Thanks for the suggestion. I've installed it, restarted atom, and tried it in safe mode. Unfortunately, the error is still there. Is there a certain setting that I need to change in language-babel after installation?
Prerequisites
Description
Array access with optional chaining is not recognized as a value in objects. Optional chaining with array outside of an object works, but when used directly inside an object as a value, the next key isn't highlighted. If it is the first key-value pair of the object, both the key following it and its own key would not be highlighted
Steps to Reproduce
Expected behavior:
The keys of the object should be highlighted in both step 3 and 4
Actual behavior:
The key after the one with array optional chaining isn't highlighted in step 3
Both the key after and the key of the one with array optional chaining aren't highlighted in step 4
Reproduces how often:
Always
Versions
Atom: 1.53.0
OS: macOS Catalina Version 0.15.6 (19G73)
The text was updated successfully, but these errors were encountered: