Quick documentation (hover)¶
Hovering over a symbol shows its signature, type and the description from doc comments.
Shortcut: mouse hover
Quick documentation on hover¶
The cursor hovers over a method call in the module code. The popup shows the method's signature and its description from the doc comment.
Hover on a variable¶
The cursor hovers over a variable in the module code. The popup shows the variable name and the inferred type of its value.
Hover on a platform method¶
The cursor hovers over the platform function СтрДлина in the code. The popup shows its signature, return type and description from the platform documentation.
Hover on a OneScript class constructor¶
The cursor hovers over a OneScript class constructor in a Новый expression. The popup shows the constructor's signature and the class description.
Hover on a keyword¶
The cursor hovers over a language keyword in the module code. The popup shows the description of that keyword.
Variable type inferred from a structure field¶
The cursor hovers over the variable НомерЗаказа, assigned from Заказ.Номер. The popup shows the type Строка, inferred from the structure field's description in the BSLDoc comment.
Variable type inferred from an expression¶
The cursor hovers over the variable Количество, assigned the result of Массив.Количество(). The popup shows the type Число, inferred from that expression.
Hover on a common module¶
The cursor hovers over a common module name in the code. The popup shows the common module's name and its description.
OneScript: hover on an annotation¶
The cursor hovers over a usage of the &Кэшировать annotation in a OneScript module. The popup shows the description of that annotation.