Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

intellij-14

How can I force update all the snapshot Gradle dependencies in intellij

January 15, 2023 by Tarik

In IntelliJ 2017.2 you can right-click on the project name in the Gradle Tool Window and select Refresh dependencies from the context menu. This will refresh all your dependencies, not only the SNAPSHOTS, so it might take a while. I don’t know if other versions of IntelliJ also have this feature.

Categories intellij-idea Tags gradle, intellij-14, intellij-idea Leave a comment

Find and Replace symbol for whole project intellij?

January 15, 2023 by Tarik

EDIT: Here is the Visual representation for better understanding. Replacing a piece of text in all the files within the specified path do one of the following: On the main menu, choose Edit | Find | Replace in Path Press Ctrl + Shift + R You can try Ctrl + Shift + F. And if … Read more

Categories java Tags find, intellij-14, intellij-idea, java, replace Leave a comment

IntelliJ collapsing single line methods

January 14, 2023 by Tarik

Open ‘Settings’ from the File menu. Under ‘Editor’ -> ‘General’ -> ‘Code Folding’, you will find a ‘Collapse by Default’ section. Simply uncheck ‘One-line methods’ and click OK.

Categories java Tags formatting, intellij-14, intellij-15, intellij-idea, java Leave a comment

IntelliJ Gradle Plugin: The supplied javaHome seems to be invalid

January 3, 2023 by Tarik

In my case the answers above didn’t work. Here’s what work for me: I needed to change Gradle JVM to point to the actual JDK:

Categories java Tags gradle, intellij-14, intellij-idea, java Leave a comment

Hide excluded folders from tree in IntelliJ IDEA

December 17, 2022 by Tarik

The answer is close, in the Project gear menu: PS: Yes, it’s a self-learning post Also, you may have switched on the Show Excluded Files option. If so, use Shift + Shift and type excluded and do the obvious thing.

Categories intellij-idea Tags intellij-14, intellij-idea Leave a comment

Ignore a folder in search results

October 5, 2022 by Tarik

Mark your build folder as excluded: File > Project Structure > Modules > Sources > Mark as Excluded (red icon) You can also just right click on your folder and select Mark Directory As > Excluded. Excluded folders (shown as rootExcluded) are ones that IntelliJ IDEA “partially ignores”. Very limited coding assistance is provided for … Read more

Categories intellij-idea Tags intellij-14, intellij-idea Leave a comment

Error: Unfortunately you can’t have non-Gradle Java modules and > Android-Gradle modules in one project

September 26, 2022 by Tarik

1- close the project 2- close Android Studio IDE 3- delete the .idea directory 4- delete all .iml files 5- open Android Studio IDE and import the project Answer from here

Categories java Tags android, gradle, intellij-14, intellij-idea, java Leave a comment
Newer posts
← Previous Page1 Page2 Page3

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa