CS5 jQuery Code Hinting
I'm messing around in DW CS5 and I'm trying to get coding hinting to work for jQuery. I setup the standard function $(document).ready(function...
But now hinting. I even try ctrl + space but only get the standard javascript code hints. Do I have to set this up in the site-specific code hint option?
Thanks for the help.
Hmm.
Ok. Here's what I did.
I created a folder in my documents and added the latest version of jquery.
Added the folder to my site specific code hint and created a new js file and tried but again only the standard javascript is poping up.
Can you step me through the process?
Thanks.
Similar Messages
-
Flash CS5 UIcomponent code hint not come in built in actionscript editor
Flash CS5 UIcomponent code hint not come in built in actionscript editor
If you are reporting a bug, this is not the place to do so. Try here instead...
Adobe - Wishlist & Bug Report
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform -
I am using Dreamweaver cs4 and have installed the jquery extension. I am writing a simple jquery function and trying to use the jquery code hints. The code that I wrote so far is
<script type="text/javascript" src="../scripts/jquery-1.4.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("h1").this is where I want to see code hinting for addClass
If I type a period after $("h1", then hit control spacebar, I do not see the addClass code hint BUT IF I don't type the required period after ("h1") then I DO get the code hinting. Just wondering if that is how it is supposed to work?
</script>
</script>Thank you so much for your email, Jony will read email when come online.
Thanks and its automated system, thats why you got message.
Thanks again, Thanks.
from:
Sag-e-Attar Junaid Atari! -
[Flash CS5.5] code hint is not showing
Hi all, i'm having problem with the code hint in flash cs5.5, the hint doesn't show when i'm using AS3, it should work everytime when i type, and i've tried most of the method on the web, also in this forum, but it doesnt work for me, the code hint show some time and not, please help!
If you are reporting a bug, this is not the place to do so. Try here instead...
Adobe - Wishlist & Bug Report
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform -
Flash CS5 component code hints?
Does anyone know how to get code hinting to work with Flash CS5 components? Even when the components are imported it stilll doesn't give any code hinting.
If you are reporting a bug, this is not the place to do so. Try here instead...
Adobe - Wishlist & Bug Report
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform -
Code Hinting in JavaScript Files
I use the jQuery framework. If I have an HTML page with the jQuery framework included, I can type JavaScript code in a script tag in the HTML document and Dreamweaver will provide code hints from the jQuery framework.
How can I get these same code hints in a seperate JavaScript file in my site? Is there some way I can add a reference to the jQuery file?
(I know in Visual Studio 2010 I can add an XML reference tag at the top of a JavaScript file with the path to the jQuery file, and that enables the IntelliSense jQuery code hints in the JavaScript file I am working on...)
Thanks!
- JYeah, it would be good.
Site-specific code hinting doesn't seems to work anywhere, although I tried with adding *.js and with specifically the jquery file too, no luck. -
CS4 Code Hinting Not Automatically Showing...
It says in the new features page that it has support for code
hinting for libraries such as jQuery.
Well how come it doesn't come up automatically when you type?
I have code hints enabled! I have to press Ctr+Spacebar for them to
come up!
Thanks.gnzicc wrote:
> It comes up automatically for Spry doesn't it?
Yes, because the code hints for Spry are hard-coded into
Dreamweaver.
The code hints for custom functions and objects, including
jQuery, YUI,
and other frameworks, are not hard-coded. They're generated
by code
introspection. That's why you need to press Ctrl+Space.
Full marks for doing a little research in Google, but didn't
you notice
that one of the top items was a tutorial on the Adobe site
about
JavaScript code hints?
http://www.adobe.com/designcenter/dreamweaver/articles/lrvid4048_dw.html
As you'll see from that tutorial, code hints come up after
you type a
period following the name of a variable that contains a
JavaScript
object. However, in my experience, you don't get the full
range of hints
for jQuery. I'm pretty sure that's because of the way that
jQuery is
contstucted.
Another Google search would also reveal the following
extension for
jQuery code hints:
http://www.xtnd.us/dreamweaver/jquery
I haven't used it, so can't comment on the quality or
reliability of the
extension.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS4",
"PHP Solutions" & "PHP Object-Oriented Solutions"
http://foundationphp.com/ -
Flash CS5 code hinting not working?
Just installed the new Flash CS5 trial and code hinting doesn't appear to be working! I have added all my custom class paths in to the AS3 source paths, but I don't get any code hinting for any of these just the same old code hinting you get in CS4. Am I doing something wrong or does it just not work?
UPDATE: If it helps, in the code editor i get a small yellow triangle with an exclamation mark in, in the bottom right hand corner. When I have over this it advises me:
" *** Unable to build code hint cache. Please save the associated FLA into a different folder. There are too many files on the classpath. *** "
This error message appears no matter what FLA/Class i open, and moving it makes no difference.
UPDATE: Problem solved, the "There are too many files on the classpath" was the clue! Slimmed down my library and all seems to work now.
However, this does bring me on to another question.. does anyone know how many class files flash can comfortably cache? I use some fairly chunky libraries in my work and am wondering if i'm going to find myself constantly slimming them down after a while?The reason everyone gives for AS3 is that AS2 was buggy.
I don't think so. AS3 is a better language, better designed, more consistent, more powerful. I would switch to AS3 for that, not because of bugs - but I don't know what's the reason behind everyone's choice.
AS2 was not buggy, people were writing buggy scripts
AS2 was buggy. Maybe people were writing buggy scripts too, but believe me it was buggy. However AS3 is at the very least equally buggy. It is better designed, more consistent, but equally buggy in its implementation.
All software have bugs, but programming languages usually undergo a stricter and more thorough revision than other kinds of sofware because the consequences of bugs in a programming language are more disastrous.
But that's not the case of ActionScript. Maybe because of its history and its legacy, or maybe because Adobe was always dedicated to completely different kinds of software, like PhotoShop, Premiere and the like, and suddenly dove into the business of developing a programming language without having the know-how.
The level of bugginess of ActionScript is amazing. I work with actionscript daily and there's no day that I don't run 4 ot 5 times into some problem due to some bug. Not that I discover new bugs every day, just run into them - sometimes they are already reported, other times they are not.
Why should something that took one line of code (clicking on a movieClip
to move to a frame) now take 5 or more lines of code (creating a
listener object, assigning a listener object, writing a function).
It often happens that a language that is in the overall more elegant, consistent and compact, turns out to need a bit more of code for doing the simplest things. Maybe what could be done with 1 line of code now takes 5, but things that took 1000 lines of cumbersome awkward tricky and hacky code can now be done with just 100 of readable and simple-to-understand code.
When I first learned Java I was surprised at the quantity of code I had to write just to make a program that would print "hello world", while in most dialects of Basic it was just:
10 PRINT "Hello world"
Would you say Basic is superior to Java in any sense?
I teach Flash at a university, both beginner and advanced users. [...]
I'll stick to AS2 in my classes.
You should think about the damage you may be doing to your students. If they are going to use ActionScript professionally, they'll have to learn AS3, rather sooner than later. So why not save them the pain to do the effort twice? If instead you are teaching them AS just for didactic purposes (i.e. for learning programming in general) and don't care about practical applications and you don't like the way AS has evolved (i.e. AS3), then consider teaching them another language, instead of an obsolete version of a current one.
AS3 is not more complicated, or difficult to learn, or less designer-friendly or non-programmer-friendly than AS2. Not at all; rather the opposite. It is more complicated and difficult to learn when you already know AS2, because you feel like everything you knew is useless - but the same can be said about learning AS2 when you already know AS3. Starting from scratch, AS3 is indeed simpler.
But this have drifted OT, sorry. Back to the topic:
It's not an app killer, just a minor inconvenience
It's a major inconvenience if writing the same amount of code takes you three times the time it should take. That in 2010 you have to spell every single property/method/class name entirely from the first to the last letter, when most of the time it should be just a matter of typing a couple of characters and hit tab, is simply ridiculous. You may as well write your code with NotePad. Flash is (among other things) an IDE - something Adobe seemed to neglect up to recently; and when they finally decided to take a step into making it work like any other decent IDE, it does not work!!
There are bigger things to complain about.
On this you are definitely right.
Using their pretty remarkable products (where would we be without PS or
DW?) is not a right, it's a (sometimes frustrating) privilege.
It's a privilege you pay for. That's when it becomes a right.
So Adobe mods, we're frustrated but only because we're all loyal users who depend on your products
(emphasis is mine)
Exactly. That's the point.
Note there's been no helpful answer from them yet: that's how much they care about loyal users who depend on their products. -
Learn how easy it is to create PHP code by using some of the new code-hinting features in Dreamweaver CS5
http://adobe.ly/wjmnc1I've been using Dreamweaver to create php based websites with the popular Zend Framework 1. I'm now trying to integrate Dreamweaver with ZF2 and the Dreamweaver is giving me errors for lies such as:
$loader = new Zend\Loader\StandardAutoloader(array('autoregister_zf' => true));
and
use Zend\Session\Container;
even though the lines are correct. Do I have to do anything special in Dreamweaver so that it recognizes these statements as not being errors? -
Flash CS5 Update 11.0.1 Code hint not working
My Flash Cs5 I was Update
update say : version 11.0.1
but i view About flash : 11.0.0.485
and when I write some code : Code hint not working??
anyone answer for me about this Update version??Hi,
The binary (Flash.exe/Flash.app) were not modified in the update. Thus, the binary version is still 11.0.0.485.
As for the code-hinting not working, what code are you using? Note, that the _mc, _xml, _array, etc. syntax no longer triggers code-hinting in Flash CS5 in ActionScript 3.0 documents. If that's not what you are doing, can you please provide more information about what code you are using?
Thanks,
Nivesh -
Flash CS5 - code hinting doesn't show custom class constructor parameters
Hi I've got other strange problem my code hinting works almost fine the problem is that when I create my custom class object code hinting doesn't show what kind of parameters can be passed to the class constructor. It shows only "MyClass()", when i call a method like this class_object.methodName( - parameters show correctly. What can be the problem?
I do not work for Adobe, just a fellow forum dweller.
The example was made quickly because you said this:
I've tried flash builder but if there is a way to associate code directly from it to symbols on the timeline I haven't been able to find it.
Now you know how.
I'm sorry but I don't even have Flash CS6. I still use CS5.5 because I use Flash Builder 4.6 for everything I do. I merely use Flash Pro to generate quick libraries full of goodies and export a SWC to use in Flash Builder.
I realize it's obvious but you did ensure your preferences had hinting both enabled and the delay set low (or zero)? I can only show you a CS5.5 preference panel, I'm not sure if it's the same. Note one important thing in this photo which is "Cache size". I have mine on 800 files which seems to be fine. If you're pointing toward a HUGE library of classes you may want to increase that number and check completion again. -
For some reason I don't get code hinting when trying to code in a FLA. (Nor in an as file.)
I had seen a few reports of this problem, but folks seemed to resolve them by saving or putting their .as files in the same folder. But I'm not using .as files.
I did experience the problem when I first got CS5. And I saw a little warning in the lower corner of the AS panel that Flash was still building a cache. And when I saved that file I suddenly got hinting.
This time I hadn't saved and thought, "Oh, yeah I need to save." But that didn't work either.
I'm using CS5 on a Mac running 10.6.3. I still do have CS4 installed.Code hints is unable to build code hints cache
One of the new cool features in Adobe Flash Authoring CS5 is custom code hints introspection. Using this feature some of you might encounter the bug when code hints is unable to build code hints cache. A file cap was put in place to prevent the code hinting mechanism from churning in the background for files saved on the desktop or in the root directory. It will try to parse all surroundings files which could take quite a bit of time and would hold up getting back any code hinting information. Therefore, a default file cap of 800 files was put into place. However, you can change this value by adding a preference key as follows :
This tip is only for advance users who are comfortable changing registry keys.
Windows:
1. Open Regedit and navigate to: HKEY_CURRENT_USER > Software > Adobe > Flash 11 > Settings
2. Right+click and choose: ‘New… > DWORD Value’
3. Rename the key: Project File Cap
4. Select the key and choose: ‘Modify’
5. Edit the value as either hex or decimal: 1000
6. Click OK and restart Flash
Mac:
1. Open ‘/Users//Library/Preferences/Flash CS5 Preferences’ in Text Edit
2. Under the section add the following: 1000
3. Save the file and restart Flash -
Flash CS5 Unable to get AS3 Code Hinting to work
I have a trial version of the Adobe Flash CS5 installed on my machine and I am unable to get code hinting to work when I'm working on AS3 files.
I've tried doing the reg fix from Lee's blog but still can't get it to work. I've also tried deleting the Flash regkey and the configuration folder but still can't get it to work.
Specs:
Windows 7 64
Intel Core 2 Duo E7200
4GB RAM DDRHi
I got the exact same problem.
I just received my CS5 web premium package and installed it.
For some reason, the code hinting feature does not produce anything.
It is possible to popup a general code hinting list by using CTRL+Space other
than that I get nothing.
Normally by using suffixes such as _txt, _mc etc, this should enable the
code hinting, but this does not happen.
Is it possible to break the code hinting, by installing CS5 to a different partition other than the primary (C:\)?
Before you ask: I'm not using external as files in my test. It is a simple FLA
file, which contains a classic text only.
The use of the . (dot) does not produce anything at all.
I hope some kind soul can tell us, what's happening since a lot of prople DO
apparently get code hinting.
Any help is much appreciated
Best Regards
Peter -
Problem: I would like to enable code hinting and highlighting in either Flash Professional or Flash Builder when developing an Actionscript Communications File (.asc).
Steps Taken:
Searched Google with limited success, most signs all pointed to FMSGuru.com where one may obtain an Eclipse Plugin, but:
It was created in 2007 (likely out dated)
It has known bugs that haven't been addressed
Searched this forum / adobe's web site to find a solution, to no avail.
Posted this, now, in an attempt to put this to rest
Request: If anyone knows how I can enable FP or FB to give code hints / syntax highlighting, I would really apprecaite some direction. If not, I appreciate the fact you even read this.
Have a good one. Happy Coding.To note, Dreamweaver has the ability to provide code hinting if I remember correctly but I'm perpetually disappointed in the FMS team for not providing even ONE item that helps in the development of server side coding for FMS. They have never provided anything and it's been up to the good will of developers for the platform to put together tools. As it is now, you'll probably never see anything better as most people (that I know of) have moved away from FMS, partially for this reason despite multiple requests that Adobe do something. Not to insult the FMS team, as they do what they have to do to pull in the paycheck, and the bean counters provide that and seem to be making most of the decisions.
ok. rant all done now -
CS5 code hinting & optional params...
Code hinting looks to work just fine for me, unless the params are optional. It doesn't hint that at all. Am I missing something I need to set?
Thanks in advance,
-TedAnyone?
Barump...
Maybe you are looking for
-
Hello, I am interested in buying this week of a mac mini 2011 withintel graphics HD3000 but I'm not sure it looks good with my Samsung SyncMaster 933HD monitor. How would it look better.... with the hdmi-dvi connection built in, buying a HDMI 1.3 cab
-
.xlsx files not opening in Quick View on iPad
I am having trouble viewing some .xlsx files in Quick View on an iPad 3. When I attempt to open them, Quick View loads, but I only get a gray screen that displays the file name, file size, and "Open Office XML spreadsheet." I have tried multiple .xl
-
Help needed to converstae xml with java and database
I want to make use of xml to read soem data from database and then use that material in java to display or manipulate that data and again feed back it into database through xml.
-
My Toshiba Satellite say I need to restart my laptop how can I do it
I press the power button and tap f12.and Boot menu appeared it say 1.HDD/sad 2.use 3.odd mat**bleep**advd-ram uj8co 4.lan EFT network 0 for ipv4 (00266c2cafe6 Enter setup. Which on do I pick
-
i am worried some one will be able to see my photos, bank deatails and phone numbers to steal my identity. i loged into find my iphone last night but the device was switched off straight away i saiod to block the phone and ease it but i am really con