function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GennadiyGennadiy 

Eclipse IDE bug?

Hi, everybody.

 

I'm using Eclipse Java EE IDE for Web Developers (Version: Indigo Service Release 1, Build id: 20110916-0149). To write APEX code I've installed 'Force.com IDE' plugin (version 27.0.0.201302151147).

 

So, sometimes the code assistant doesn't work and it looks like it's because of internal bugs of the plugin.

 

Let me provide the example (please do no pay any attention to the logic):

 

public with sharing class H_C_TestClass
{
	public void method1()
	{
		String testString = 'Hello';
		Integer a = 5;
		Integer b = 10; 
		if (a < b)
		{
			//I want to open code assistant here and see my variables: testString, a and b
			//But I can't see them in the list.
		}
	}
	
	public void method2()
	{
		String testString = 'Hello';
		Integer a = 5;
		Integer b = 10;
		if (a > b)
		{
			//some code
		}
	}
}

 

I want to set a cursor inside the 'if' section of the 1st method, press on CTRL+space and see my variables in the list. But they are not in the list and I have to write them manually (it's really annoyed).
But if I change a condition in the 2nd method from 'a > b' to 'a < b' or to 'a == b' then the code assistant will work as it's expected.

So, has anybody met something similar? Can it be solved? If it is the plugin's bug then how I can notify creators about this problem?

Satish_SFDCSatish_SFDC
Hi,
I had a some issues with the Force.com IDE intellisense as well. But let me check this specific issue.

Regards,
Satish Kumar
GennadiyGennadiy

Any news, Satish?