Which Intellij features you like most? Please let a comment below. I'm working on another post about most useful Intellij extensions and some tips when coding with Java in Intellij. Pro-tip: You don't need to remember every hotkeys, all you need to remember from the beginning is the shortcuts to open the Actions Control dialog. To open the productivity guide, simply type 'Productivity guide' in the Actions control (by pressing Ctrl Shift A). The next day I go to work, I can start trying some productivity tips that I haven't used before.
This feature allows us to see the list of productivity practices in Intellij, the frequency we use a productive tips and how to use it. There is a built-in feature in Intellij called Productivity guide. This isn't a hard answer question with Intellij.
Most of the time I can't tell because different people have different opinions.
I usually ask myself whether I take full advantage of the IDE yet. Pro-tip: You can search for the function name in the class structure dialog, just type the function name after open the class structure dialog. To show the function's document, press Ctrl Q to show the function's implementation, press Ctrl Alt I. Inside the class structure dialog, you can show document of the function and its implementation. Luckily, you can show the class structure just by pressing Ctrl F12.
We may need to change only 1 line of code, but we probably have to go to many different functions to find out the context. Navigate through a big Java class is a lot of works.
By pressing the combination key Ctrl, Alt, F, Intellij will suggest me to extract even more similar code together to make the extracted function even more reuseable (by introducing new parameter to the signature of the function). Move a file to different package will result all usages get updated.Īnother important refactoring that I am using daily is extracting code to function. The renaming feature doesn't just change the name of all occurences, but also recomment to udpate the related expression, like the parameters in the setter, constructor, etc. It automatically renames all the references to the change. Honestly, if youre wanting to use Markdown with Next.js Id recommend you try out remark-react. It differs from remark-html as it doesnt force the developer to use dangerouslySetInnerHTML. I was like "Wow! that's so cool" when I use the Rename function of Intellij. Remark-react is a package that converts Markdown into React and it works with a Next.js application.