@gcampton:
Hmm, I don't actually know which version of Java I am running... (I am just a dumb computer user and try not to look at anything that works out of the box).
Anyways, do you have any experience with larger files? (the larger of my two files is 15k lines).
Also, Eclipse doesn't seem to index globally all the variables, just the variables/functions in the current file you are working with. Is there an option to fix that?
You use autocomplete? Good heavens. Am I the only one here who types the whole thing out every time? |
@tummychow: No offense mate, but if you don't have lots of members and variable names in your classes, then maybe your programs do not need as complicated a functionality as mine.
Just to make it clear to you, these are only the members of the class I call the most often.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
class ComputationSetup
{
public:
partFractions thePartialFraction;
QuasiPolynomial theOutput;
CombinatorialChamberContainer theChambers;
Rational Value;
std::string ValueString;
intRoot ValueRoot;
int NextDirectionIndex;
roots VPVectors;
GlobalVariablesContainer *theGlobalVariablesContainer;
bool AllowRepaint;
bool flagComputationInitialized;
bool flagComputationInProgress;
bool flagComputationDone;
bool flagOneStepOnly;
bool flagOneIncrementOnly;
bool flagFullChop;
bool flagUsingCustomVectors;
bool flagComputingPartialFractions;
bool flagDoneComputingPartialFractions;
bool flagComputingVectorPartitions;
bool ComputingChambers;
bool MakingCheckSumPFsplit;
bool flagDoingWeylGroupAction;
bool flagHavingStartingExpression;
bool flagDisplayingCombinatorialChambersTextData;
bool flagHavingBeginEqnForLaTeXinStrings;
bool flagHavingDocumentClassForLaTeX;
bool flagDisplayingPartialFractions;
bool flagComputationIsDoneStepwise;
//bool flagAffineComputationDone;
bool flagSuperimposingComplexes;
bool flagCustomNilradicalInitted;
bool flagDoCustomNilradical;
bool flagSliceTheEuclideanSpaceInitialized;
bool flagOneSteChamberSliceInitialized;
char WeylGroupLetter;
int NumRowsNilradical;
int NumColsNilradical;
int WeylGroupIndex;
//function declarations follow. There are many of them
};
|
The reason I put flag in front of most of my
bool
variables is because I use the sorting of my autocomplete to quickly select them.
The reason I use so long variable names is because otherwise I will not be able to remember what they do.
Yes, some of my variables are poorly named. If you think you always come up with the right variable name the first time you do your code, then maybe you haven't had that many variables in your code.
That is why I regularly clean up my variable names and substitute them with something better and more descriptive. One more reason I really need autocomplete.