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
"

Similar Messages

  • Code hint don't working

    Friends, please shed some light. I don't understand. Can I use code hint feature on symbols , that I simply drag on stage from the library and instantiate via property panel (not from 'new 'operator). As you guess, when I hit F9 (i.e. invoke Actions window) and write name of the object then put period ('.') code hint window don't popup. There are many topics in this forum dedicated this issue, but all don't work. 
    I have Adobe Flash CC professional and OS - Windows 8.

    kglad wrote:
      var mc:MovieClip;  // where mc is the instance you named in the properties panel.
    Thanks a lot. This right . But , why code hint window don't popup automatically. Edit -> Preferences -> Code editor
    -> Code Hints............. property  is checked. Code hint work only when ctrl + space  is hited.
    P.S.
    I had try this suggestion. Unsuccessfully.
    Hi ,
    After ensuring that the "Code Hints" checkbox in the Actionscript section of the Flash Preferences dialog is turned on , please try resetting your code-hint cache as follows:
    1. Quit Flash
    2. Delete your code-hint cache folder
    Win XP:
    C:\Documents and Settings\<user>\Local Settings\Application Data\Adobe\Flash CS6\<language>\Configuration\CodeModel
    Win Vista/Win7:
    C:\Users\<user>\AppData\Local\Adobe\Flash CS6\<language>\Configuration\CodeModel
    Mac:
    /Users/<user>/Library/Application Support/Adobe/Flash CS6/<language>/Configuration/CodeModel
    3. Re-start Flash and try again.
    Let me know if this helps.
    Thanks and regards,
    Sudeshna Sarkar
    Adobe Flash Professional Team.

  • 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!
    Aaron

    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.

  • This code DOM don't works with firefox

    this code DOM don't works with firefox:
    <div class="fileupload fileupload-new" data-provides="fileupload"><input type="hidden">
    <div class="uneditable-input span3">
    <i class="icon-file fileupload-exists"></i> <span class="fileupload-preview"></span>
    </div>
    <span class="btn btn-file"><span class="fileupload-new">Procurar ficheiro</span><span class="fileupload-exists">Alterar</span><input id="ficheiro" name="ficheiro" type="file"></span><a href="#" class="btn fileupload-exists" data-dismiss="fileupload">Remover</a>
    </div>

    This site is based on wiki software and doesn't handle code very nicely -- as you can see.
    Do you want to provide the code another way? For example, you could set up a test case on jsfiddle.net or paste the source into a page on pastebin.com and post a link in a reply here.

  • Can u please send me a sample code to upload and download a file using java

    Hi,
    Please can u send me a sample code to upload a file and to download the same file from a remote server using a java servlets. The file should be read byte by byte.
    Message was edited by:
    user461713

    Hi, Thank u.
    Sorry, I forgot to attach a code. Here it is.
    Actually i need to upload a file to a remote server and download it from a server to my machine. I'm trying it using servlets and using tomcat5.0 as a servlet container. Here i'm sening a code used to upload a file. Let me know whether it works. Only few lines are here.
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.lang.Object;
    import java.util.*;
    import java.lang.String;
    import com.oreilly.servlet.MultipartRequest;
    public class FileUpload extends HttpServlet{
         public void doPost(HttpServletRequest req, HttpServletResponse res)throws
         ServletException, IOException{
         MultipartRequest multi=new MultipartRequest(req);     
         String file="file1";
         byte[] b=file.getBytes();
         InputStream in=null;
         BufferedInputStream bis=null;
         FileWriter fw=null;
    try{
         in=multi.getInputStream("file1");
    bis=new BufferedInputStream(in);
         File output=new File("/fileuploadtest");
         fw=new FileWriter(output);
              int i;
              i=bis.read();
              while (i != -1) {
    fw.write(i);
    i = bis.read();
         catch(IOException e){
              System.out.println("Exception=" +e);
    finally{
         try{
              if(in!=null)
              in.close();
              if(bis!=null)               
              bis.close();
              if(fw!=null)
              fw.close();
         catch(Exception e){
              System.out.println(e);
    This code is giving error as: cannot resolve symbol: class MultipartRequest
    Why is this happening?
    Pls let me know whether this code works or no and also i have written form.html.
    Can u pls tel me whether there are ways in which i can write a code to upload a file using servlets without using third party packages. Pls help.
    Also how should be the servlet mapping for this code.?
    Regards
    Message was edited by:
    user461713

  • PSP Source Code Links Don't Work!

    Hi,
    On this URL:
    http://otn.oracle.com/sample_code/products/ias/files/psp/index.html
    The links labeled "Source" don't show me the source code -- instead, it appears the PSP code itself is trying to run! And they don't work! Please correct.

    Thanks for bringing this to our attention. We're aware of this issue and working on getting it fixed.

  • Dreamweaver CS6: Page navigation keys don't work in Files window (Mac)

    Hi all,
    The home, end, page up and page down buttons don't work in the Files window of Dreamweaver CS6 on Mac OS X 10.7.3.
    They did work in any previous version of Dreamweaver.
    I wonder if anyone else experiences the same issue?
    It was very handy - and is expectd behavior - and hope Adobe can restore this functionality.
    Thanks,
    Leo

    Have you tried updating to 10.7.4?
    http://support.apple.com/kb/DL1525

  • Hyperlinks don't work in PDF using Print Save as PDF

    I am unable to figure out how to get hyperlinks within Numbers 09 to work after I use Print > Save as PDF. Please help.

    Sean1234 wrote:
    I am unable to figure out how to get hyperlinks within Numbers 09 to work after I use Print > Save as PDF. Please help.
    The same way as you get them to work after you use Print > print to a sheet of paper.
    PDF documents created via the Print dialogue (or via Export...PDF) are basically digital equivalents of paper documents.
    If you want functioning hyperlnks in a PDF document, you need Adobe Acrobat or an equivalent application to create the document.
    Regards,
    Barry

  • Child locked phone which is now disabled. I know the code but don't know how to use it to fix the phone.

    My child locked my iPhone and it is now disabled. I know the correct code but cant figure a way to use it.  The phone says connect to iTunes but when I do that it asks for the code but again, there is no place to input it.  I want to avoid a clean wipe.
    Any help would be greatly appreciated.
    S

    Does the link below help?
    Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support

  • Html code hints don't allways show

    When I select a Flash object and wrap a div around it, I get
    no code
    hints for that div, see:
    http://www.spinsister.nl/zandbak/filmpjes/codehints.htm
    This happens quite often but not always. I have not (yet)
    found any
    consistency in it.
    Groet,
    Adriana

    DW tries to determine when to show (and not show) code hints,
    so it's
    not too annoying. You should be able to hit Ctrl+spacebar at
    any time to
    force the Code Hints to appear.
    HTH,
    Randy
    > When I select a Flash object and wrap a div around it, I
    get no code
    > hints for that div, see:
    >
    >
    http://www.spinsister.nl/zandbak/filmpjes/codehints.htm
    >
    > This happens quite often but not always. I have not
    (yet) found any
    > consistency in it.

  • After upgrade to os 4 some apps don't work including Apple Store

    Upgrade went ok, but took long time. Some apps don't work correctly or crash. e.g. Apple Store app just recycles back to main screen. Starbucks app works for a few seconds then crashes.

    I had same problems.
    I decided to "downgrade" back to OS3. You can too!
    Go to this thread and read about it. http://discussions.apple.com/thread.jspa?threadID=2473976&tstart=0

  • Consolidating MSP Files using a variable as the filename

    Hi All
    I am trying to consolidate a number of MSP Files without having to hardcode the filenames.  Here is what I have so far and it is falling over on the Application.ConsolidateProjects..... line.  Any help/advice would be appreciated:
    Sub ImportWorkstreamPlans()
    Dim objFSO As Object
    Dim objFolder As Object
    Dim objFile As Object
    Dim i As Integer
    Dim Path As String
    Application.DisplayAlerts = False
    'Create an instance of the FileSystemObject
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    'Get the folder object
    Set objFolder = objFSO.GetFolder("D:\Delivery Assurance\CPP Build")
    i = 1
    'loops through each file in the directory and prints their names and path
    For Each objFile In objFolder.Files
    'FName = objFile
    Application.ConsolidateProjects Filenames:=objFile, NewWindow:=False, AttachToSources:=False, HideSubtasks:=True
    ViewApply Name:="CPP View"
    GroupApply Name:="No Group"
    SelectRow Row:=1, RowRelative:=False
    Next objFile
    FilterApply Name:="All Tasks"
    OutlineShowAllTasks
    SetAutoFilter FieldName:="Flag3", FilterType:=pjAutoFilterIn, Criteria1:="Yes"
    GroupApply Name:="Sub Project"
    Application.DisplayAlerts = True
    End Sub
    Thanks in anticipation.
    Tony
    TKHussar

    Tony,
    I think you made a typo when you say your individual plans are stored in "D:\CPP Build Template\CPP Plans" because your code is looking for the files in "D:|CPP Build Template\CPP
    Build Plans". Maybe that's your runtime error right there.
    However, I have to take back something I said previously. The FileName parameter of the ConsolidateProjects Method can, and should in this case, be a full path. I did a little further testing to simulate your configuration. I have a "Y" drive with
    a desktop folder. I created a blank Project 2010 template file and a simple test file and placed both of those on the "Y" drive desktop. I am running Project 2010 on the "C" drive of Windows 7 on a virtual PC. The macro code below is in
    the Global file. I open the template file and then run the macro. Everything works fine until it attempts to invoke the autofilter. Then it fails and I didn't have time to figure it out so I use a normal custom filter instead.
    Sub ImportWorkstreamPlans()
    Dim objFSO As Object
    Dim objFolder As Object
    Dim objFile As Object
    Dim i As Integer
    Dim Path As String
    Dim FName As String
    Application.DisplayAlerts = False
    'Create an instance of the FileSystemObject
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    'Get the folder object
    Set objFolder = objFSO.GetFolder("Y:\Desktop")
    i = 1
    'loops through each file in the directory, determines if they are a project file, and then inserts them into a static master
    For Each objFile In objFolder.Files
        If InStr(1, objFile.Path, ".mpp") > 0 Then
            FName = objFile.Path
            Application.ConsolidateProjects Filenames:=FName, NewWindow:=False, AttachToSources:=False, HideSubtasks:=True
            ViewApply Name:="Gantt Chart"
            GroupApply Name:="No Group"
            SelectRow Row:=1, RowRelative:=False
        End If
    Next objFile
        OutlineShowAllTasks
        FilterApply Name:="All Tasks"
        FilterEdit Name:="TKH", taskfilter:=True, create:=True, overwriteexisting:=True, _
            FieldName:="Flag3", test:="equals", Value:="yes", ShowInMenu:=False, showsummarytasks:=True
        FilterApply Name:="TKH"
        'SetAutoFilter FieldName:="Flag3", FilterType:=pjAutoFilterFlagYes
        GroupApply Name:="Sub Project"
    Application.DisplayAlerts = True
    End Sub
    John

  • Custom Split views don't work like the use to pre- Project 2010

    Hi
    Either we've lost some functionality along the way, or there must be another way of doing the following...
    Up until and including version 2007, I was able to create multiple custom split views in a file (or global.mpt) where the I could specify a different Task Form (e.g., "Predecessors & Successors" or the "Work") depending on which custom
    split view I selected.
    In 2010 and 2013, you have to manually select the Task From you want; the custom split view won't can help you get the specific Task Form you want ((e.g., "Predecessors & Successors", "Work").  At least that has been my experience...
    does anyone have a solution apart from needing to write a VBA event handler?
    Thanks in advance,
    \Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)

    I agree with Dale. Project remembers the last set of details applied in form views such as Task Form. Using VBA event handlers you can change this behavior.
    1. Open the project file on which this change should be applied.
    2. In the View ribbon, click Macro command and select Visual Basic
    3. If you want the details displayed in the Task Form to be applied to the current file, double click "ThisProject" node under the VBAProject(your file name) or else double click "ThisProject" node under ProjectGlobal (Global.MPT)
    4. Paste below lines in the Project_Open event handler. Save the code.
    Private Sub Project_Open(ByVal pj As Project)
        ViewApplyEx ApplyTo:=1, BuiltInView:=pjViewTaskForm
        WindowActivate TopPane:=False
        ViewShowPredecessorsSuccessors
    End Sub
    5. You can replace the last statement ViewShowPredecessorsSuccessors with another statement that is compatible with Task Form view
    Sai PMP, PMI-SP, MCTS Project, MVP Project

  • "There is a syntax error on line .. Code hinting may not work untill you fix this error"

    Hi guys, i hope your are all well and happy.
    i have syntax error on new pages created from template  (no errors in template) I use Dreamweave CS5
    Thiis is part of my code:
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>| Building and Construction services | Maintenance services | Cleaning services | Buildant Ltd |</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <link href="file:///D|/Local Sites/Buildant/CSS/buildant.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    </head>
    I have highlited line with red (the dreamweaver telling me that syntax error is on this line)
    Could anybody please help mw with this one
    Thank you

    I copy and pasted your code and got the error. I rewrote the code and it went away. I have had problems in DW with templates that gave me errors when everything was good but the only way to fix it was to redo the template from scratch. Sounds stange, but true. The only other thing, and the experts here might chime in is to put the scripts in comment tags like below.
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>| Building and Construction services | Maintenance services | Cleaning services | Buildant Ltd |</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <link href="file:///D|/Local Sites/Buildant/CSS/buildant.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    I don't get the error now, so I am unsure what to do.
    Jim

  • Code generation don't work - please help!

    Hi all
    just installed flash builder 4.5 , then installed the flash builder 4.5.1 update patch
    I've noticed the code generation features are not working
    meaning for example if I write "fori" in a function then hit ctrl+space
    it opens up an empty window with no suggerstions
    same goes when I tried generating variables, functions, classes, getters, setters ect...
    any idea as to why does it happen or what can I do about it?
    cheers

    Can you try a few things please -
    1. Post the content of your workspace log here. Log can be found in <workspace location>/.metadata/.log
    2. Post the steps you performed (starting from creating a new project) along with the .as and .mxml files. If you can't post your files here, please mail them to me at sameer[at]adobe[dot]com
    3. Create a new workspace using File > Switch Workspace > Other. Create a new Flex project in the workspace and try these features.
    Let me know your findings.

Maybe you are looking for

  • Password protected script in iWeb??

    Hello there, we are very new to this web site publishing so bear with us. Have successfully published a site (not a .mac) previously, then upgraded to 08 iLife. Now, the second site (not a .mac) will upload but we cannot view it as it is asking for a

  • Heap corruption in mulithreaded program

    Hi, We have a big mulithreaded program (on Solaris 8) which crashes randomly. The crash location varies every time. But, the top of the back trace is more or less the same every time. Is it heap corruption OR any known bugs in the libraries or platfo

  • Compilations in ios7?

    In the new ios7, my albums that are part of a compilation are broken out into their original album when synced to iPhone. The albums are still fine in iTunes and iPad, but on iPhone, all compilation albums are broken out into their respective songs.

  • My ipad isnt fully recognized on my pc laptop running windows 8 pro

    When I plug my ipad2.4 into my laptop it only allows me to check my (DCIM) picture folder but doesn't recognize nothing else thru the usb. So I can't load it up to put music from itunes or anything else for that matter. Can someone help me to resolve

  • Adding audio to imported assets

    I have recently transferred 16mm film with no sound to DV, and imported it into DVD Studio Pro 3 Even though the picture has no sound, DVDSP has created blank aiff files to go along with each clip. How can I replace these blank audio files with a sou