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
I fixed this for me by going to the bundle editor
Bundles>Javascript>Language Grammars>Javascript
And add static to the matches next to 'keyword.control.js';
The same thing is happening with the private keyword.
There is no private keyword in JavaScript (it uses hashnames, like this.#attribute and #method(){}), so that is rendering correctly. The static keyword does need adding though (see @leenapps' answer).
Activity
leenapps commentedon Sep 6, 2021
I fixed this for me by going to the bundle editor
Bundles>Javascript>Language Grammars>Javascript
And add static to the matches next to 'keyword.control.js';
ogallagher commentedon Apr 2, 2022
The pull req from savetheclocktower/overhaul appears to fix this as well.
7ombie commentedon Feb 6, 2023
There is no
privatekeyword in JavaScript (it uses hashnames, likethis.#attributeand#method(){}), so that is rendering correctly. Thestatickeyword does need adding though (see @leenapps' answer).