主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
简体中文
English (United States)
登录
Dmitry Batrak
活动总数
599
最后的活动
2023年06月06日 09:14
成员加入日期
2013年12月19日 17:00
关注
0 名用户
关注者数
1 名用户
投票数
0
订阅数
246
活动概览
文章(0)
帖子(0)
评论(353)
按最近的活动排序
最近的活动
投票数
创建于
2014年10月30日 12:35
In general, you don't need to save a document to disk explicitly unless your code need to invoke some external programs. For editor actions, like code completion, this doesn't seem to be the case.T...
社区
IntelliJ IDEA Open API and Plugin Development
Multicaret problems
0 票
创建于
2014年12月05日 07:10
As for the issues with debugging, you probably have them because you haven't attached IDEA source code to your IDEA SDK in settings. Check here how to do this - https://confluence.jetbrains.com/dis...
社区
IntelliJ IDEA Open API and Plugin Development
Error creating an editor window
0 票
创建于
2015年03月26日 11:24
Most DocumentationProvider methods receive 'originalElement' argument of type PsiElement, which is exactly the element under caret in editor. Why cannot you use that?
社区
IntelliJ IDEA Open API and Plugin Development
Access Editor object from Documentation Provider
0 票
创建于
2015年07月30日 07:47
CommonDataKeys.EDITOR.get(dataContext)You can also extend com.intellij.openapi.editor.actionSystem.EditorAction, where this logic is implemented already. Check existing actions in intellij-communit...
社区
IntelliJ IDEA Open API and Plugin Development
Plugin Development: access selected Code
0 票
创建于
2015年08月10日 09:37
TextComponentEditorAction instances, as opposed to EditorAction instances, will also work for JTextComponent fields, adapting them to Editor interface, using TextComponentEditor class.
社区
IntelliJ IDEA Open API and Plugin Development
Customising Extend Selection
0 票
创建于
2015年11月03日 09:08
The same value is now available via EditorEx.getExpectedCaretOffset()
社区
IntelliJ IDEA Open API and Plugin Development
EditorActionUtil.EXPECTED_CARET_OFFSET disappears in IDEA 15
0 票
创建于
2015年12月15日 12:09
I believe it's already implemented - file chooser dialog has a button to show hidden files/directories.
社区
IntelliJ IDEA Open API and Plugin Development
How to let FileChooserDialog show the hidden directories with code
0 票
创建于
2016年06月07日 07:35
PsiFile extends Navigatable interface, so it has 'navigate' method, which should do what you need.
社区
IntelliJ IDEA Open API and Plugin Development
Navigate among files in a project
0 票
创建于
2016年06月06日 08:27
Since IDEA-137062 has been fixed (in 2016.1), CommonDataKeys.PSI_ELEMENT.getData(e.getDataContext()) should return correct value for actions invoked from context menu. Doesn't it work as expected f...
社区
IntelliJ IDEA Open API and Plugin Development
Mystified by right-click editor popup psielement selection
0 票
创建于
2017年06月13日 10:14
Project is usually obtained from a DataContext. You can obtain a data context from a given or focused component using DataManager's methods.
社区
IntelliJ IDEA Open API and Plugin Development
Get current project if i am not working anAction file
-1 票
«
第一页
‹
上一页