Extending Code Hints
Hey all,
I don't know if this is a stupid query or not. We work extensively with PHP and as such find ourselves using the code hinting to a reasonable level. What I have found frustrating though is that we have an extensive library of functions that we have created that I cannot see when using code hinting (at this stage anyway).
Does anyone know if there is a switch or some extension of the Dreamweaver intellisense which will allow it to intelligently scan our PHP files for functions that should be listed in the code hints?
Dreamweaver already extends with CSS so I'm guessing it's possible but I just can't work our where or how.
Any help would be appreciated.
Don't know if this is exactly what you want but try the - PHPCode5 extension from the Adobe exchange.
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1747 522
Similar Messages
-
I am extending dreamweaver to add code hinting and color
coding to my proprietary scripting language. I am fine with the
Javascript but I am not sure where I actually place the code so
that is executed. Any help?V_Gary_Nelson wrote:
I am extending dreamweaver to add code hinting and color
coding to my proprietary scripting language. I am fine with the
Javascript but I am not sure where I actually place the code so
that is executed. Any help?
Are your code hints static or dynamic?
Code hints which are static (always the same) can simply be defined in XML. in the Configuration/CodeHits folder
Code hints which are dynamic (based on objects defined in code) will need to use the JS API.
HTH,
Randy -
Flash CS6: Code hinting doesn't work in AS3 document
Hi,
For some reason code hinting is not working at all in an AS3 class document in Flash CS6. It works fine on the timeline. For instance:
1. Create a new AS3 class, name it "MyClass"
2. Save the doc immediately (in CS5 code hinting would not work until the class file was saved)
3. After "class MyClass" I type " extends Movi" and press Ctrl+Space, expecting to see hints for "MovieClip" etc like it did in CS5. In CS6 I get nothing. If I type out the whole word "MovieClip" and press Ctrl+Space I still get no hints.
What might be wrong?
Thanks!
AaronI 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. -
VBScript editor with Intellisense/Code Hinting support for Adobe App
I am looking for some tool to write my InDesign VBScript files in. I would really like to know if there is any which support Intellisense/Code hinting for Adobe programs (InDesign especialy). Do you have anything to recommend?
I am quite good at hacking my computer, so no registry change etc. is a problem for me, I just can not find any. I already tried PrimalScript 2009 but it doesn not work.
What I need is that in following block of code
Set myInDesign = CreateObject("InDesign.Application.CS4")
Set myDialog = myInDesign.Dialogs.Add
I will get list of all methods/properties after I write the dot after "myInDesign" in second line. But it never worked. I even tried to put "InDesign.Application.CS4/C:\ProgramData\Adobe\InDesign\Version 6.0\cs_CZ\Scripting Support\6.0\Resources for Visual Basic.tlb" line into Options>Text editor>Type libraries.
I am using Windows Vista SP1 and I have Adobe Creative Suite CS4 installed (upgrade from CS3 which was upgraded from CS2)
Thanks a lot for any help/suggestion, as I start feeling desperate.Hi Everyone!
As I have said, I waited for next service release, which is as of now PrimalScript 2009 version 5.0.614 and I did some testing with it.
Results:
WinXP EN Professional
- Just pointing PrimalScript 2009 to typelib, no creative suite installed, working
- Installed Creative Suite CS3 Czech (trial mode) - Working, no need to setup anything
- Installed Creative Suite CS3 + CS4 Czech (trial mode) - Need to point PrimalScript 2009 to correct typelib, then 100% working
Windows Vista SP1 Ultimate EN (in trial/not activated mode)
- Just pointing PrimalScript 2009 to typelib, no creative suite installed, working
- Installed Creative Suite CS3 Czech (trial mode) - Need to point PrimalScript 2009 to correct typelib, then 100% working
- Installed Creative Suite CS3 + CS4 Czech (trial mode) - Need to point PrimalScript 2009 to correct typelib, then 100% working
Windows 7
I am not planning to use Win7 in near future, so I did not not run any test on it.
Windows Vista SP1 Home Premium Slovak (fully activated)
- Installed Creative Suite CS3 + CS4 Czech (full mode) - Not working. This is my main machine. It is Creative Suite CS2 upgraded to CS3 then CS4 (it is running for years without reinstall). I use CS3/CS4 side by side for some older projects. There are still references to CS2 in registry. I tried pointing PrimalScript 2009 to correct typelib, but to no avail. My conclussion is that there is someting messed with its config or registry, but I am pretty sure it would run after complete system reinstall.
Both WinXP EN Pro and Vista SP1 Ultimate EN were clean install into MS Virtual PC 2007, with only Creative Suite and PrimalScript 2009 5.0.614 installed into each machine so I made sure there are no other issues involved.
As I spend 80% of my time with developement of websites and scripting of MS Office/Creative Suite, I have some virtual machines set up for testing purposes. I will use one of them for development in PrimalScript and move it to main (real) Windows Vista Home Premium Slovak installed once I will decide to completely reinstall it. The need for seting up the typelibray link is no deal for me, as it is working as expected then, and I expect a lot ;-)
So problem solved, I found o program I will use. There may be others which do better or are cheaper (but I do not know about any) but $299 is not a big issue when I get what I want.
P.S.: The solution with making VBScript code with VBA declaration (using Dim) is not a solution I like, as I would need to comment it out everytime I run/edit the script and it would be pain in the *** while debugging it as i would need to do lot of comment/uncomment cycles and i can use my ime better then doing the monkey work as some fo the scripts I write are quite huge and I prefer to build them incrementaly and test/debug a lot.
I wish to thank everyone for their help and suggestions,
Matus -
Code hints don't work - include files using a variable
In Dreamweaver CS 5.5 code hints didn't work properly.
DW would not look at my code and find the include files and look at the functions inside them when using a variable to make an absolute path, which is the best way to include files in PHP (its faster and more reliable on your web server)
Here is an example:
======================================
public_html/util/util_index.php
$DIR_MAIN =dirname(dirname(__FILE__).'../');
require_once "$DIR_MAIN/init.php";
my_function(#CODE COMPLETE DOES NOT WORK HERE
public_html/init.php
$DIR_INCLUDE= "$DIR_MAIN/inc";
require "$DIR_INCLUDE/common_functions.php";
#set up environment variables
#connect to the database
#etc
public_html/inc/common_functions.php
function my_function(param1, param2, param3) {
=======================================
Has this been fixed in Dreamweaver CS6 or should I wait until CS7?
Until this works, I prefer Notepad++I made a full SQL Developer installation with Java included, so I suppose that the included version is used.
After a problem with the German Version I tried to switch to English Version by using the hint:
link: 1.5.4 export insert statements
I changed the content of sqldeveloper.conf and now again the code templates (strg-shift-t) don't work!!!
(I already rebooted and set the accelerators to default, but it didn't help now.)
This is the content of my sqldeveloper.conf now:
"IncludeConfFile ../../ide/bin/ide.conf
AddVMOption -Dapple.laf.useScreenMenuBar=true
AddVMOption -Dcom.apple.mrj.application.apple.menu.about.name="SQL_Developer"
AddVMOption -Dcom.apple.mrj.application.growbox.intrudes=false
AddVMOption -Dcom.apple.macos.smallTabs=true
AddVMOption -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true
AddVMOption -Dsun.java2d.ddoffscreen=false
AddVMOption -Dwindows.shell.font.languages=
AddVMOption -XX:MaxPermSize=128M
IncludeConfFile sqldeveloper-nondebug.conf
AddVMOption -Duser.country=US
AddVMOption -Duser.territory=US
AddVMOption -Duser.language=en
" -
Flash Builder 4.6 code hinter problem - not showing some methods
Hi All,
I have a problem with FB code hinter. It does not show some methods on an object.
To be exact I created a Date object and FB code hinter does not show .toDateString method (actually I it shows only one to string method - .ToString(), although according to docs there are more)
When I use .toDateString method, code still compiles and work just fine, however method is not showing up in code hinter, which is really annoying..
Anyone had this problem? If so, please, share some wisdom how to solve this thing.
Thanks in advance.
UPDATE:
Here is some more info in my problem.
I have tried to reinstall the application, but it did not help.
So what I did was:
* first I installed FB standard edition version 4.
* I checked the code hinter and it worked. It showed .toDateString method.
* I have purchased FB standard 4.5 upgrade.
* I installed this upgrade, and boom the code hinter does not show the method...
* Next I tried to create a project with Flex 4.1 sdk and then it worked - method was there. So the problem is with 4.6 sdk apparently...sucks...Hi, I have the same problem. I have a new FB 4.6 installation and it is my first FB installation. Do you have a solution already?
-
DreamWeaver CS4 CSS code hints not working
Please help.
DreamWeaver has stopped showing code hints for CSS selector values. When I start typing "… div {border: …" DreamWeaver used to show the possible value for this selector (i.e. 1px solid #ccc). Now all that pops up is this "… 'border-width' 'border-style' 'color' …"
How can I get DreamWeaver to show the possible values for CSS? I'm running DreamWeaver CS4 on a Mac book pro with Snow Leopard. DreamWeaver was set up using the default settings, and there are no extensions enabled.
The attached screen shots show what I am experincing.
Thanks,Wow... you waited all of 2 hours...
try removing your configuration folder and restarting
"ianhg" <[email protected]> wrote in message
news:ea7m2g$68e$[email protected]..
> Hi Folks,
>
> Has no one any ideas --- Please!!
>
> Ian -
When I use AIR in the eclipse IDE I cant get any code hinting to show if I am using an AIR application.
If its a Flex application its fine.
Even if I have two applications open I can just click in the non-AIR window and code hinting is working and click into the AIR app and its not.
Any thoughts??Hi,
Are you coding in a FLA file or in an AS file? If you are coding in an AS file, you must have an ActionScript 3.0 FLA file open to trigger code-hinting in your AS files.
Also, please try saving your FLA to an empty folder ... or at least not your Desktop, Documents or any other folder that has lots of other files in it.
Thanks,
Nivesh -
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 -
I no longer have code coloring or code hints working on
Dreamweaver. I checked the preferences and everything is still set
the same but whenever I open an existing document it will not give
me the code coloring or code hints. I still get it when I open a
new doc but nothing else. Any ideas on how to fix this?kms5038 wrote:
> I no longer have code coloring or code hints working on
Dreamweaver. I checked
> the preferences and everything is still set the same but
whenever I open an
> existing document it will not give me the code coloring
or code hints. I still
> get it when I open a new doc but nothing else. Any ideas
on how to fix this?
It sounds like DW does not recognize the file type of your
page. What is
the file extension?
Randy -
Flash Builder - No Code Hinting For New Flash Professional Project??
I had been using flash builder as an as3 editor and compiling from flash builder. The Flash Professional Project in Flash Builder seems perfect. It will give me the flexibility to compile from Flash Professional, or compile from the flex sdk, use breakpoints, have all my files nicely in the package explorer.
However, it has been a terrible terrible experience. For some reason code hinting is completely turned off on all levels in Flash Professional Projects. I have been looking in every preference panel trying to figure out why this is happening. If it is actually the case that you get no code hinting whatsoever then they really should not have even bothered adding this into Flash Builder because coding in this fashion is a joke.
However, I am still optimistic about it. Can someone help me turn on code hinting?Ok. Solved it. The issue was that we were using linked source code and library swcs that were all located under the same directory. When you pull up the project's properties and go to "Flex Build Path" under the "Source Path" tab you can add that directory without a problem. However, under the "Library Path" instead of just adding the directory, I added each swc individually and that solved my problem. Now all the code hinting is working perfectly.
-
How do I disable InContext Editing code hints in Dreamweaver CS6?
The service was discontinued in 2011, why does the latest version of Dreamweaver not make it easy to disable these code hints? There are no options to disable them, and I've gone so far as to comment out every individual line of the ICE.vtm file yet still these code hints insist on popping up. What's the point of having a customizable IDE if I'm forced to have code hints I couldn't use if I wanted to. Can we get a patch giving us an option to disable these?
Hi
In Context Editing, is still available via 'Business Catalyst'. That is why it is still available.
As far as code hints are concerned, you have to edit the code hints xml file also.
PZ -
Ctrl + Spacebar will not bring up code hints either
I'm using Windows XP CS3 with Dreamweaver from Creative Suite CS4. I cannot get code hints (when enabled) or when I press Ctrl + Spacebar.
When I press Ctrl + Spacebar nothing happens.Take a look at:
http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7bd 7a.html
check near the bottom: Code hinting and syntax errors
Hope this helps :-)
Nadia
Adobe® Community Expert : Dreamweaver
Unique CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
Book: Ultimate CSS Reference
http://www.sitepoint.com/launch/005dfd4/3/133
http://twitter.com/nadiap -
Code hints interface and compilation is too slow,who can help me?
I used Flashcc to generate the SWC library, after quote the library in my project, the pop-up of code hints interface is very slow (about 30 seconds), and the project compilation speed is very slow.It is unbearable!is there any method can improve the situation?thank you!!
Sounds like you might have a configuration issue on the o/s side.
Check that kernel parameters are set as recommended in the installation guide
The first thing that came to mind after reading the problem description was that you might have too low SHMMAX for that 10GB SGA, which would cause multiple shm segments to be created and thus explain the performance degration you're experiencing.
A quick way to check if that's the case would be doing "ipcs -m" to see if there are multiple shm segments when SGA is set to 10GB. -
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.
Maybe you are looking for
-
Exposing a report as RESTful web service - Parameters
Hi, I am creating a RESTful web service by exposing an apex report. It just works fine and it renders the data. However I want to have parameters and values in the web service URL so that the data can be filtered based on the parameter values? For ex
-
Itunes radio is not working?
Why for the last 2 weeks is itunes radio not working? I've seen many people having th esame problem and so far there is no solution. Any ideas?
-
What is correct update or upgrade for Mac OSX v 10.5.8? Also can't use sites without updates on firefox & safari. Auto update shows none available?
-
IBook G4 won't start after shutting down by itself
My iBook shut down on it's own and won't restart. The power cable is blinking amber and green. I tried restarting the PRAM, but that didn't work. It has happened once before, and I think I remember connecting it to the desktop somehow? I couldn't fin
-
I am trying to print a pdf of a 96x36 banner using the pdf printer in a Publisher 2010 file. I have searched online and found many sites with instructions which I have followed. I have also posted on Microsoft's help but am still unable to print the