Signature help¶
While typing a method call, shows the parameter list and highlights the active parameter.
Shortcut: Ctrl+Shift+Space
Parameter hints while calling¶
The user types a call to the local function Сумма = Сложить( up to the opening parenthesis. A signature panel pops up over the code listing the parameters of Сложить, with the active first parameter highlighted.
Signature help for a constructor (New Array)¶
The user types the constructor Список = Новый Массив( up to the opening parenthesis. A signature panel appears for the Массив constructor, listing its parameters with the active one highlighted.
Signature help: optional parameter¶
The user types a call to Р = Форматировать(, whose Префикс = "[]" parameter is optional. The signature panel shows both parameters, marking Префикс as optional (with its default value) and highlighting the active parameter.
Signature help for a platform method¶
The user invokes the platform method Список.Добавить( on a variable of type Массив. The signature panel shows the parameters of the platform method Добавить, highlighting the active parameter.
Signature help inside a nested call¶
The user types a nested call Сообщить(Сложить(10, and moves to the second argument of the inner function. The signature panel shows the parameters of the inner Сложить call and highlights the active second parameter.
Signature help across a call chain¶
The user types a call chain Строка = Таблица.Скопировать().Найти( and triggers signature help. The panel resolves the result type of Скопировать() and shows the parameters of Найти, highlighting the active parameter.
Method with a variable number of arguments (optional parameters)¶
The user types Позиция = СтрНайти("abc-def", "-", and moves to the third argument of this variable-arity method. The signature panel lists all parameters of СтрНайти, including the optional ones, and highlights the active third parameter.
OneScript: signature help for a library class constructor¶
In a OneScript file with #Использовать demolib, the user types Отчет = Новый ФорматировщикОтчета( and triggers signature help. The panel shows the constructor parameters of the library class ФорматировщикОтчета, highlighting the active parameter.
OneScript: signature help for a library module method¶
In a OneScript file, the user calls the library module method СтроковыеУтилиты.ВыполнитьФорматирование( and triggers signature help. The panel shows the parameters of the module method ВыполнитьФорматирование, highlighting the active parameter.
OneScript: signature help for an instance method¶
The user calls the instance method Отчет.ДобавитьПоказатель( on an object of class ФорматировщикОтчета. The signature panel resolves the instance type and shows the parameters of ДобавитьПоказатель, highlighting the active parameter.