Re: Codesense indexing for Actionscript
Re: Codesense indexing for Actionscript
- Subject: Re: Codesense indexing for Actionscript
- From: Benjamin Jackson <email@hidden>
- Date: Mon, 6 Sep 2004 13:52:06 -0300
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.