Search This Blog

Labels

adobe (1) android (3) apache (3) aviation (1) bash (2) chrome (2) composer (1) cookery (3) dev (5) dodanperks (1) extensions (1) facebook (2) firefox (1) git (3) grafana (1) guzzle (1) headaches (13) htaccess (1) html5 (2) jquery (2) lamp (1) life hacks (10) linux (29) mysqli (2) native (1) nodejs (1) opera (3) php (10) railfanning (1) reactjs (3) reactnative (1) servers (11) sinhala (1) smartphones (2) snap (1) sound (1) tech (22) troubleshoots (7) ubuntu (31) unicode (4) virtualbox (2) wamp (2) web (11) windows (4) wordpress (3) youtube (2) කෑම (3)

Thursday, 2 July 2026

How to replace double quotes on js object keys with single quotes or leave it without quotes, on IntelliJ

Go to Replace (Keyboard:
Ctrl+R
) and find for
"(\w+)":
then replace it with
'$1':
or
$1:
to leave it without quotes.

Note: Anything inside () brackets can be replaced by $1, $2, etc.

No comments:

Post a Comment