Top Searches
وب گردی تفریح و سرگردی
Showing results for idea organize imports

java - IntelliJ Organize Imports - Stack Overflow

In addition to Optimize Imports and Auto Import , which were pointed out by @ dave-newton and @ryan-stewart in earlier answers, go to: IDEA <= 13: File menu > Settings > Code Style > Java > Imports; IDEA >= 14: File menu > Settings > Editor > Code Style > Java > Imports (thanks to @mathias-bader for ...
https://stackoverflow.com/questions/8608710/intellij-organize-imports

Using auto import - Help | IntelliJ IDEA - JetBrains

When you create a class from a template with the Optimize imports on the fly option enabled, IntelliJ IDEA will optimize imports from this template only after you reopen ... The Optimize Imports feature helps you remove unused imports, add missing imports, and organize import statements in the current file, or in all files in a ...
https://www.jetbrains.com/help/idea/creating-and-optimizing-imports.html

Intellij Idea 15 - disable import statement re-arrangement – IDEs ...

Mar 14, 2016 ... Hi, I'm using INtellij Idea 15 for my Java project. I notice that the IDe automatically updated my import statement arrangement. It did that in order specified in Settings > Editor > Code Style > Imports > Import Layout. I deleted all statements from there but now it re-arranges the imports in alphabetical order.
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206545369-Intellij-Idea-15-disable-import-statement-re-arrangement

Reformat code and organize imports - LinkedIn

Join David Gassner for an in-depth discussion in this video, Reformat code and organize imports, part of IntelliJ IDEA Community Edition Essential Training.
https://www.linkedin.com/learning/intellij-idea-community-edition-essential-training/reformat-code-and-organize-imports

Tip: Use the same Import Order in IntelliJ IDEA as Eclipse's

... sampleprotipintellijeclipseideeditorimport. Organize IntelliJ IDEA's import as Eclipse ones: While working at a client, where everyone is using eclipse, while I' m using IntelliJ IDEA, there are subtle formatting differences. One of them is in the order of the imports. To solve it, see this link. Posted by Alvaro Garcia Jul 30, 2015 ...
https://alvarogarcia7.github.io/blog/2015/07/30/tip-use-the-same-import-order-in-intellij-idea-as-eclipses/

Eclipse Ctrl + Shift + O in IntelliJ IDEA – Mkyong.com

Jan 22, 2017 ... In Eclipse, you press CTRL + SHIFT + O “Organize Imports” to import packages automatically. For IntelliJ IDEA, if you press CTRL + ALT + O “Optimize Imports”, it just removes some unused imports, never imports any package. And the worst is you need click on the class name and press ALT + ENTER keys ...
https://www.mkyong.com/intellij/eclipse-ctrl-shift-o-in-intellij-idea/

How to organize imports and automatically import Java classes in ...

Jul 22, 2016 ... In this tutorial we look at what happens when you just paste in a bunch of Java code. If the IDE doesn't understand what classes you are trying to use then we need to import them. IntelliJ gives us some great tools for making this super easy to do. We are going to discuss some options and I will show you my ...
https://www.youtube.com/watch?v=fSX1yKKtiXg

Add ImportOrder check to default configuration on Checkstyle · Issue ...

Jul 22, 2015 ... IDEA settings. In "Import Layout" on the bottom configure as following. Note: pay attention to order of static and non-static imports, people often mix them. IDEA Import Order. Source: http://stackoverflow.com/questions/14716283/is-it-possible- for-intellij-to-organize-imports-the-same-way-as-in-eclipse ...
https://github.com/checkstyle/checkstyle/issues/1448

IntelliJ IDEA and Eclipse Shortcuts | Catalysts

Eclipse, IntelliJ IDEA, Description. F4, ctrl+h, show the type hierarchy. ctrl+alt+g, ctrl+alt+F7, find usages. ctrl+shift+u, ctrl+f7, finds the usages in the same file. alt+ shift+r, shift+F6, rename. ctrl+shift+r, ctrl+shift+N, find file / open resource. ctrl+ shift+x, j, ctrl+shift+F10, run (java program). ctrl+shift+o, ctrl+alt+o, organize imports.
https://www.catalysts.cc/en/wissenswertes/intellij-idea-and-eclipse-shortcuts/

14.04 - Ctrl+Alt+O (Organize Imports) not working on Intellij IDEA ...

The problem was that I had ClipIt 1.4.2 installed and Ctrl + Alt + O is set by default to the Off-line Mode hot-key. As @mounir indicates in its comment, gpaste gnome -extension also has the same shortcut.
https://askubuntu.com/questions/592654/ctrlalto-organize-imports-not-working-on-intellij-idea