Skip to main content

Intelli J Idea Tricks n Tips


Switch Function key of your mac or windows machine, so that you don’t have to press function key while using F1, F2.

Search:
File Search: Cmd + Shft + O
Text search in whole project : Cmd + Shft + F
Search settings, commands : Cmd + Shft + A    ( Brahmastra )

Navigation:
Disable tabs. We don’t need it.
Recent files: Cmd + E.  Last accessed file, Cmd + E + Enter
Recently edited files: Cmd + Shft + E
Browse backward / forward in history: Cmd + [    OR Cmd + ]
Project Window Toggle: Alt + 1
In project window setting Autoscroll from source
Open a selected file from project window: F4
Create new file: Ctr + Alt + N
Hide all windows except Code editor:  Cmd + Shft + F12
Toggle Terminal: Cmd + F12
Find implementation of any method: Cmd + Alt + F8
Find usages: Cmd + F7   OR   Cmd + B
Remove navigation bar, from View menu.

Code Editor:
Move code up or down: Alt + Shft + Up / down
Duplicate a line : Cmd + D
Delete Line : Cmd + Delete
Reformat Code: Cmd + Alt + L
While writing json or html in the string, you can do Alt + Enter -> Inject language -> Json.  
And you will be able to create json in json editor. Same can be done for regular expressions. Once as string is marked as regular expression, you can do the validation against it.
Invoke surround with: Cmd + Alt + T. useful to add try catch block
Suggest function argument: Cmd + P
List methods: Cmd + F12
Next error in the file : F2
Run project: Ctrl + R
Debug project: Ctrl + D
Use Evaluate Expressions in debugging mode to check dynamic code changes without restarting project
Misc:
Use scratch file for temporary code. It gets auto-deleted when closed


Comments

  1. This is an awesome post. Really very informative and creative contents. This concept is a good way to enhance knowledge. I like it and help me to development very well. Thank you for this brief explanation and very nice information. Well, got good knowledge.
    WordPress development company in Chennai

    ReplyDelete
  2. Great Article
    Cloud Computing Projects


    Networking Projects

    Final Year Projects for CSE


    JavaScript Training in Chennai

    JavaScript Training in Chennai

    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

    ReplyDelete

Post a Comment

Popular posts from this blog

Auto Scaling DynamoDB

Those of you who have worked with the DynamoDB long enough, will be aware of the tricky scaling policies of DynamoDB. It allows user to explicitly set requests per second (units per second, but for simplicity we will just say request per second). User can do so for read as well as write operations. Anytime user can increase or decrease the provision capacity from DynamoDB web console and it will reflect immediately. Sounds all good....... Or not? What if you set provisioned capacity to 50 req per second but load on the server crosses 100 req per second? Requests gets throttled!! Mostly times out. What's worse? This can cause requests getting queued up in your web server. Which can potentially bring your entire server down. What if you set provisioned capacity to 1000 req per second but load on the server is only 100 req per second through out the day? You lose your hard earned money for remaining 900 req per second. What if you set it to 1000 req per sec and then realis

StackDriver Integration with AWS Elastic Beanstalk - Part 1

Stack Driver Setup Step 1: Create stackdriver project Navigate to https://stackdriver.com  After logging in you will be redirected to project creation page. To manage multiple environments of your application its advisable that you create just two projects. One for production env and other one for non-prod. Even though you might have multiple non-production environments, but having one stackdriver project per application-env is overkill. So, lets start with production project. For this tutorial, I'll create CodeHooDoo-Prod project. Once the project is created, StackDriver will ask you to link your AWS account resources to it for monitoring.  But as AWS CloudWatch has good monitoring and alerting support you can skip this one. Keep clicking continue until you get to monitoring console. Click on the logging. This is where you will get all the logs from your application server. Step 2: Download authentication key Navigate backt to https://stackdriver.com .