• 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
Re: Xcode src tree file behavior and Java parsing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode src tree file behavior and Java parsing


  • Subject: Re: Xcode src tree file behavior and Java parsing
  • From: Scott Tooker <email@hidden>
  • Date: Mon, 15 Nov 2004 10:54:03 -0800

My initial guess is that you added the java source file hierarchy as a folder reference instead of creating groups (if the folder that contains the java source is blue, that's a folder reference, not a group). In Xcode 1.5 there are a variety of things that don't work when you are using folder references (like indexing). In addition, since the folder reference provides a view onto the file system, I don't believe you can delete files from within them.

If you did create a folder reference, the easiest thing to do is remove the folder reference and drag the source folder back into the project. Since you are using ant, make sure not to add any of the files to any targets.

Scott

On Oct 28, 2004, at 2:54 PM, Moazam Raja wrote:


Sorry, I'm sending this again because I forgot to add a Subject: heading the first time.

Apologies,

-Moazam

On Oct 28, 2004, at 10:41 AM, Moazam Raja wrote:

I'm trying out Xcode for some basic Java development. I've selected the
Project-->Ant based Application Jar to create a new project.


Now I have some very basic questions.

1.) How can I delete files which are in the "src" tree? For example, I've
created a file/class which I later figured out that I don't need. How do I
get rid of this? I've tried Delete, Backspace, 2nd mouse-button (no delete
in submenu). I can't rename either. The only reason I'm concerned with be
able to do this in the "src" directory is because there is where the default project .java file
placed..so I'm assuming this is where other .java files should be also.


2.) How can I make Xcode parse the Java frameworks and use that for code
completion?
The current code completion methodology seems to be that if I've typed a
variable/method/peice of code before in my project, Xcode will use that
for code completion next time I try to type it. But, if I try to type
something like "System.out.println" for the first time, Xcode acts like it
has no clue what this is and won't do any code completion on it until the
next time I type it.


3.) How can I make Xcode parse the java.* tree when I do imports?
Currently when I type something like "import java.io.OutputStream", Xcode
does not do any code completion on this. I'd like it to code complete as I
type, that way it can show me all my options at java.io.*. Other IDEs do
this just fine.


I'm sure I'm missing something very simple and silly. Any advice?

Thanks.

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


This email sent to email@hidden

_______________________________________________ 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


_______________________________________________
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: Xcode src tree file behavior and Java parsing
      • From: David Ewing <email@hidden>
  • Prev by Date: Re: Incorrect warning
  • Next by Date: Re: Grouping .h files?
  • Previous by thread: Re: Incorrect warning
  • Next by thread: Re: Xcode src tree file behavior and Java parsing
  • Index(es):
    • Date
    • Thread