Giter Site home page Giter Site logo

deepseacat / tool-tips Goto Github PK

View Code? Open in Web Editor NEW

This project forked from transcendence-chuli/tool-tips

1.0 0.0 0.0 1.46 MB

idea 中相见恨晚的技巧 :poop: :poop::poop::poop::poop::poop: 文档访问地址 http://atips.cn/idea/

License: MIT License

tool-tips's Introduction

DataGrid 快捷键

放开那个女孩让我

得到数据库创建 SQL

选中对应表 - ctrl + b

create-table-ddl-sql.png

重命名表 rename table

选中对应表 - shift + F6

rename-table.png

更新表结构 modify table

选中对应表 - ctrl + F6

快速打开 console 可以输入命令操作指令

open-console.png

运行命令

run-command.png

更快捷的方式 完美拥抱快捷键

有的时候, 会操作很多的表结构, 每次操作的时候都要来右键打开console, 说实话真的很烦

由于 GridFlowIDEA 出自同一公司, 所以他们的操作很多时候是一样的, 所以使用IDEA 基本可以非常流程的使用 GridFlow

快速的查看某个表的数据

ctrl + n对比idea 查找类

fast-select.png

快速对表进行查找

以前每次使用navicat 的时候, 快速查找真的是一件很麻烦的事情

fast-select-eg.png

比如我们要检索文章标题中带有 linux 字样的文章, 在上方输入框中 输入 title like '%linux%' 按回车即可

fast-select.png

删除一条记录(与Idea中删除一行代码类似)

选中要删除行数据 ctrl + y , 这时这时标识你即将要删除的数据, 此时按下 ctrl + enter 确认删除

添加一条相同的记录

有的时候我们在测试的时候可能需要比较多测试数据, 这时候就可以使用 ctrl + d 后使用 ctrl + enter 就可快速添加测试数据

执行sql语句

以前的navicat 在执行语句的时候, 可能就是 选中当前行, 右键执行选中, 或者选中要执行的sql ctrl + shift + R , 但是在GridFlow 中 这项操作变得更加智能

  • 如果在输入sql的界面中只有一条Sql的话, 直接使用 ctrl + enter , 便会执行这条语句

  • 如果在界面中存在多条sql, 输入完毕后, 输入 ctrl + enter 那么会弹出让你选择执行的sql段, 默认选中当前段, 再次按enter 即可

    run-sql.png

这样就避免的选中 sql 实属神器

快速对比两个数据库差异

这个是真神器了, 在上线时对比测试环境和生产环境数据库之间存在的差异

按住 ctrl 选中要对比的数据库, 按 ctrl + d即可对比,

可以查看两个数据库之间的差距, 并生成对应的 sql

点击Migrate Left , 生成转化为右侧表对应的Sql

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.