CeH9
Software engineer
- 活动总数 121
- 最后的活动
- 成员加入日期
- 关注 0 名用户
- 关注者数 0 名用户
- 投票数 16
- 订阅数 31
-
创建于 IsFileBinary()
已回答How to detect that file is binary i.e. IDE doesn't support undo with this file. Maybe exists something like list of supported file extensions? -
创建于 Where to store binary files
Since IDE doesn't support undo for Binary files i want to make my custom Undoable action. I'm thinking about cache file in system/myDir + keep path in userData. Maybe exists more elegant way? -
创建于 FileTemplates doesn't save on disk
已回答When i create FileTemplate via FileTemplateManager.addTemplate it available to use and in settings (Ctrl + alt + s -> File and code templates), but templates doesn't save on disk. Seems like IDE k... -
创建于 FileTemplateManager didn't found Project-level FileTemplates
How to get Project-level FileTemplate? details: https://github.com/CeH9/PackageTemplates/issues/4 -
已编辑于 ProgressManager#WithProgressAsync + CommandProcessor#executeCommand
I'm wrapping several commands into CommandProcessor#executeCommand for Undoability in one action. All inner commands runs in separeted AppllicationManager#InvokeLater. Commands executed in Async t... -
创建于 AppCode add PsiDir issue
I create dir with files via PsiDirectory.createSubdirectory(..), it works fine in Idea. But same code in AppCode works wrong: Folder not visible in ProjectView "project" mode. AFAIK AppCode doesn't... -
已编辑于 Messages YesNoDialog devide command
已回答Dialog devide command, so user must use 2+ Undo action to revert. Can i avoid this? -
创建于 PsiDirectory.copyFileFrom -> Redo recreate file without content
已回答I use PsiDirectory.copyFileFrom to copy file. It works fine. Undo works fine too, but redo create empty file. Version: CE 163.12024 -
已编辑于 Revert\Undo failed Command
已回答I have undoable command that may be reverted by Ctrl-Z. When i execute command and catch some error i need to revert all my changes. Can i do it programmatically? -
已编辑于 Temp storage for files
已回答Where\how to store temp files? For example user can replace some FileTemplate, this action must be undoable. Is it ok to keep content of file as String field in undo action?