Class SemanticTokensWorkspaceCapabilities


  • public class SemanticTokensWorkspaceCapabilities
    extends java.lang.Object
    Capabilities specific to the semantic token requests scoped to the workspace.

    Since 3.16.0

    • Constructor Detail

      • SemanticTokensWorkspaceCapabilities

        public SemanticTokensWorkspaceCapabilities()
      • SemanticTokensWorkspaceCapabilities

        public SemanticTokensWorkspaceCapabilities​(java.lang.Boolean refreshSupport)
    • Method Detail

      • getRefreshSupport

        public java.lang.Boolean getRefreshSupport()
        Whether the client implementation supports a refresh request sent from the server to the client.

        Note that this event is global and will force the client to refresh all semantic tokens currently shown. It should be used with absolute care and is useful for situations where a server for example detects a project-wide change that requires such a calculation.

      • setRefreshSupport

        public void setRefreshSupport​(java.lang.Boolean refreshSupport)
        Whether the client implementation supports a refresh request sent from the server to the client.

        Note that this event is global and will force the client to refresh all semantic tokens currently shown. It should be used with absolute care and is useful for situations where a server for example detects a project-wide change that requires such a calculation.

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object