Eclipse editor settings

Notes on testing the latest builds of MapTool

Moderators: dorpond, trevor, Azhrei

Post Reply
User avatar
JamzTheMan
Great Wyrm
Posts: 1872
Joined: Mon May 10, 2010 12:59 pm
Location: Chicagoland
Contact:

Eclipse editor settings

Post by JamzTheMan »

Az, I imported the "eclipse.prefs.import-me" again and did a code reformat, then compared the VBL_Functions.java with base, and it's still pretty far off. Looks like word wrap is much longer among other things in svn.

Am I doing something wrong or is the import file just not working right?
Screenshot
eclipse_pref.png
eclipse_pref.png (75.64 KiB) Viewed 4483 times
This is what I have in Eclipse.
VBL_Functions.java.SVN.txt
(30.35 KiB) Downloaded 88 times
This is what I see checked into SVN.
VBL_Functions.java.SVN.txt
(30.35 KiB) Downloaded 88 times
Attachments
VBL_Functions.java.Jamz.txt
(30.37 KiB) Downloaded 97 times
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Re: Eclipse editor settings

Post by Azhrei »

I've seen some strange stuff myself. I highlight a block of code and use Source > Format and it won't wrap lines correctly.

I'll Google it and see if I can't figure out why some formatting is applied and some isn't...

You're right that line lengths are very long -- Trevor liked a line length of 200 chars (!) so that he could maximize the window and see a lot more code on the screen at one time. I'd prefer something a little smaller, like 120, but I don't remember what's actually in the prefs config.

Post Reply

Return to “Testing”