You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/pages/learn/01_tutorial/01_your-first-java-app/02_building-with-intellij-idea.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ last_update: 2024-03-12
29
29
30
30
An IDE (Integrated Development Environment) allows you to quickly build applications, by integrating a source-code editor with the ability to compile and run your code, as well as integration with tools you’ll need for software development, including build tools, testing and debugging tools, version control, and so on. And finally, an IDE will let you search and navigate your codebase in ways your file system won’t.
31
31
32
-
IntelliJ IDEA is the [most widely used IDE for Java developers](https://www.jetbrains.com/lp/devecosystem-2023/java/#java_ide). It has out-of-the-box integrations with the tools a Java developer will need for software development, with no need to install any additional plugins to get started.
32
+
IntelliJ IDEA is one of the [most widely used IDE for Java developers](https://www.jetbrains.com/lp/devecosystem-2023/java/#java_ide). It has out-of-the-box integrations with the tools a Java developer will need to start coding immediately, with no need to install any additional plugins.
33
33
IntelliJ IDEA is available in two editions:
34
34
-**_IntelliJ IDEA Community Edition_** - free and open-source. It provides all the basic features for Java development.
35
35
-**_IntelliJ IDEA Ultimate_** - commercial, distributed with a 30-day trial period. It provides additional tools and features for web and enterprise development.
@@ -156,8 +156,6 @@ Go back to the test file to add tests. We can let IntelliJ IDEA help us generate
156
156
In our test class, we can select **Run All Tests** (**⌃⇧R** on macOS or **Ctrl+Shift+F10** on Windows/Linux).
157
157
While it’s nice to see our tests pass, we also want to make sure that they fail when something is wrong. Make some changes to your code that will make your tests fail, and run them again to see them fail. Revert those changes to see them pass again.
158
158
159
-
We can view the code and tests side by side. To do so, click on the tab with the test file, and select **Move and Split right**. This can be especially helpful if you're doing [test-driven development (TDD)](https://martinfowler.com/bliki/TestDrivenDevelopment.html).
160
-
161
159
## Debugging
162
160
We might want to see how our code runs, either to help us understand how it works and/or when we need to fix a bug. We can run our code through the [debugger](https://www.jetbrains.com/help/idea/debugging-code.html) to see the state of our variables at different times, and the call stack - or the order in which methods are called when the program executes. To do so, we must first add a [breakpoint](https://www.jetbrains.com/help/idea/using-breakpoints.html) to the code.
163
161
@@ -195,9 +193,9 @@ Open Find in Files from the main menu using **Edit | Find | Find in Files**, or
195
193
[](/assets/images/intellij-idea/find-in-files.png)
196
194
197
195
## Evolving the project
198
-
In the future, you might want to add functionality to your project. We’ve seen how intelliJ IDEA can help you with code suggestions and completion while writing code, running your application, adding tests and using the debugger to help figure out how code is run, refactoring code, and more.
196
+
In this article, we’ve seen how IntelliJ IDEA can help you with code suggestions and completion while writing code, running your application, adding tests and using the debugger to help figure out how code is run, refactoring code, and more.
199
197
200
-
You may want to upgrade the version of Java your project uses, or any dependencies used in your project.
198
+
In the future, you might want to add more functionality to your project, and upgrade the Java version your project uses to take advantage of cool new language features.
201
199
202
200
IntelliJ IDEA continues to improve and evolve, adding new features and offering new integration. This includes inspections for new Java language features. [Feedback is welcome](https://youtrack.jetbrains.com/issues/IDEA).
0 commit comments