• 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: Codesense indexing for Actionscript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Codesense indexing for Actionscript


  • Subject: Re: Codesense indexing for Actionscript
  • From: Isaac Rivera <email@hidden>
  • Date: Mon, 6 Sep 2004 13:49:09 -0400

Yes, Xcode will give you all the possible matches for the word you are typing, including those indexed from your own documents and even if the choices offered do not make sense for that context. In other words, Codesense is not context sensitive, at least for Acrionscript, or at least for the way Actionscript is defined in the syntax definition given to us by Robbish. These are files:

/Library/Application\ Support/Apple/Developer\ Tools/Specifications/ActionScript.pbfilespec

and

/Library/Application\ Support/Apple/Developer\ Tools/Specifications/ActionScript.pblangspec

Perhaps these files are missing parts that would allow us to browse classes in the Class Browser and or get more context sensitive indexing. I do not know. I do know these are based on someone else's C# definitions for XCode. If I am not wrong found here:

http://www.druware.com/products/xcodetools.html

Again, you can browse the classes with the project menu, though this may not show you a tree of relationships between them.

Isaac




On Sep 6, 2004, at 12:52 PM, Benjamin Jackson wrote:

So I went through the tutorial again, and I think that we may have gotten mixed up in the semantics of it all. What I was looking for (and which I now think is impossible without the syntax def mentioned below) is context-sensitive autocompletion. For example, if I type the line

var mc:MovieClip = new MovieClip();

autocomplete will kick in and complete MovieClip for me. However, it will also give me Math, MAX_VALUE, etc as options, even if they cannot be instanced by the "new" keyword.

Similarly, if I then enter

mc._

autocomplete will give me all of the possible properties listed in the syntax-coloring keywords, even those which are not properties of the MovieClip object.

Please feel free to share any information you may have found about where Xcode stores its syntax defs for class indexing. I'm eager to lend my assistence. Regards,

Ben

I would not call the Class browser "Codesense", yet code auto completion, including your own functions names and variables (indexing), are working for me in Actionscript.

The class browser requires something on the syntax def or even something more obscure that we dont have figured out yet. however, with our project framework tutorial, you can figure how to add your own classes to the project, minimizing the need for the browser. If you want to "browse" the built in classes, then you can easily fake a dirty class browserby adding then to the project.

Hope this helps.

Isaac



On Sep 5, 2004, at 10:00 PM, Benjamin Jackson wrote:

I may not have made myself clear in the email. While I was able to get Actionscript syntax highlighting to work using the tutorial, I still cannot use the Class Browser to view any of my project's classes, and the autocomplete is not context-sensitive. Running "Rebuild Index" from the project's info pane does nothing. What am I missing? Thanks a lot for your help,

- Ben

This is not true.

If you are using the Robbish's actionscript syntax spec for XCode:

http://type.robbevan.com/robbish/2004/06/actionscript_sy.html

(and optionally following my own article on Creating Project frameworks for Actionscript 2 in XCode (written in collaboration with Sam Robbins))

http://blog.pixelconsumption.com/

Your Codesense would index actionscript files.

It does for me and I know it does for Sam Robbins.

Isaac Rivera

On Sep 5, 2004, at 1:48 PM, Benjamin Jackson wrote:

At this point, from what I've seen, no one has been able to get
Codesense to index Actionscript files. I think that this is something
that needs to be addressed. Is it possible? If it's possible for Java
(see http://homepage.mac.com/kelleherk/i...469/E517633567/) then it
should be possible for AS, given that the syntax is identical.


Anyone have any ideas?
Edit/Delete Message
--
_______________
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito

+55 (21) 9127-2819
email@hidden
http://www.in-comum.com
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


--
_______________
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito

+55 (21) 9127-2819
email@hidden
http://www.in-comum.com


--
_______________
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito

+55 (21) 9127-2819
email@hidden
http://www.in-comum.com
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Codesense indexing for Actionscript (From: Benjamin Jackson <email@hidden>)
 >Re: Codesense indexing for Actionscript (From: Benjamin Jackson <email@hidden>)

  • Prev by Date: Re: Codesense indexing for Actionscript
  • Next by Date: Re: How to get rid IB warning about "pre-10.2 nib file format"?
  • Previous by thread: Re: Codesense indexing for Actionscript
  • Next by thread: nib files and subversion
  • Index(es):
    • Date
    • Thread