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
December 17, 2020 11:25
1. No, there is currently no way to change this. You could file an issue for this problem if you want to see it fixed. 2. That seems like a bug. Could you give a concrete code example? 3. Unfortuna...
Community
IntelliJ IDEA Users
Structurally Replace with Static Import
0 votes
Edited
December 15, 2020 15:46
Official comment
If all you want to is add a static import for the code structure you found, use a replace template identical to the search template. When "Use static imports" is enabled, Structural Search tries to...
Community
IntelliJ IDEA Users
Structurally Replace with Static Import
0 votes
Created
October 26, 2020 19:33
Official comment
If you select a search target, this refers to the entire construct with that name. In this case the entire class. To get the result you want, replace the entire class, e.g. with a search pattern li...
Community
IntelliJ IDEA Users
Structual Replace should only replace class name
0 votes
Created
June 12, 2020 07:30
I have answered in the issue. Bas
Community
IntelliJ IDEA Users
SSR - Replacement regex group variables in Structural Replace templates
0 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
«
First
‹
Previous
Next
›
Last
»