摘要: <div class="btn-group" data-toggle="buttons"> <label class="btn btn-primary"> <input type="radio" name="options" id="option1"> 选项 1 </label> <label cl 阅读全文
posted @ 2017-07-04 22:57 liqiking 阅读(174) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/neven7/article/details/52741534 阅读全文
posted @ 2017-05-17 07:06 liqiking 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 打开一个virtualfile VirtualFile file;Project project;OpenFileDescriptior descriptor = new OpenFileDescriptior(file);.navigate()FileEditorManager.getInstan 阅读全文
posted @ 2017-05-15 21:14 liqiking 阅读(401) 评论(0) 推荐(0) 编辑
摘要: public class SimpleLineMarkerProvider extends RelatedItemLineMarkerProvider { @Override protected void collectNavigationMarkers(@NotNull PsiElement element, ... 阅读全文
posted @ 2017-05-09 23:16 liqiking 阅读(430) 评论(0) 推荐(0) 编辑
摘要: public class IconUtils { private static ImageIcon methodIcon = new ImageIcon(IconUtils.class.getClassLoader().getResource("icon/mybatis.png")); private static ImageIcon xmlIcon = new ImageIc... 阅读全文
posted @ 2017-05-08 23:57 liqiking 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 当你看到这一章节时,你估计会骂我鸡婆。IoC,这个还要你来告诉我,我用SpringFramework已经很久啦。但我还是要说一下。IDEA整个组件结构是基于PicoContainer(http://www.picocontainer.org)的,PicoContainer是一个高效的嵌入式的DI容器 阅读全文
posted @ 2017-05-07 22:17 liqiking 阅读(1414) 评论(1) 推荐(1) 编辑
摘要: 明确需求 开发一款插件最先要考虑的当然是它要实现什么功能了。比如我想做的是varname-go-die主要功能就是让开发者有时候遇到起变量名但是不知道英文怎么拼时,不需要切换到翻译软件去查找再copy过来,只需要在编辑器中输入中文就可以实现联网翻译,并且可以通过一个列表选择自己设置的常用变量格式。 阅读全文
posted @ 2017-05-07 22:14 liqiking 阅读(2671) 评论(1) 推荐(0) 编辑
摘要: Virtual Files A virtual file com.intellij.openapi.vfs.VirtualFile is the IntelliJ Platform’s representation of a file in a file system (VFS). Most com 阅读全文
posted @ 2017-05-04 23:06 liqiking 阅读(657) 评论(0) 推荐(0) 编辑
摘要: 1. Working with text The following set of steps will show how to access a text selection and change it. 1.1. Pre-requirements 1.1.1 Creating a new act 阅读全文
posted @ 2017-05-03 23:28 liqiking 阅读(509) 评论(0) 推荐(0) 编辑
摘要: DialogWrapper The DialogWrapper is the base class which is supposed to be used for all modal dialogs (and some non-modal dialogs) shown in IntelliJ Pl 阅读全文
posted @ 2017-05-03 23:18 liqiking 阅读(424) 评论(0) 推荐(0) 编辑