In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces the knowledge about "how to use Intellij IDEA to build a full-stack IDE." In the actual case operation process, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!
I. Installation and Configuration 1.1 Installation Method (MAC as an example)
Download through official website
Install via homebrew, brew cask install intellij-idea
1.2 configuration process
Principle: Concise, sufficient
step1: Universal Color Scheme theme configuration (Solarized Dark recommended)
cdn.nlark.com/lark/0/2018/png/2746/1534164364364-6bffa97a-257f-4ef0-8cea-12efd36e1516.png">
copyright configuration
New copyright
Set copyright
Configure Terminal
Configure shell path consistent with system
Step 2: Development language configuration (configure as needed)
Configuring Java Environment
Configuring Python Environment
Configure Golang environment
Configure Shell Environment
Step3: Plugin Configuration
Configure Group Plug-in Warehouse
mounting insert
Step4: Optimize configuration
IDE Performance Optimization
Second, multi-language development environment configuration 2.1 configuration Java development environment settings prohibit import *
Set the version of unified compilation jdk (close JDK module)
Configure Open Serialization Interface serialVersionUID Check 2.2 Configure Python Development Environment Install Python Plugins
Configure sdk (recommend using System python sdk for main sdk, keep alignment)
Configure module sdk
effect
2.3 Configure Golang Development Environment Install GO Plugin
configuration mode
Refer to Go Development Environment for details
effect
2.4 Configure Shell Development Environment Install BashSupport Plugin
effect
III. Plug-ins 3.1 Introduction to plug-ins
One of the most powerful IDEs is extension. Almost all IDEs support plug-in extensions. You can extend them through third-party public plug-in repositories or custom plug-ins. There are two types of plug-in installation methods currently provided by IDE:
Remote warehouse (recommended)
Official remote repository, default configuration
Custom remote warehouse. The group has its own remote warehouse.
Hard disk installation, recommended official plug-in download
__Suggestion: give priority to using remote repository download__, occasionally network bad situation can try manual download, install through hard disk
3.2 Recommended plug-in list Required
Ali-CodeAnalysis Group Code Specification Plug-in
FindBugs-IDEA code analysi essential, expect Ali-Code Analysis can completely replace FindBugs
programming languages support
Python
Go
BashSupport
Scala
other
JRebel Hot Deployment Plugin
Lombok Plugin lombok support
Code Glance borrowed from Sublime
Statistic Code Statistics Plugin
3.4 List of recommended plugins
IV. Tuning IDE Performance Tuning
IntelliJ IDEA is based on Java development, this time reasonable adjustment of JVM parameters can often speed up IDE performance, if you have encountered similar in the process of using IDEA:
When you open the IDE for the first time, the system will be stuck when the project file indexing
Import multiple modules to cause jamming
maven Reimport IDEA Caton
A long time without restarting the IDE causes a jam
other cases
At this time, it is recommended that you modify the IDEA java process startup parameters to achieve optimization, as follows:
modify startup file
MAC (default installation): edit file/Applications/IntelliJ\ IDEA.app/Contents/bin/idea.vmoptions content can be referred to as follows:
Reference configuration-Xms4096m-Xmx4096m-XX:ReservedCodeCacheSize=1024m-XX:+UseCompressedOops-Dfile.encoding=UTF-8-XX:+ UseConceptMarkSweepGC-XX:SoftRefLRUPolicyMSPerMB=50-ea-Dsun.io.useCanonCaches=false-Djava.net.preferIPv4Stack= true-DjdStack k.http.auth.tunneling.disabledSchemes=""-XX:+HeapDumpOnOutOfMemoryError-XX:-OmitStackTraceInFastThrow-Xverify:none-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
Note: The default-Xms and-Xmx are generally 128M or 256M. The default configuration is obviously not enough when we manage multiple moudle codes through a Project.
"How to use Intellij IDEA to build a full-stack IDE" content is introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!
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.