Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Dmitry Batrak
Total activity
599
Last activity
June 06, 2023 09:14
Member since
December 19, 2013 17:00
Following
0 users
Followed by
1 user
Votes
0
Subscriptions
246
Activity overview
Articles (0)
Posts (0)
Comments (353)
Sort by recent activity
Recent activity
Votes
Created
October 30, 2014 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...
Community
IntelliJ IDEA Open API and Plugin Development
Multicaret problems
0 votes
Created
December 05, 2014 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...
Community
IntelliJ IDEA Open API and Plugin Development
Error creating an editor window
0 votes
Created
March 26, 2015 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?
Community
IntelliJ IDEA Open API and Plugin Development
Access Editor object from Documentation Provider
0 votes
Created
July 30, 2015 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...
Community
IntelliJ IDEA Open API and Plugin Development
Plugin Development: access selected Code
0 votes
Created
August 10, 2015 09:37
TextComponentEditorAction instances, as opposed to EditorAction instances, will also work for JTextComponent fields, adapting them to Editor interface, using TextComponentEditor class.
Community
IntelliJ IDEA Open API and Plugin Development
Customising Extend Selection
0 votes
Created
November 03, 2015 09:08
The same value is now available via EditorEx.getExpectedCaretOffset()
Community
IntelliJ IDEA Open API and Plugin Development
EditorActionUtil.EXPECTED_CARET_OFFSET disappears in IDEA 15
0 votes
Created
December 15, 2015 12:09
I believe it's already implemented - file chooser dialog has a button to show hidden files/directories.
Community
IntelliJ IDEA Open API and Plugin Development
How to let FileChooserDialog show the hidden directories with code
0 votes
Created
June 07, 2016 07:35
PsiFile extends Navigatable interface, so it has 'navigate' method, which should do what you need.
Community
IntelliJ IDEA Open API and Plugin Development
Navigate among files in a project
0 votes
Created
June 06, 2016 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...
Community
IntelliJ IDEA Open API and Plugin Development
Mystified by right-click editor popup psielement selection
0 votes
Created
June 13, 2017 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.
Community
IntelliJ IDEA Open API and Plugin Development
Get current project if i am not working anAction file
-1 votes
«
First
‹
Previous