In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "what are the problems related to Intellij Idea". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. Garbled code
Console garbled is rarely encountered in Eclipse, but in IJ, both tomcat and main methods often encounter garbled. Some of them can be specified to solve the problem, while others can not be solved when Eclipse is normal in IJ.
2. Comment template
IJ can automatically create comments for file headers and classes and can also be configured, but methods, class member properties, and so on can only be configured through Live Templates, which is very troublesome. It's not as convenient as Eclipse at this point. Eeclipse is free to configure all kinds of comments, and you can't get a perfect comment template on IJ for a long time. Although IJ supports importing annotation templates from Eclipse, there are still many incompatibilities, so give it up.
3. Deployment
It is easy to deploy a web project to tomcat in Eclipse, but it is really difficult to get a web project up and running if you are not familiar with it in IJ.
4. Method jump
In Eclipse, you can jump to the interface directly through ctrl + click, and you can also choose whether you are the interface, the interface implementation or the interface of the parent class, which is very convenient. In IJ, ctrl + click can only jump to the interface. If you want to jump to the implementation or parent interface, you will become familiar with the shortcut keys.
5. Shortcut keys
Many Eclipse shortcuts can be done with one hand, which is very convenient, while many three or four combined shortcuts in IJ really hurt. Most shortcuts require two hands to complete, and it is very troublesome to remember such complex shortcuts. Of course, shortcut keys for using Eclipse can be set in IJ, but some of them are not compatible.
6. View class methods
In Eclipse, you can quickly display all the methods in the current class through ctrl + o. In IJ, you can only open the structure panel to view, which is equivalent to the outline panel in Eclipse, which is not very convenient.
7. Multi-project development
You can develop multiple projects or run multiple projects in one window in Eclipse, but you can only work on one project in IJ. If you want to develop multiple projects, you can only open multiple windows, and the tomcat port of multiple windows should be different.
8. Quickly organize references
In Eclipes, you can quickly import needed references and remove invalid references, but there is no one button in IJ to remove invalid references while importing needed references. IJ can only import and remove references automatically when editing, which is good, but it will be problematic.
9. Tile the Maven module directory
The Maven directory is tiled in Eclipes and folded in IJ. If you want to tile, you need to switch to the Project Files view, so that even Package will tile together. And the modules in Maven are all folded, need to be expanded at one level, and can't all be displayed like Eclipse.
10. Quick creation method
Type a few letters randomly in Eclipse and ALT+/ can prompt you to create a method automatically and quickly, but no corresponding action is found in IJ.
This is the end of the content of "what are the problems related to Intellij Idea"? thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.