主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Bas Leijdekkers
活动总数
1072
最后的活动
2024年03月14日 19:13
成员加入日期
2003年05月15日 14:47
关注
0 名用户
关注者数
0 名用户
投票数
0
订阅数
426
活动概览
文章(0)
帖子(41)
评论(605)
按最近的活动排序
最近的活动
投票数
创建于
2020年12月17日 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...
社区
IntelliJ IDEA Users
Structurally Replace with Static Import
0 票
已编辑于
2020年12月15日 15:46
正式评论
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...
社区
IntelliJ IDEA Users
Structurally Replace with Static Import
0 票
创建于
2020年10月26日 19:33
正式评论
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...
社区
IntelliJ IDEA Users
Structual Replace should only replace class name
0 票
创建于
2020年06月12日 07:30
I have answered in the issue. Bas
社区
IntelliJ IDEA Users
SSR - Replacement regex group variables in Structural Replace templates
0 票
创建于
2020年03月07日 09:19
正式评论
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...
社区
IntelliJ IDEA Users
How to use Structural Search & Replace to make "fluent" objects?
0 票
已编辑于
2020年02月10日 10:13
正式评论
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...
社区
IntelliJ IDEA Users
Code Inspection for methods not statically imported
0 票
创建于
2019年11月12日 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
社区
IntelliJ IDEA Users
Structural Search and Rename Refactoring instead of Simple Replace
0 票
已编辑于
2019年06月24日 13:59
正式评论
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...
社区
IntelliJ IDEA Users
SSR - Check whether an attribute value (immediate class type) is an interface
0 票
创建于
2019年05月30日 09:26
Thank you for this great website you have created! https://ijnspector.wordpress.com/ Bas
社区
IntelliJ IDEA Users
SSR - Ignore intermediate chained method calls
0 票
已编辑于
2019年05月28日 13:11
正式评论
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...
社区
IntelliJ IDEA Users
SSR - Ignore intermediate chained method calls
0 票
«
第一页
‹
上一页
下一页
›
最后
»