Tabnine Logo
DocumentOnTypeFormattingParams.getOptions
Code IndexAdd Tabnine to your IDE (free)

How to use
getOptions
method
in
org.eclipse.lsp4j.DocumentOnTypeFormattingParams

Best Java code snippets using org.eclipse.lsp4j.DocumentOnTypeFormattingParams.getOptions (Showing top 5 results out of 315)

origin: eclipse/eclipse.jdt.ls

public List<? extends org.eclipse.lsp4j.TextEdit> onTypeFormatting(DocumentOnTypeFormattingParams params, IProgressMonitor monitor) {
  return format(params.getTextDocument().getUri(), params.getOptions(), params.getPosition(), params.getCh(), monitor);
}
origin: org.eclipse.lsp4j/org.eclipse.lsp4j

@Override
@Pure
public String toString() {
 ToStringBuilder b = new ToStringBuilder(this);
 b.add("position", this.position);
 b.add("ch", this.ch);
 b.add("textDocument", getTextDocument());
 b.add("options", getOptions());
 return b.toString();
}

origin: eclipse/lsp4j

@Override
@Pure
public String toString() {
 ToStringBuilder b = new ToStringBuilder(this);
 b.add("position", this.position);
 b.add("ch", this.ch);
 b.add("textDocument", getTextDocument());
 b.add("options", getOptions());
 return b.toString();
}

origin: org.eclipse.che.core/che-core-api-languageserver

  setCh((java.lang.String)chVal);
if (o.getOptions() == null) {
  setOptions((org.eclipse.lsp4j.FormattingOptions)null);
} else {
    org.eclipse.lsp4j.FormattingOptions optionsVal= new org.eclipse.lsp4j.FormattingOptions();
    for (Entry<String, org.eclipse.lsp4j.jsonrpc.messages.Either3<java.lang.String, java.lang.Number, java.lang.Boolean>> optionsValX : o.getOptions().entrySet()) {
        org.eclipse.lsp4j.jsonrpc.messages.Either3<java.lang.String, java.lang.Number, java.lang.Boolean> optionsValY;
        if (optionsValX.getValue().isFirst()) {
origin: org.eclipse.che.core/che-core-api-languageserver

DocumentOnTypeFormattingParams clone(
  DocumentOnTypeFormattingParams documentOnTypeFormattingParams) {
 if (documentOnTypeFormattingParams == null) {
  return null;
 }
 String ch = documentOnTypeFormattingParams.getCh();
 Position position = documentOnTypeFormattingParams.getPosition();
 FormattingOptions options = documentOnTypeFormattingParams.getOptions();
 TextDocumentIdentifier textDocument = documentOnTypeFormattingParams.getTextDocument();
 DocumentOnTypeFormattingParams cloned = new DocumentOnTypeFormattingParams();
 cloned.setCh(ch);
 cloned.setPosition(clone(position));
 cloned.setOptions(clone(options));
 cloned.setTextDocument(clone(textDocument));
 return cloned;
}
org.eclipse.lsp4jDocumentOnTypeFormattingParamsgetOptions

Popular methods of DocumentOnTypeFormattingParams

  • getTextDocument
  • getCh
    The character that has been typed.
  • getPosition
    The position at which this request was send.
  • <init>
  • setCh
    The character that has been typed.
  • setOptions
  • setPosition
    The position at which this request was send.
  • setTextDocument

Popular in Java

  • Making http post requests using okhttp
  • getSystemService (Context)
  • scheduleAtFixedRate (Timer)
  • notifyDataSetChanged (ArrayAdapter)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now