(Scala) An implicit parameter menu item in IntelliJ IDEA. How to use it? What is this for?

IntelliJ has an implicit parameter menu item, as shown below.

What is this good for?

How can i use it?

I tried to press SHIFT-COMMAND-P on the part of the code where the no-show is used, and nothing happened.

enter image description here

+4
source share
1 answer

Using Intellij 13.1 :

I have not noticed this function before (thanks :)), but I just tested it and can confirm that Implicit parameters show the implicit parameters used in the method call, while the cursor is placed on it.

enter image description here

, Ok, , ( ) : a Writeable[JSValue].

, , Json.json, IntelliJ , (Ok ):

enter image description here

+5

Source: https://habr.com/ru/post/1533514/


All Articles