intellij-lsp/intellij-lsp-plugin

View on GitHub
src/main/scala/com/github/gtache/lsp/contributors/icon/LSPDefaultIconProvider.scala

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Avoid using null
Open

      case SymbolKind.Constructor => null

Avoid using null
Open

      case SymbolKind.Number => null

Avoid using null
Open

      case CompletionItemKind.Constructor => null

Avoid using null
Open

      case SymbolKind.String => null

Avoid using null
Open

      case SymbolKind.Constant => null

Avoid using null
Open

      case _ => null

Avoid using null
Open

      case CompletionItemKind.Color => null

Avoid using null
Open

      case CompletionItemKind.Value => null

Avoid using null
Open

      case SymbolKind.Boolean => null

Avoid using null
Open

      case SymbolKind.Namespace => null

Avoid using null
Open

      case CompletionItemKind.Unit => null

Avoid using null
Open

      case SymbolKind.Array => null

Avoid using null
Open

      case _ => null

Avoid using null
Open

      case CompletionItemKind.Keyword => null

Avoid using null
Open

      case CompletionItemKind.Snippet => null

Imports should be grouped together
Open

  import com.intellij.icons.AllIcons.Nodes

Cyclomatic complexity of 20 exceeds max of 10
Open

  override def getCompletionIcon(kind: CompletionItemKind): Icon = {

Cyclomatic complexity of 20 exceeds max of 10
Open

  override def getSymbolIcon(kind: SymbolKind): Icon = {

There are no issues that match your filters.

Category
Status