Coder Social home page Coder Social logo

chenjava's People

Contributors

neilchenxie avatar

Watchers

James Cloos avatar  avatar

chenjava's Issues

IDEA

Start

https://www.jetbrains.com/idea/documentation/

Find&Search

⌘O search for class

⇧⌘O search for file

⌥⌘O anything in file

⌘F12 struture in file

⌘E recent files

F2/⇧F2 syntac error jump

⌥⌘↑/⌥⌘↓ compiler error jump

  • ⇧⌘F7 (Edit | Find | Highlight Usages in File) to quickly highlight usages of some variable in the current file.
  • ⌘G and ⇧⌘G keys to navigate through highlighted usages.
  • to remove highlighting.

Movement

⌃↑ and ⌃↓ keys to quickly move between methods in the editor.

Edit

⇧⌘V

clipboard selection

Auto Format

Code | Reformat Code

⌃⇧J

join 2 lines

Class Manufacto

⇧F6 (Refactor | Rename)
⌃O (Override)
⌃I (Implement)

Comment

⌘/ and ⌥⌘/

Comment & Block Comment

Template

⇧⌘⏎

create Surround

⌥⌘T

(Code | Surround With) You can customize the bodies of the generated catch blocks on the Code tab of File | Settings | File and Code Templates.

Autocomplete

⌃Space

traditional autocompletion and name suggestion

⌃⇧Space

SmartType

accept the suggestion

⌘P

a list of valid parameters

Shift+click

close tabs in the editor

⌘N

(Code | Generate)

⌃⇧Space

new

⌥⌘V

simplify complicated statements in your code

Class Navi

⇧⌘⌫

last modified place

⌃H

inheritance hierarchy for a selected class

⌥F7

all places where a particular class, method or variable is used in the whole project by positioning the caret at the symbol's name or at its usage in code and pressing ⌥F7 (Edit | Find | Find Usages in the popup menu).

F1

See javadoc

⇧F1

browser view doc

⌥F1

To quickly select the currently edited element (class, file, method or field) in any view (Project view, Structure view or other)

⌥↑

(extend selection) in the editor selects the word at the caret and then selects expanding areas of the source code. For example, it may select a method name, then the expression that calls this method, then the whole statement, then the containing block, etc. You can also select the word at the caret and the expanding areas of the source code by double-clicking the target areas in the editor.

⌘B

To navigate to the declaration of a class, method or variable used somewhere in the code, position the caret at the usage and press ⌘B (Navigate | Declaration). You can also click the mouse on usages with the Ctrl key pressed to jump to declarations.

⌥⌘B

To navigate to the implementation(s) of an abstract method

⌃⇧Q

to see the declaration of the current method without the need to scroll to it.

window

The ⎋ key in any tool window moves the focus to the editor.
⇧⎋ moves the focus to the editor and also hides the current (or last active) tool window.
The F12 key moves the focus from the editor to the last focused tool window.

Debug

To easily evaluate the value of any expression while debugging the program, select its text in the editor (you may press a ⌥↑ a few times to efficiently perform this operation) and press ⌥F8.

To quickly evaluate the value of any expression while debugging the program, hold Alt and click this expression to see its value and calculate it, call a method, etc.

Function to Try

  • Live Templates(⌘J competion)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.