Some README.md Love: Markdown Support Improvements
Developers and other users of JetBrains IDEs have been using the integrated Markdown support for a long time. It is great for editing your project’s README.md file, as well as any documentation that comes with the source code, or even your static web site sourced in Markdown. You can also use Markdown scratch files to draft up blog posts, store your meeting notes, or a to-do list. (more…)
Beyond Comparison: Compare Anything in IntelliJ IDEA
IntelliJ IDEA provides powerful coding assistance features, smart code completion, tons of inspections and context actions, and much more. But IntelliJ IDEA is not just an editor. It has powerful features that can make your user experience pleasant and easy as well. Today, we’ll take a look at the options you have for comparing various elements in IntelliJ IDEA. Comparing project files Let’s start with comparing files. Open the Project tool window by pressing ⌘ 1 on macOS (Alt+1 on Windows and Linux), or navigate to View | Tool Windows | Project. From there, select the files
When Web Testing Becomes a Breeze
Web testing becomes more and more convenient with the advent of new frameworks that make our lives easier. Modern frameworks abstract us from a lot of configuration and boilerplate and let us concentrate on our business objectives instead. Selenium lets us interact with web elements through a convenient API. Selenide makes it handier by adding convenience methods and spares us from tedious setup. Every new technology strives to raise the bar and make web testing even more enjoyable. The value of such frameworks cannot be emphasized enough. They are force multipliers indeed! Now that’s related
Any Comments? Comment Your Code Like a Pro With IntelliJ IDEA
After reading the title of this post, many developers might think that it doesn’t make sense. Professional developers write their code in a way that it is clear and readable not only to them, but to any developers that deal with it in the future – without any comments. While this is true, if we’re completely honest, we know it isn’t always as easy as that in real life. So, let’s take a look at how you can comment your code quickly and efficiently. There are various types of comments in code and not all of them imply that your code smells. We can leave comments to clarify the code fo
Profiling Tutorial: Fixing the Parrot Party
We often find ourselves in situations where code is not working properly, and we have no idea where to even begin investigating. Can’t we just stare at the code until the solution eventually comes to us? Sure, but this method probably won’t work without deep knowledge of the project and a lot of mental effort. A smarter approach would be to use the tools you have at hand. They can point you in the right direction. In this post, we’ll look at how we can use some of IntelliJ IDEA’s built-in tools to investigate a runtime problem. Note: This post shows how to use features of both the Community a
One Shortcut to Run Them All
Learn how to run anything faster and more efficiently: from run/debug configurations to build tool commands.
Stay Organized with Tasks in IntelliJ IDEA
Integrate IntelliJ IDEA with your issue tracker and work with tasks assigned to you right from the IDE. No issue tracker? Create your own tasks!
Unfreeze Your Apps
There are a lot of debugger tutorials out there that teach you how to set line breakpoints, log values, or evaluate expressions. While this knowledge alone gives you a lot of tools for debugging your application, real-world scenarios may be somewhat trickier and require a more advanced approach. In this article, we will look at how to locate code without much prior knowledge of the project structure and APIs, debug hanging applications, and fix faulty code on the fly. The problem If you want to follow along, start by cloning this repository: https://github.com/flounder4130/debugger-examp
The Truly Hidden Gems of IntelliJ IDEA
Take a look at some true gems of the IDE you thought you knew so well.
Get Started With Profiling in IntelliJ IDEA
Sometimes your app works, but you want to increase performance by boosting its throughput or reducing latency. Other times, you just want to know how code behaves at runtime, determine where the hot spots are, or figure out how a framework operates under the hood. Some of these details can be provided at design time, as IntelliJ IDEA provides you with all sorts of clues that can be produced statically. Of course, you cannot learn about all the bugs and inefficiencies by just looking at the code, because things get more complicated at runtime. Verifying any guesses you have can prove to be a to
Basic Refactorings in Action
As you know, two of the most popular basic refactorings that IntelliJ IDEA offers are Extract Method and Inline Method. The first makes the method shorter and more readable, while the other minimizes the number of unneeded methods, and makes the code more straightforward. In IntelliJ IDEA you can use both these actions in a row to achieve a more complex result – we call this process multistep refactoring. Let’s check it out and see what we can do to achieve more with less. (more…)
Find Your Visual Zen
There are lots of features in IntelliJ IDEA that can help you to focus and maximize your productivity. A big factor in helping your productivity can come from how the UI and, more importantly, your code are presented to you. There are many scenarios: reading and analyzing code to understand something, editing statements to change the behavior slightly, writing a big chunk of the implementation, comparing code, presenting your code to an audience, and so on. Depending on the scenario, you can change the way the IDE displays the code. Let's cover the different viewing modes that IntelliJ IDEA h