Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGi Devs
12,171 PointsmText getter is built as getmText rather than getText
whenever I use a constructer I get the full prefrix inside of the class. I'm sure it's just a messed up setting but where do I fix it
1 Answer
Steve Hunter
57,712 PointsHi George,
I'm using a Mac so this may be slightly different on whatever machine you're using.
These settings are found in File | Other Settings | Default Settings. That produces a new window. Go to Editor | Code Style | Java. That screen gives you a tabbed window. Select the Code Generation tab ... within there, you can select default prefixes etc. Have a play around with the settings - what you're looking for should be in there.
Let me know how you get on.
Steve.
Gi Devs
12,171 PointsGi Devs
12,171 Pointsthanks man that fixed it
Steve Hunter
57,712 PointsSteve Hunter
57,712 PointsCool!