예제 #1
0
 /// <summary>
 /// A request to list all symbols found in a given text document. The request's
 /// parameter is of type[TextDocumentIdentifier](#TextDocumentIdentifier) the
 /// response is of type[SymbolInformation[]](#SymbolInformation) or a Thenable
 /// that resolves to such.
 /// </summary>
 public virtual List <SymbolInformation> OnDocumentSymbol(TextDocumentIdentifier parameters)
 {
     return(null);
 }
예제 #2
0
 /// <summary>
 /// A request to provide code lens for the given text document.
 /// </summary>
 public virtual List <CodeLens> OnCodeLens(TextDocumentIdentifier parameters)
 {
     return(null);
 }
 /// <summary>
 /// Document constructor
 /// </summary>
 /// <param name="textDocument">The document being saved</param>
 /// <param name="text">The text of the document</param>
 public DidSaveTextDocumentParams(TextDocumentIdentifier textDocument, String text = null)
 {
     this.textDocument = textDocument;
     this.text         = text;
 }
예제 #4
0
 /// <summary>
 /// Signature help represents the signature of something
 /// callable. There can be multiple signature but only one
 /// active and only one active parameter.
 /// </summary>
 public virtual SignatureHelp OnSignatureHelp(TextDocumentIdentifier parameters)
 {
     return(null);
 }
 public DidCloseTextDocumentParams(TextDocumentIdentifier textDocument)
 {
     this.textDocument = textDocument;
 }
예제 #6
0
 /// <summary>
 /// The document close notification is sent from the client to the server when
 /// the document got closed in the client.The document's truth now exists
 /// where the document's uri points to (e.g. if the document's uri is a file uri
 /// the truth now exists on disk).
 /// </summary>
 public virtual void OnDidCloseTextDocument(TextDocumentIdentifier parameters)
 {
 }
예제 #7
0
        public override void OnDidCloseTextDocument(TextDocumentIdentifier parameters)
        {
            Uri objUri = new Uri(parameters.uri);
            if (objUri.IsFile)
            {
                string fileName = Path.GetFileName(objUri.LocalPath);
                typeCobolWorkspace.CloseSourceFile(fileName);

                // DEBUG information
                RemoteConsole.Log("Closed source file : " + fileName);
            }
        }
예제 #8
0
 /// <summary>
 /// A request to provide code lens for the given text document.
 /// </summary>
 public virtual List<CodeLens> OnCodeLens(TextDocumentIdentifier parameters)
 {
     return null;
 }
예제 #9
0
 /// <summary>
 /// Signature help represents the signature of something
 /// callable. There can be multiple signature but only one
 /// active and only one active parameter.
 /// </summary>
 public virtual SignatureHelp OnSignatureHelp(TextDocumentIdentifier parameters)
 {
     return null;
 }
예제 #10
0
 /// <summary>
 /// A request to list all symbols found in a given text document. The request's
 /// parameter is of type[TextDocumentIdentifier](#TextDocumentIdentifier) the
 /// response is of type[SymbolInformation[]](#SymbolInformation) or a Thenable
 /// that resolves to such.
 /// </summary>
 public virtual List<SymbolInformation> OnDocumentSymbol(TextDocumentIdentifier parameters)
 {
     return null;
 }
예제 #11
0
 /// <summary>
 /// The document close notification is sent from the client to the server when
 /// the document got closed in the client.The document's truth now exists
 /// where the document's uri points to (e.g. if the document's uri is a file uri
 /// the truth now exists on disk).
 /// </summary>
 public virtual void OnDidCloseTextDocument(TextDocumentIdentifier parameters)
 {
 }