java.lang.Object
com.github._1c_syntax.bsl.languageserver.providers.FormatProvider

@Component public final class FormatProvider extends Object
  • Constructor Details

  • Method Details

    • getFormatting

      public List<org.eclipse.lsp4j.TextEdit> getFormatting(org.eclipse.lsp4j.DocumentFormattingParams params, DocumentContext documentContext)
    • getRangeFormatting

      public List<org.eclipse.lsp4j.TextEdit> getRangeFormatting(org.eclipse.lsp4j.DocumentRangeFormattingParams params, DocumentContext documentContext)
    • handleEvent

    • getNewText

      public String getNewText(List<Token> tokens, Locale languageLocale, org.eclipse.lsp4j.Range range, int startCharacter, org.eclipse.lsp4j.FormattingOptions options)