Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Bas Leijdekkers
Total activity
1072
Last activity
March 14, 2024 19:13
Member since
May 15, 2003 14:47
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
426
Activity overview
Articles (0)
Posts (41)
Comments (605)
Sort by recent activity
Recent activity
Votes
Created
March 07, 2020 09:19
Official comment
A pattern like the following should work: <replaceConfiguration name="type" text="public void $setter$($T$ $v$) { $st$; }" recursive="false" caseInsensitive="true" type="JAVA" pattern_cont...
Community
IntelliJ IDEA Users
How to use Structural Search & Replace to make "fluent" objects?
0 votes
Edited
February 10, 2020 10:13
Official comment
You can use pattern like this: $Collectors$.toList() With a text filter on $Collectors$ to match "Collectors" or "java\.util\.stream\.Collectors". You can also add the same pattern as a replace...
Community
IntelliJ IDEA Users
Code Inspection for methods not statically imported
0 votes
Created
November 12, 2019 14:24
Hi Jay, Batch rename is currently not easily possible. You may want to vote for and add your comments to https://youtrack.jetbrains.com/issue/IDEA-12246 Bas
Community
IntelliJ IDEA Users
Structural Search and Rename Refactoring instead of Simple Replace
0 votes
Edited
June 24, 2019 13:59
Official comment
Your script retrieves the type of the class object access expression, which is always `java.lang.Class`. Here is a script that should work: import com.intellij.psi.*;boolean hasOnlyInterfaces = tr...
Community
IntelliJ IDEA Users
SSR - Check whether an attribute value (immediate class type) is an interface
0 votes
Created
May 30, 2019 09:26
Thank you for this great website you have created! https://ijnspector.wordpress.com/ Bas
Community
IntelliJ IDEA Users
SSR - Ignore intermediate chained method calls
0 votes
Edited
May 28, 2019 13:11
Official comment
Sorry there is no way to achieve this in a single query with SSR at this moment. If you are trying to create an Structural Search inspection, you could add several patterns instead. For example 4 d...
Community
IntelliJ IDEA Users
SSR - Ignore intermediate chained method calls
0 votes
Edited
March 14, 2019 13:06
Official comment
This is currently not supported by Structural Search and Replace, because of a bug. Follow the issue to get a notification when it is fixed. Bas
Community
IntelliJ IDEA Users
Trying to do a structural find and replace
0 votes
Created
March 04, 2019 11:10
Here is a direct link: https://github.com/JetBrains/intellij-community/blob/671dd1ad2accec8cf5db6ecaa01a93bd4c89580e/platform/structuralsearch/source/com/intellij/structuralsearch/StructuralSearchP...
Community
IntelliJ IDEA Open API and Plugin Development
Where in the github source is the code for handling structural search and replace?
0 votes
Created
July 06, 2018 14:09
Official comment
It seems this is currently not easily possible. I have created the following issue, which you may want to follow: https://youtrack.jetbrains.com/issue/IDEA-195166 Bas
Community
IntelliJ IDEA Users
Find fields in class annotated with the same values (Structural Search ?)
0 votes
Created
February 13, 2018 13:40
Thanks Riccardo, those are some good suggestions. You may want to follow this issue for updates on improving this part of the documentation: https://youtrack.jetbrains.com/issue/DOC-5272 Bas
Community
IntelliJ IDEA Users
Search and Replace Structurally "Script Constraints" Documentation
0 votes
«
First
‹
Previous
Next
›
Last
»