• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Coding style warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Coding style warnings


  • Subject: Coding style warnings
  • From: "Zacharias J. Beckman" <email@hidden>
  • Date: Thu, 16 Jun 2005 18:53:58 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I'm wondering if anybody has information on generating coding style
warnings in XCode (both for Objective-C and for Java)? The kind of
warnings I'm looking for go beyond the typical compiler warnings.

Specifically, most of our team uses Eclipse for Java work. Being
obstinate I'd rather use XCode. One of the things I am missing out
on, then, are warnings such as these, generated by the Eclipse IDE:

     Document.java: The import java.util.Arrays is never used
     Document.java: The private member documentCount is never used

Of course turning up gcc warnings helps, but it doesn't catch as much
as the Eclipse engine. Also, once we start using javac 1.5 we can add
- -Xlint, but that won't really do much -- and anyhow, I'm really after
a more comprehensive solution. Are there any XCode plugins that
search for "poor practice" coding issues like the above and report
them as warnings?
- --
Zacharias J. Beckman – email@hidden – 805-924-1772 (cell)
Far better it is to dare mighty things, to win glorious triumphs,
even though checkered by failure, than to take rank with those poor
spirits who neither enjoy nor suffer much, because they live in the
gray twilight that knows neither victory nor defeat. – Theodore
Roosevelt



-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.1 (Build 2185)

iQEVAwUBQrItN7k71dIcG+SrAQiT8ggAv9mODyT799GsEjGpT67JU00ZEdCeBdIL
+r7OVPvAAwSBfkSMPhsmzhQ6xBz9kECrP4A/EZEwqLTq7xPWOnuVNfyTaDaW7/om
WZb5QoB4hJeatycMOyqwksOGeZ1WDeQInz+MEOvopkv62u246+q8pwwxqKBmdpOs
xoqG5LO1Km2qE6MRD+MFCayuAW52Mx8wRn7ji3ytfPPAkknYpbPbsQ5o5JQDwxvP
ZsMcGciEaUkpT1L+Yho21o8Y46Tt62+ax9rM9hsVy2/muTzzhyc+CnDIVzsqEYmu
vrbrG0O9S1Ts6kAh0svR1zFGVvYsZUSPU7zbJ4Mpcoz/hmjw8/U3qA==
=Aqei
-----END PGP SIGNATURE-----
I'm wondering if anybody has information on generating coding style warnings in XCode (both for Objective-C and for Java)? The kind of warnings I'm looking for go beyond the typical compiler warnings.

Specifically, most of our team uses Eclipse for Java work. Being obstinate I'd rather use XCode. One of the things I am missing out on, then, are warnings such as these, generated by the Eclipse IDE:

    Document.java: The import java.util.Arrays is never used
    Document.java: The private member documentCount is never used

Of course turning up gcc warnings helps, but it doesn't catch as much as the Eclipse engine. Also, once we start using javac 1.5 we can add -Xlint, but that won't really do much -- and anyhow, I'm really after a more comprehensive solution. Are there any XCode plugins that search for "poor practice" coding issues like the above and report them as warnings?

--

Zacharias J. Beckman – email@hidden – 805-924-1772 (cell)

Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy nor suffer much, because they live in the gray twilight that knows neither victory nor defeat. – Theodore Roosevelt



Attachment: PGPexch.htm.sig
Description: Binary data

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Coding style warnings
      • From: David Ewing <email@hidden>
  • Prev by Date: Re: Template static data members in GCC4 (Undefined symbols link error)
  • Next by Date: Re: GCC-XML for XCode? (was: RE: is there an automated way to beautify code in xcode?)
  • Previous by thread: Re: Template static data members in GCC4 (Undefined symbols link error)
  • Next by thread: Re: Coding style warnings
  • Index(es):
    • Date
    • Thread