shortcut for 'specify type explicitly' context action

已回答

With TypeScript if I do Opt + Enter on a function declaration I get the 'specify type explicitly' context action. I'd like to have this accessable directly with a shortcut but I cannot find this anywhere in actions list.

How do I add shortcut for it?

0

Mikko Ravimo, sorry, my previous answer was incorrect. The shortcut can't be assigned to the intention that is related to the code inspection; that's why the Assign shortcut... action could be unavailable to the intention you mentioned. Please, see this article in our documentation.

If you have any further questions or requests, please, let me know. 

0

请先登录再写评论。