Answer the question
In order to leave comments, you need to log in
How to generate code for TypeSctipt in PhpStorm?
Let's say I created a local variable -
What should I press to generate a setter and getter? And if you know hotkeys for generating something else, then tell us about them, otherwise I don’t know any at all.
var prop: Type = 5;
Answer the question
In order to leave comments, you need to log in
getters and setters are bad.
In any case:
https://www.jetbrains.com/idea/help/generating-get...
ps In the future, such questions (ala tell me hotkeys) will be deleted, since they fall into the category "the answer is easily searched by a search engine." Finally, there is a manual.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question