Skip to content

Latest commit

 

History

History
61 lines (50 loc) · 3.93 KB

smart-jump.md

File metadata and controls

61 lines (50 loc) · 3.93 KB

smart-jump mybatis-log-plugin

Smart Jump

Introduction

One supports various navigation jumps, makes up for scenarios where the IDE does not provide navigation, and improves development efficiency.

Support Scene

  • Java Method ➔ MyBatis Xml
  • MyBatis Xml ➔ Java Method
  • Html ➔ JS/CSS file
  • Html ➔ JS function
  • Vue event ➔ JS function
  • JS file ➔ Java Controller RequestMapping
  • Eggjs jump

The above support scenarios can be configured through switches and are valid for the project. The default is to enable all. If the project has unnecessary jumps, you can uncheck it.
If there is no corresponding extension file, whether it is enabled or not has no effect on performance.
File | Settings | Other Settings | Smart Jump

Navigation jump

At present, the plugin implements three ways to trigger navigation jumps to facilitate various operating habits of different users.

  • Click the jump icon (little rabbit) on the left side of the code
  • Right-click menu to select Smart Jump to achieve jump
  • Keyboard shortcut Alt+J (customizable) Most scenes support the three jump methods, and some scene jumps only support the right-click menu and shortcut keys, such as the Controller RequestMapping method of js file jumping to Java. Because parsing the entire file will consume a certain amount of performance, only the selected text or Locate the line where the mouse is located, then analyze the jump target.

Supplement

For some not so intuitive jump functions of the plug-in, here is a supplement:
MyBatis Xml jumps to Java Method. If you are using a shortcut key or the right mouse button, you do not need to select the text, and the mouse is positioned inside the sql statement to achieve the jump.
The js file jumps to the Java Request Mapping method. If the line where the mouse is located and the text is not selected, the URL link matching the line will be automatically detected. If there are multiple jump addresses in the line, it is recommended to select the text to be jumped and then trigger the jump.
If the Java project uses the maven framework, the mouse is positioned inside the dependency, and you can use the shortcut key or the right mouse button to jump to the warehouse address corresponding to the https://mvnrepository.com/ website.

Pictures






Planning

Because the number of development languages and frameworks I have contact with is limited, I can’t access all the scenes that need to be jumped, so if you encounter other languages or frameworks that need to be supported by the plugin, please feel free to contact me, thank you.
More jump scenarios will be supported in the future.

Download

Smart Jump

Price

$5/year

Plugins