Marcin
- 活动总数 67
- 最后的活动
- 成员加入日期
- 关注 0 名用户
- 关注者数 0 名用户
- 投票数 8
- 订阅数 21
-
已编辑于 Need to create project directory explicitly before each unit test
已回答I'm using light unit tests with default fixture:class ProjectTest : BasePlatformTestCase() { var file: String? = null @BeforeEach fun setup() { super.setUp() file = "$... -
创建于 How simple is to write IntelliJ plugin (remark according documentation)
已回答Developing IntelliJ plugin be like:Oh! Link to source code! JavaDocs will explain me everything! Checking NotificationAction…Ok, lets see Notification::addAction:Yeah, you got me. Who needs docs...... -
创建于 Action on save not run on saveDocument
已回答Hi! I am writing document content (having path and content defined) (in EDT) as:vfsFile.findDocument()?.let { CommandProcessor.getInstance().executeCommand( project, ... -
创建于 Process resource after created by plugin
已回答My plugin creates resource file in /src/main/resources/ using:WriteCommandAction.runWriteCommandAction(project) { val fileType = FileTypeManager.getInstance().getFileTypeByFileName(ioFile.name) ... -
创建于 Detect actions on save
已回答Use case:My plugin handles external file write and undo operations (acting as rest server - not in scope of this issue). File write adds undo “My Plugin - File Write” labeled operation to stack. Af... -
已编辑于 How to use GeneratorNewProjectWizardBuilderAdapter for Project create only, not Module?
I've created own project generator based on GeneratorNewProjectWizard and registered in New Project/Module dialog using GeneratorNewProjectWizardBuilderAdapter. Works great for creating new projec... -
创建于 Import module as maven or gradle after creation
已回答I created module builder in which user decides of project build tool - maven or gradle. Plugin downloads example maven or gradle files and unzip it to project build path.After opening project I nee... -
创建于 How to create single module wizard step with generic Name and Location? (direct Create, no wizard steps)
已回答I want to create wizard step similar to existing generators (Maven / IDE Plugin) with direct “Create” button:For the moment I can add custom options step to display my fields: But still on next ste... -
创建于 Document changes not flushed when IDE is not focused
已回答I have plugin process running as a thread (executeOnPooledThread) and it performs document update using vfsDoc.setText(content)PsiDocumentManager.getInstance(project).commitDocument(vfsDoc)If IDE w... -
已编辑于 Undo not present after vfs.writeText on non edited file
已回答I've got simple action which writes file content as:val file = File("/asd/asd/asd/asd.txt") <- (any project file) vfsFile = VfsUtil.findFileByIoFile(file, true) vfsDoc = vfsFile.findDocument() Com...