Dolphin
Dolphin

Reputation: 39093

Search string from JAR file global in Intellij Idea

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.

Upvotes: 14

Views: 23887

Answers (4)

Rady Archuleta
Rady Archuleta

Reputation: 27

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

Upvotes: 1

WBLord
WBLord

Reputation: 1025

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'

Upvotes: 3

SANN3
SANN3

Reputation: 10119

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

enter image description here

Upvotes: 2

Supun Wijerathne
Supun Wijerathne

Reputation: 12958

  • Go Ctrl + Alt + Shift + N

or

Navigate -> Symbol.. from menu

  • Give your text to search.

Upvotes: 18

Related Questions