Ejemplo n.º 1
0
 public DocumentFormattingRegistrationOptions GetRegistrationOptions(DocumentFormattingCapability capability, ClientCapabilities clientCapabilities)
 {
     return(new DocumentFormattingRegistrationOptions
     {
         DocumentSelector = RazorDefaults.Selector,
     });
 }
Ejemplo n.º 2
0
 protected override DocumentFormattingRegistrationOptions CreateRegistrationOptions(DocumentFormattingCapability capability, ClientCapabilities clientCapabilities) => new()
Ejemplo n.º 3
0
 public void SetCapability(DocumentFormattingCapability capability)
 {
     _formattingCapability = capability;
 }
 protected override DocumentFormattingRegistrationOptions CreateRegistrationOptions(DocumentFormattingCapability capability, ClientCapabilities clientCapabilities)
 {
     return(new DocumentFormattingRegistrationOptions()
     {
         DocumentSelector = _documentSelector,
     });
 }
 public override void SetCapability(DocumentFormattingCapability capability) => _setCapability?.Invoke(capability);
 public virtual void SetCapability(DocumentFormattingCapability capability) => Capability = capability;
Ejemplo n.º 7
0
 public DocumentFormattingRegistrationOptions GetRegistrationOptions(DocumentFormattingCapability capability, ClientCapabilities clientCapabilities) => new DocumentFormattingRegistrationOptions
 {
     DocumentSelector = LspUtils.PowerShellDocumentSelector
 };
Ejemplo n.º 8
0
 public abstract void SetCapability(DocumentFormattingCapability capability);