目录

工欲善其事

实践出真知

活跃标签: linux java mysql 待分类 js springboot win10 电路 vue macOS nginx esp32 git docker windows idea maven esp8266 python Arduino

存档:

标签: idea (8)

idea 插件 EasyCode 模板

EasyCodeConfig.json { "author" : "makejava", "version" : "1.2.8", "userSecure" : "", "currTypeMapperGroupName" : "Default", "currTemplateGroupName" : "Default", "currColumnConfigGroupName" : "Default", "currGlobalConfigGroupName" : "Default", "typeMapper" : { "Default" : { "name" : "Default", "elementList" : [ { "matchType" : "REGEX", "columnType" : "varchar(\\(\\d+\\))?", "javaType" : "java.lang.String" }, { "matchType" : "REGEX", "columnType" : "char(\\(\\d+\\))?", "javaType" : "java.lang.Stri....

[ IntelliJ IDEA ] 快捷键的中文注释 置顶! 有更新!

idea 快捷键绝对是最复杂,不写下来很难都记住.下面整理了一些 功能(Tools) Main Menu | Navigate | Goto by Name Actions | Go to File... 【打开窗跳转到某个文件】 Main Menu | Navigate | Go to URL Mapping... 【跳转到某个URL一般和Springboot一起用查找】 Main Menu | Navigate | Goto by Reference Actions | Select In... 【选择某些功能比如:跳转到目录树等如下图】 Database | Database Explorer | Tools | Scripted Extensions 【数据库增强设置,在某个表上呼出可使用idea自带的代码生成器生成代码】 Database | Database Explorer | Tools 【数据库工具,菜单位置不同出现的菜单也不太一样】 Other | Show in Explorer 【在任务栏打开 windows only】 Database | Database ....

idea 自带代码生成器 【Groovy】配置 有更新!

Groovy 语法不是很懂,idea里也没有申明 DasTable 有哪些字段,一下代码是自己摸索的👇 import com.intellij.database.model.DasTable import com.intellij.database.util.Case import com.intellij.database.util.DasUtil /* * Available context bindings: * SELECTION Iterable<DasObject> * PROJECT project * FILES files helper */ typeMapping = [ (~/(?i)int/) : "Int", (~/(?i)float|double|decimal|real/): "String", (~/(?i)datetime|timestamp/) : "java.sql.Timestamp", (~/(?i)date/) : "java.sql.Date", (~/(?i)time/) : "java.sql.Time", (~/(?i)....

[ idea ] 代码生成器 EasyCode 有更新!

{ "author" : "makejava", "version" : "1.2.8", "userSecure" : "", "currTypeMapperGroupName" : "Default", "currTemplateGroupName" : "limsV2.1", "currColumnConfigGroupName" : "Default", "currGlobalConfigGroupName" : "Default", "typeMapper" : { "Default" : { "name" : "Default", "elementList" : [ { "matchType" : "REGEX", "columnType" : "varchar(\\(\\d+\\))?", "javaType" : "java.lang.String" }, { "matchType" : "REGEX", "columnType" : "char(\\(\\d+\\))?", "javaType" : "java.lang.String" }, { "matchType....

[ idea ] 快捷键大全

编辑栏 分屏控制 设置编辑框向右分屏 位置:Main Menu | Window | Editor Tabs | Split and Move Right 功能:这个快捷键可以将当前所在的编辑框在左侧打开,前提条件是至少有两个标签页 代码效率 加入前一行 位置:Editor Actions | Join Lines 功能:选中一行按此快捷键可以把下面一行的代码合并过来 选中下一个和当前选中的字符串 位置:Main Menu | Edit | Find | Add Selection for Next Occurrence 功能:选中一个字符串后按此快捷键可依此选中下一个相同的字符串,当然有下一个就有上一个、全部选中 全选:Main Menu | Edit | Find | Select All Occurrences 全不选:Main Menu | Edit | Find | Unselect Occurrence 代码抽取 代码增强 位置:Main Menu | Code | Surround With... 功能:选中代码后使用此快捷键,可以实现代码处理。如:强行转换类型、判断非空....

DEA 出现问题:Error running,Command line is too long. Shorten command line解决方案

更新了项目一运行项目莫名其妙的报了错 Error running ‘XXX’: Command line is too long. Shorten command line for MallTest.testRun. 错误运行的测试。命令行太长。缩短命令行。 错误原因 出现这个的原因一般是因为项目需要打印的环境变量太长,超过了限制,需要你缩短命令行来解决问题。 解决办法 修改运行配置Configurations,将默认的Shorten command line的值user-local default 改为 JAR mainifest 或者 classpath file 这种办法每次需要对每个类单独设置。 在项目的.idea/workspace.xml文件中,找到 <component name="PropertiesComponent">,后面在添加一行 <property name="dynamic.classpath" value="true" /> 这种方式一次设置就行。

idea让每个文件展示修改时间及文件大小

View =》Appearance =》Detail in Tree View

idea 默认快捷键

⌘+ d 快速复制一行(这个和Eclipse的默认快捷键相反) ⌘ + l 跳转到某一行 ⌥ + ⌘ + l 格式化代码 ⌘ + ⇧ + f 全局搜索 ⌘ + ⇧ + r 全局替换 ⌘ + ⇧ + u 选中字母大小写切换 ⇧ + ⌥ + j 两行合并下面的合并到上边