V
V
vasIvas2015-08-20 13:16:57
phpstorm
vasIvas, 2015-08-20 13:16:57

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

1 answer(s)
S
Sergey, 2015-08-20
@vasIvas

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 question

Ask a Question

731 491 924 answers to any question