Make Fields Private or Public

Use a quick fix to quickly make a field public or private.

Using private fields in JavaScript classes? WebStorm can help you make private fields public and vice versa – press ⌥⏎ (macOS) / Alt+Enter (Windows/Linux) and select the corresponding action.


Related Resources

Add console.log Faster
Add console.log Faster
Use Postfix Completion to quickly add console.log.
Adding Imports Automatically
Adding Imports Automatically
WebStorm helps add an import even if you're using default exports.
Complete Current Statement
Complete Current Statement
Add curly braces and move the cursor with a single keystroke.