随笔分类 - 小方法-小工具
摘要:修改项目字符编码 File -> Setting -> Editor -> File Encodings 改成UTF-8 1.自动优化导入 File -> Setting -> Editor -> Auto Import -> |✔| Optimize imports on the fly 2.左侧
阅读全文
摘要:1.展示多服务窗口 修改配置文件 .idea > workspace.xml 找到 RunDashboard 节点,做如下修改 <component name="RunDashboard"> <option name="configurationTypes"> <set> <option value
阅读全文
摘要:<dependency> <groupId>eu.bitwalker</groupId> <artifactId>UserAgentUtils</artifactId> <version>1.21</version> </dependency> import eu.bitwalker.userage
阅读全文
摘要:皮肤下载地址 : http://color-themes.com 外国站,略慢,请耐心等待 1.下载我自喜爱的皮肤包,xxx.jar 2.导入:File ->Import Settings...选择文件按,一路next 3.重启 IDEA 4.
阅读全文
摘要:写最优雅的代码 阿里开源项目 https://github.com/alibaba/p3c IDEA的集成 ①安装 File -> Settings -> Plugins -> 搜索 Alibaba 然后安装 Alibaba Java Coding Guidelines 重启 IDEA ②使用 在代
阅读全文
摘要:整理了一下,感觉第三方的接口不是很稳定,欢迎提供新的接口地址
阅读全文
摘要:1.使用jquery和,jqprint到您的页面; 优点:使用方便,并不是简单的所见即所得,可以打印看不到的标签; 缺点:页面CSS样式必须是用"style='xxxxx' "的写法写在html标签上,使用class='xxx'的方式无效; 2.使用window.print() 优点:CSS样式可以
阅读全文
摘要:package cn.walle.sysGrid; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Iterator; import org.apache.poi.hssf.usermodel.HSSFCell; ...
阅读全文
摘要://写文件 public void writeFile(String filePath, String sets) throws IOException { try{ String encoding = "UTF-8";//设置文件的编码!! OutputStreamWriter outstream = new OutputStreamWriter(new F...
阅读全文