万本电子书0元读

万本电子书0元读

顶部广告

IntelliJ IDEA Essentials电子书

售       价:¥

110人正在读 | 0人评论 6.2

作       者:Jaros?aw Krochmalski

出  版  社:Packt Publishing

出版时间:2014-12-22

字       数:145.7万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This book is for developers who want to work smarter so they can focus their efforts on the details that will give them the advantage. This book is tailor-made for developers who want to move from NetBeans and Eclipse to experience the power and functionality of IntelliJ IDEA.
目录展开

IntelliJ IDEA Essentials

Table of Contents

IntelliJ IDEA Essentials

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this books covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Errata

Piracy

Questions

1. Get to Know Your IDE, Fast

Comparing the various editions

Installing IntelliJ IDEA

An overview of the workspace

Tool windows

View modes in tool windows

Pinned Mode

Docked Mode

Floating Mode

Split Mode

Multiple views in tool windows

Navigating inside the tool window

Tool windows set up for a specific project

Editor tabs

Crafting your settings

Searching for options

Setting keyboard shortcuts

Colors and fonts

Picking your plugins

Configuration tips and tricks

Exporting and importing settings

Sharing settings

Tuning IntelliJ IDEA

Summary

2. Off We Go – To the Code

What is a project?

Project structure and configuration

Comparison of Eclipse, NetBeans, and IntelliJ IDEA terminologies

The project

Modules

Folders

Libraries

Facets

Artifacts

Creating a project

Creating a new project from scratch

Importing the existing project

Project format

The directory-based format

The file-based format

The directory-based format versus the file-based format

Summary

3. The Editor

An overview of the editor and setup

The gutter area

The Status bar

Tabs

Scratches

Scrollbar

Navigating in the editor

Navigating between files

Navigating within a single file

The Search Everywhere feature

The editor basics

Searching for and replacing text

Syntax-aware selection

Column selection mode

Clipboard history

Reformatting the code

Code completion

Language injection

Generating code

Code inspection

Using Live Templates

Postfix code completion

Comparing files and folders

Comparing files

Comparing folders

Looking for help

Viewing inline documentation

Viewing type definitions

Looking for usages

Viewing method parameters

Viewing the external documentation

Summary

4. Make It Better – Refactoring

An overview of refactoring

Refactoring actions

Rename

Find and Replace Code Duplicates

Copy

Move

Move Instance Method

Safe Delete

Change Signature

Type Migration

Make Static

Convert to Instance Method

Extract refactorings

Extract Variable

Extract Constant

Extract Field

Extract Parameter

Introduce Parameter Object

Extract Method

The Extract Method object

Delegate

Extract Interface

Extract Superclass

Inline

Remove Middleman

Wrap Return Value

Invert Boolean

Pull Members Up or Push Members Down

Replace Inheritance With Delegation

Convert Anonymous Class to Inner

Encapsulate Fields

Replace Constructor with Factory Method / Builder

Generify

Summary

5. Make It Happen – Running Your Project

A temporary configuration

The permanent configuration

The Run/Debug configuration for a Java application

Creating a Tomcat server local configuration

The Node.js configuration

Configuration defaults

Sharing the configuration

Running

Summary

6. Building Your Project

Editing Maven settings

The Maven tool window

Running Maven goals

Using Gradle

Executing Gradle tasks

Summary

7. Red or Green? Test Your Code

Enabling the testing plugins

Creating the test

Creating a run/debug configuration for the test

Running or debugging the test

Keyboard shortcuts

Summary

8. Squash'em – The Debugger

Debugger settings

Setting up the JavaScript debugger

Managing breakpoints

Starting the debugger

The Debug tool window

Inspecting variables and evaluating expressions

Debugger actions

Keyboard shortcuts summary

Summary

9. Working with Your Team

Enabling version control

Checking out the project from the repository

Configuring version control

Working with version control

Changelists

Adding files to version control

Committing files

Getting changes from the repository

Browsing the changes

Reverting the local changes

Using the difference viewer

Displaying the history

The log viewer

Quickly executing VCS actions

Keyboard shortcuts

Summary

10. Not Enough? Extend It

Setting up the environment and project

Developing the plugin functionality

Deploying and publishing

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部