All Projects → helloworlde → soar-jetbrains-plugin

helloworlde / soar-jetbrains-plugin

Licence: Apache-2.0 license
Plugin of https://github.com/XiaoMi/soar for JetBrains IDE which for SQL optimize and rewrite. SQL 优化工具 SOAR 的 JetBrains IDE 插件

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to soar-jetbrains-plugin

intellij-platform-plugin-verifier-action
GitHub Action for executing the intellij-plugin-verifier
Stars: ✭ 20 (+0%)
Mutual labels:  jetbrains, jetbrains-plugin
ansible-vault-editor-idea-plugin
Ansible Vault Editor IntelliJ Plugin with auto encryption/decryption
Stars: ✭ 29 (+45%)
Mutual labels:  idea-plugin, jetbrains-plugin
Intellij Csv Validator
CSV validator, highlighter and formatter plugin for JetBrains Intellij IDEA, PyCharm, WebStorm, ...
Stars: ✭ 198 (+890%)
Mutual labels:  jetbrains, idea-plugin
intellij-pokemon-progress
A Pokémon themed progress bar for IntelliJ IDEA.
Stars: ✭ 70 (+250%)
Mutual labels:  jetbrains, jetbrains-plugin
github-theme-for-jetbrains
GitHub Theme for Jetbrains is heavily inspired by GitHub 3 Color Scheme and github-vscode-theme.The focus of the development of this theme plugin is to restore the official GitHub theme as much as possible, keeping the colors easy to distinguish, proper contrast, and pleasant.
Stars: ✭ 20 (+0%)
Mutual labels:  jetbrains, jetbrains-plugin
cosy
阿里云智能编码插件(Alibaba Cloud AI Coding Assistant)是一款AI编程助手,它提供代码智能补全和IDE内的代码示例搜索能力,帮助你更快更高效地写出高质量代码。
Stars: ✭ 211 (+955%)
Mutual labels:  jetbrains, idea-plugin
ReactPropTypes-Plugin
A Jetbrains Plugin for react PropTypes
Stars: ✭ 62 (+210%)
Mutual labels:  jetbrains, idea-plugin
aw-watcher-jetbrains
This extension allows the open source tracking tool ActivityWatch to keep track of the projects and coding languages you use in jetbrains IDEs.
Stars: ✭ 36 (+80%)
Mutual labels:  jetbrains, idea-plugin
SideMirror
An Android Studio plugin to mirror your android devices with scrcpy directly from Android Studio.
Stars: ✭ 49 (+145%)
Mutual labels:  jetbrains, jetbrains-plugin
Intellij Sdk Code Samples
Mirror of the IntelliJ SDK Docs Code Samples
Stars: ✭ 217 (+985%)
Mutual labels:  jetbrains
BugKotlinDocument
Plugin for IntelliJ IDEA ┗😃┛ Android Studio ┗😃┛ CLion ┗😃┛ AppCode.
Stars: ✭ 29 (+45%)
Mutual labels:  jetbrains-plugin
Resharper Fsharp
F# support in JetBrains Rider
Stars: ✭ 216 (+980%)
Mutual labels:  jetbrains
Jetbrains Discord Integration
Discord rich presence integration for all JetBrains IDEs
Stars: ✭ 247 (+1135%)
Mutual labels:  jetbrains
dsl-api-generator
Generates binary compatible and Java interoperable DSL boilerplate code
Stars: ✭ 25 (+25%)
Mutual labels:  idea-plugin
intelliroutes
Support for Play Routes in IntelliJ IDEA
Stars: ✭ 21 (+5%)
Mutual labels:  idea-plugin
Jetbrains Plugin Graph Database Support
Graph Databases support for JetBrains family IDEs.
Stars: ✭ 169 (+745%)
Mutual labels:  jetbrains
Darcula
A Vim color scheme reproduction of the official JetBrains IDE Darcula theme
Stars: ✭ 158 (+690%)
Mutual labels:  jetbrains
laravel-tinker
Adds a way to write php and run it directly in Laravels' Artisan Tinker.
Stars: ✭ 123 (+515%)
Mutual labels:  jetbrains
JetBox
ReSharper settings synchronization through Dropbox
Stars: ✭ 18 (-10%)
Mutual labels:  jetbrains
intellij-one-dark
One Dark syntax theme for JetBrains IDEs
Stars: ✭ 69 (+245%)
Mutual labels:  jetbrains

SOAR JetBrains Plugin

JetBrains Plugins Downloads Downloads last month

中文

SOAR Plugin is a plugin of JetBrains IDE for Xiaomi's SOAR (SQL Optimizer And Rewrite), used for analysis SQL performance , give suggestion for optimize, and format SQL.

Demo

Analysis

Analysis Demo-Gif

Format

Format Demo-Gif

Install

Install form local file

  1. Download latest compressed package of SOAR plugin
  2. Open IDE,Settings -> Plugins -> Setting Button -> Install Plugin From Disk Install SOAR
  3. Choose location of the compressed package
  4. Restart IDE after install complete

Install from marketplace

  1. Settings -> Plugins -> Marketplace
  2. Search SOAR Install from marketplace
  3. Click install, restart IDE after install complete

Configuration

Install SOAR

You need configure Go path correctly if you want use SOAR. You can reference from https://golang.org/doc/install for install and configure

  1. Open IDE, Settings -> Other Settings -> Soar (Older version is IDE Settings -> Soar)
  2. Click Init button to get install command SOAR Init
  3. There will input ${USER_HOME}/.soar/ as default path after check success. Then copy the command of download and install SOAR SOAR Init
wget https://github.com/XiaoMi/soar/releases/download/0.10.0/soar.darwin-amd64 -O ${USER_HOME}/.soar/soar
  1. Execute modify permission execution command after download completed.
chmod a+x ${USER_HOME}/.soar/soar
  1. Click Check button to check if SOAR installed correctly Soar Check

  2. Apply settings

Use file configuration

  1. Choose Use File Config
  2. Click Edit button after Config Path
  3. Input Database and other configuration as yours, you can reference Configuration instruction of SOAR configuration Configuration
  4. Click Edit button after Blacklist Path
  5. Add signature or Regex for not analysis SQL Blacklist

Use manual configuration

  1. Choose Use Manual Config
  2. Input Database configuration Manual Config
  3. Apply settings

Attention

  • The account in test environment need all privilege, online account only need select permission
  • The host localhost is not support, please replace as 127.0.0.1
  • The special symbol in password is not support too, please use file configuration.

Usage

SQL Analysis

  1. Select SQL content which need analysis, right click to open edit popup , then choose Soar -> SQL Analysis . Or you can use shortcut ctrl + shift + H too Analysis Action

  2. The analysis process will show in under border until analysis action complete. Analysis Process

  3. There will show dialog when action completed. Analysis Result

Format SQL

  1. Select SQL content which need format, right click to open edit popup , then choose Soar -> SQL Format . Or you can use shortcut ctrl + shift + J too Format Action

  2. It will replace origin SQL content as formatted SQL after action complete. The format process will show in under border too. Format Process Format Result

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].