13

I am developing stomp+WebSocket using Intellij Idea. Now I need to know: how to search string from Intellij Idea global? For example, I got this error:

15:17:44.688]-[clientInboundChannel-59]-[org.springframework.web.socket.messaging.WebSocketAnnotationMethodMessageHandler]-{Searching methods to handle SEND /app/vehicle session=qnlerizz}
15:17:44.688]-[clientInboundChannel-59]-[org.springframework.web.socket.messaging.WebSocketAnnotationMethodMessageHandler]-{No matching methods.}

And I go to class WebSocketAnnotationMethodMessageHandler in spring-websocket.jar(Maven's jar) and find nothing about this string:No matching methods or Searching methods to handle. So I want to search where the message is. How to do?

What I have tried is the combination Ctrl + Shift + F but It does not work fine, I can't search from external jar. Double Shift can only search class.

ajaysinghdav10d
  • 1,771
  • 3
  • 23
  • 33
Dolphin
  • 29,069
  • 61
  • 260
  • 539

4 Answers4

17
  • Go Ctrl + Alt + Shift + N

or

Navigate -> Symbol.. from menu

  • Give your text to search.
Supun Wijerathne
  • 11,964
  • 10
  • 61
  • 87
2

In mac try Cmd + Shift + F, click scope, enter the keyword to search.

enter image description here

SANN3
  • 9,459
  • 6
  • 61
  • 97
2

I think this -> How to search for a string in JAR files can help you.

For external library(jar) you can use this way

Looks like 'Find in Path', 'Custom Scope' set to 'Project and Libraries'

WBLord
  • 874
  • 6
  • 29
1

JD-GU http://java-decompiler.github.io, you can search text in jar.

Drop all your jars file into it and "Ctrl + Shift + S" it will search in all files

enter image description here