• 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
Tip on Troubleshooting Code Sense
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tip on Troubleshooting Code Sense


  • Subject: Tip on Troubleshooting Code Sense
  • From: Kieran Kelleher <email@hidden>
  • Date: Wed, 18 Aug 2004 15:43:27 -0400

This is for people who are still trying to get code sense working.

I had one dev machine that worked fine on code sense and the other was
stubborn, so here is a tip for those who still do not have code sense
working:

The bottom line is that a USER default must be set and a pre-cooked
index must exist in the correct USER directory for each collection of
jars that you want in code sense.

Using the standard index templates scripts and even using xcodeindex
-destPath from the command line just would not create the index in the
home folder of the stubborn dev machine.

The fix was to simply open the Index Template project for WebObjects,
allow it to index (watch Activity Viewer window until complete) and
then to copy the built index to the appropriate dir in the user's
Library folder.

WITHOUT the fully built index in the right place, code sense simply
will not work because the symbols are not present for it to populate
the code sense prompt list.

See the headings (article even has screen shots!)
	Prepare Java Classes for Code Sense and
	Turn On CodeSense
in this blog entry for more details:
http://homepage.mac.com/kelleherk/iblog/C1216817469/E517633567/
index.html

By the way, you will notice that aswell as the documented methods, many
methods beginning in "_" (underscore) show up in the code sense prompt
list. I guess these are the "undocumented" methods that I recall Chuck
Hill or somebody mentioning last year!

Regards, Kieran


________________________________________________________________
Dev Config = OS X 10.3.4 / Java 1.4.2_03 /  WO 5.2.3 / XCode v1.5 /
MySQL 4.0.20 / Connector-J 3.0.11
Deploy Config = OS X 10.3.4 Server / Java 1.4.2_03 / WO 5.2.3 / MySQL
4.0.20 / Connector-J 3.0.11
My Blog: http://webobjects.webhop.org/
Meet other WO Developers at http://webobjects.meetup.com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Tip on Troubleshooting Code Sense
      • From: Rob Lockstone <email@hidden>
  • Prev by Date: Re: Javamonitor =- no images
  • Next by Date: Re: Javamonitor =- no images
  • Previous by thread: Re: passing data to wrapper component
  • Next by thread: Re: Tip on Troubleshooting Code Sense
  • Index(es):
    • Date
    • Thread