Q eclipse turned IntelliJ IDEA

Q: My Workspace (workfspace) what happened where my project (project) are A:?? Do not worry, just a little differently. IntelliJ IDEA to create a Project as the code base for all your work, and create a Module separate into its individual components. Therefore, IntelliJ IDEA's Module is like an Eclipse Project, and Project and the Eclipse workspace (workspace) similar. Although it is not exactly like the Eclipse workspace that contains all your work, but you can open multiple Project IntelliJ multiple tables at the same time this can help you understand the concept of Eclipse and IntelliJ IDEA is how to ask each other corresponding: I ? how do I open Eclipse project it Answer: very simple. Do you have an import option, either, or direct links to them. IntelliJ IDEA supports the Eclipse classpath module dependencies, so you can link directly to your Eclipse IntelliJ IDEA project and make it work, even if the team is in a mixed IDE. Or, you can import an Eclipse project natively IntelliJ IDEA format, if you do not need any backward compatibility. If you use Maven, you can directly open pom.xml file, IntelliJ IDEA will all depend on import, download the required libraries to complete all settings. Q:? Facets- what they do A: In order to simplify project configuration. Facets (dimensions aspects) includes support for various frameworks, technologies and languages. For example, you want to use Spring in your project, you only need to add a corresponding one of Facet (aspect). All libraries will be downloaded and configured, you will get coding, refactoring and so on a full range of support, in addition, the model also confirm the code, so you absolutely do not need to worry about any configuration problems. In most cases, you can add more of the same type of Facet to your project. For example, you can have multiple Web applications are ready to deploy to different aspects of a server, or multiple different versions of EJB applications. (See also item configuration.) Q: I configured JDK project where? A: In the Project Settings dialog box. To add a JDK to the project, press Ctrl + Alt + SHIFT + JDK S, click on JDKs in the Platform Settings option, and specify the path to the JDK. After that, you can click on the item, and specify that you want to configure in the current JDK used by the project. Please note, JDK configuration is IDE level, so when you create another project, you do not have to add the same JDK. Q: How do I add files to my project? A: As long as they are copied to the project folder. All changes will be tracked IntelliJ IDEA project files, and automatically take appropriate action. Q:? How can I share my preferences configuration A: through project-level settings. In IntelliJ IDEA you have some options to share code style settings, configuration and operation check the configuration file at the project level, so they are stored in the project description file and visible to all team members. You can also set IntelliJ IDEA synchronization via a server, so that your sync preferences in to any computer running IntelliJ IDEA. (See IDE settings sync.) Q: How do I configure code templates A:? Using the settings dialog. Dynamic template in IntelliJ IDEA --- predefined code snippet calls by entering the relevant abbreviation. They context parameters may include, for automatically adjusting when they are inserted. Click here for more information about how to use the template in the code. To manage dynamic template, press Ctrl + ALT + S key to open the Settings dialog box, and then click Live Templates to increase. (See also code generation.) Q: How can I make sure that all my files are saved? A: You do not have to worry. They are automatically saved. When you switch to another application, compile or run your code, perform VCS operations, etc., in IntelliJ IDEA you never have to worry about saving files. For additional security, you can enable automatically saved in the specified time. If you need to roll back any unnecessary changes, you can use the Local History (local history) -IntelliJ IDEA built VCS. Q: How do I compile incremental compilation done my Project A:?? Yes. But slightly different way of working. IntelliJ IDEA only when needed to compile files (when you run your application or explicitly use the build action), it can be other, more important tasks for the same time conserve system resources by default. The compiler is incremental: dependencies between IntelliJ IDEA continues to trace the source file and compile only that file is changed. Compile error file will be highlighted, including their containing folder - so you can find them easily through the Project view (project view). View a list of all the files contain compilation errors, you can select Scope from the Project view of the combo box | Problems. After each compilation, IntelliJ IDEA continues to execute code in the background error file analysis, if you have resolved the error automatically remove red highlight label. Want to save are triggered each time the compiler, you can use third-party developers :( EclipseMode plug, non-bundled plug-ins). Also want the code to run when there is an error, you can Settings (settings) dialog, Compiler, Java Compiler, select the Eclipse compiler, and add -proceedOnError expand command-line arguments in the compiler. Q: What options are available for checking the configuration code A:? IDE and project-level configuration files, and each file to check the settings. In IntelliJ IDEA, you can define a set of active code checks --- a profile (General, summary). IDE-level configuration file is valid for all current projects of the machine, project-level configuration file can be used for all team members. Here you can find some information source code review. To check the configuration profiles can open Settings (settings) dialog box, or click the icon on the toolbar Hector. You can also configure a separate check - every time the ball pop up, telling you a question, press Alt + Enter, click on the arrow to the right of the menu, you can configure the current file or even prohibit such examination of the entire project. Q: I have a habit of keyboard shortcuts where? A: They are still there. IntelliJ IDEA includes the Eclipse keyboard mapping, if you like to use keyboard shortcuts you are accustomed to, you can select Settings (settings) dialog box, keyMap years. If you want to learn how to use shortcuts for IntelliJ IDEA, You can read or print from the Help menu in the default keyboard mapping reference. Q: I think the editor's behavior is not the same. Am I right? A: Yes, you're right. In Eclipse, virtual space (the possibility of inserting the end of a line in the symbol), is off by default, which is the default setting and IntelliJ IDEA is reversed. To change it, go to Settings (Settings) dialog box, Editor, clear the option to allow the caret after the end of the line (Allow placement of caret after end of line). Eclipse highlighted in the default prompt usage when the caret. To enable this behavior IntelliJ IDEA, choose Insert Symbol prominent element tips on usage (Highlight usages of element at caret) In the same menu. Also note that there is an adjustable maximum allowed number editor tab open (via Settings (settings) dialog box to adjust), so if you want to open a new file, while the number of tag editor has reached the maximum, then the earliest label will be closed automatically. Q: Why There are three ways to invoke code completion? A: Because there are different things to accomplish. In IntelliJ IDEA, you have three types of code completion, these different ways, so you can pick the best code out on the job at any time. For example, when you just need to quickly complete an obvious statement, you can press Ctrl + Space key to complete. This is called basically completed. It also conveniently provides a complete list of alternative in the current context, or keyword needs to be done. If you need more precision and do not want to constantly scroll up and down movement, use Ctrl + Shift + Space to narrow the type of expression of the selection drop-down selection list. After completion of the intelligent filter list is given in this way, to let you quickly get what you need. In addition, if you press it again it will even tell you to call will be achieved through a series of symbolic identification method. Finally, the class name automatically (press Ctrl + Alt + Space) allows you to quickly complete name of a class, and automatically inserts an import statement, if there is no quoted before words. (See also intelligent code assist.) Q: How to configure VCS integration How will my project join VCS A:?? By setting dialog box, Version Control (version control). In IntelliJ IDEA by selecting the first type, and specify the server name and access credentials and other connection settings VCS, then your project folder mapped to the configured VCS. To add an item to the VCS, as long as it is mapped to the root folder of the VCS. Q: How do I use VCS to check changes in where A:?? Change in a dedicated view. In Eclipse, you have synchronized perspective view showing the difference in your local version of the code and the VCS server. In this function IntelliJ IDEA is a view Changes, where you have to change your Local tab displays local do, Incoming tab is displayed by the other team members to check submitted to the VCS server has not synced changes, and so on. To enable tracing incoming change, you need to go Changes view, open the Incoming tab, click the Refresh button and specify cache settings. Q:? How do I check out the project in VCS A: from the welcome screen. This is a project to create the easiest way from the source code, if you check out the source code from the VCS. As long as the Version Control (Version Control) Click next Check out button. If you check out the source code from the VCS. As long as the Version Control (Version Control) Click next Check out button. If you check out the source code from the VCS. As long as the Version Control (Version Control) Click next Check out button.

Reproduced in: https: //my.oschina.net/wzlee/blog/262187

Guess you like

Origin blog.csdn.net/weixin_33904756/article/details/91716741