Win a copy of Mastering Non-Functional Requirements this week in the Design forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Intellij : new code changes not reflecting  RSS feed

 
Santosh Kumar Nayak
Ranch Hand
Posts: 178
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Intellij IDE version 2016.3.3

The latest code changes are not showing up.

I already tried File-> Invalidate caches/restart

Any other option to explore ?
 
Liutauras Vilda
Marshal
Posts: 4111
227
BSD
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not showing up where?

IntelliJ by default installation doesn't build project after changes. You either need to do manually (upper menu -> Build : project, module or recompile only particular source file) or change settings presumably.
 
Santosh Kumar Nayak
Ranch Hand
Posts: 178
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Code changes are not showing up during debugging.
Compiled class files do have my code changes. After making code changes I do compile particular component/module.

Any other option that I can try further!!!
 
Liutauras Vilda
Marshal
Posts: 4111
227
BSD
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For me isn't  clear. Maybe you could add some screenshots, i.e. showing your current code has a method call:
1. A();
2. but in debug mode it calls method B() instead of A(), because that was previous version of your code.

Are we talking about the same thing as described above?
 
Santosh Kumar Nayak
Ranch Hand
Posts: 178
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

You are quite close to my problem faced.

Suppose I am calling :

1)A()
2)In debug mode it calls A() but the new data members/new code changes in A() are not showing up in debug mode.
 
Liutauras Vilda
Marshal
Posts: 4111
227
BSD
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably I'm not going to get closer than that, unless you decide to help us to help you.
Your current explanation isn't sufficient, at least for me. Let us see if somebody else can help you.
 
Liutauras Vilda
Marshal
Posts: 4111
227
BSD
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please add screenshot, will get clearer I think.
 
Santosh Kumar Nayak
Ranch Hand
Posts: 178
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any settings to check if the java file is getting compiled properly ?
 
Santosh Kumar Nayak
Ranch Hand
Posts: 178
Eclipse IDE IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to check if IntelliJ workspace is  pointing to new changed sources (java files ) ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!