Stop suggesting camelCaseVaribleNames for new variables. [message #1142454] |
Thu, 17 October 2013 12:34  |
Eclipse User |
|
|
|
This StackOverflow post succinctly describes my issue: stackoverflow.com/questions/15595048/how-to-disable-non-type-proposals-in-eclipse/: I don't want Eclipse to suggest variable names for new variables.
However, the proposed solution (as noted) of disabling "Java Non-type proposals" and "Java proposals" in the "Content Assist ->Advanced" menu also causes Eclipse to stop suggesting existing variables in scope.
For example, Eclipse will NOT suggest "foo" in the following situation (in fact, it won't suggest anything):
String foo = "bar";
// ...
String f
^
This is nuts! I do not want Eclipse to suggest names for new variables. I'd like to name them myself. I'd like to turn just that feature off, but seem to be unable to do so.
Is there any way to accomplish this while still receiving suggestions for existing, in-scope, already-defined variables?
Eclipse Standard/SDK
Version: Kepler Service Release 1
Build id: 20130919-0819
|
|
|
|
Re: Stop suggesting camelCaseVaribleNames for new variables. [message #1214551 is a reply to message #1142454] |
Wed, 27 November 2013 13:56  |
Eclipse User |
|
|
|
The stack overflow post describes it pretty well.
We don't want Eclipse to suggest variables names to us,
i.e. if we type
"String foo"
and then hit space, Eclipse will have suggested foo be called "fooString" and our variable will end up getting that name.
However we want to retain the functionality that was in previous versions of Eclipse where if we have defined a variable.
String foo = "bar";
and start to type foo later on...
"f"
Eclipse will automatically bring up "foo" as a possible auto-complete.
It appears in the preferences that we either have to use both features or none of them. There is no way to turn off variable name suggestions by themselves?
|
|
|
Powered by
FUDForum. Page generated in 0.03231 seconds