Class CommentUrlDocumentLinkSupplier
java.lang.Object
com.github._1c_syntax.bsl.languageserver.documentlink.CommentUrlDocumentLinkSupplier
- All Implemented Interfaces:
DocumentLinkSupplier
@Component
public class CommentUrlDocumentLinkSupplier
extends Object
implements DocumentLinkSupplier
Сапплаер для формирования кликабельных ссылок из http(s)-адресов,
встречающихся в комментариях кода (ссылки на ИТС, задачи, стандарты и т.п.).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDocumentLinks(DocumentContext documentContext) Получить список ссылок на внешние источники информации в документе.
-
Constructor Details
-
CommentUrlDocumentLinkSupplier
public CommentUrlDocumentLinkSupplier()
-
-
Method Details
-
getDocumentLinks
Description copied from interface:DocumentLinkSupplierПолучить список ссылок на внешние источники информации в документе.- Specified by:
getDocumentLinksin interfaceDocumentLinkSupplier- Parameters:
documentContext- Документ, для которого необходимо получить список ссылок на внешние источники информации.- Returns:
- Список ссылок на внешние источники информации.
-