#How to order my classes the way I want?

1 messages · Page 1 of 1 (latest)

honest zealotBOT
#

<@&987246399047479336> please have a look, thanks.

sour lichen
#

packages

#

but you have several cases where you have only one class for a letter e.g. A has only AssignmentOperator. i think you do a bit of over structuring

#

you could do a package operators and a package conditionalStatements

#

you have a packge called cui but you can create more packages

#

e.g. operaors

#

then you have cui.operators

#

yes

#

right click on cui -> new -> package
move the classes into that package

#

you can put these two packages into a package called cui

#

cui stands for Character User Interface probably he uses it because that is the current topic

#

so if you are moving further and have things like gui then you have a gui package, so it is for more structuring for the future

#

call them cui.operators instead of just operators

#

and cui.conditionalStatements

#

so cui is a package in source and just called cui

#

and all packages in cui are called cui.theirName

#

create a package called cui in source and then create the subpackages in cui and their name has to start with cui.

#

because you renamed the other packages already cui.operators etc.

#

so it already exists but you do not get the nice presentation

#

can you do right click on cui and create a new package?
(IntelliJ is easier and more beautiful, you are using eclipse right?)

#

even if you are naming it cui.name it still goes under it? (it is long time ago that i used eclipse and then i discovered IntelliJ)

unique hull
#

@maiden agate why do you want to order them ?

sour lichen
#

ok then this is just poor presentation in Eclipse, but cui still exists

unique hull
#

Just put them in packages but dont try to order within à same package

sour lichen
#

it does not have to. we want a package named cui with subpackages in it

#

you do not have to name a package cui

#

maybe you need a class that is only in cui then you get the presentation that operators is in cui

#

you have this but eclipse is presenting it in a other way

#

i mean java is fully object oriented but you can make a character user interface without OOP it has nothing to do with it