Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-4063

JavaScript: Instance method in SDOCML file missing in content assist

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Content Assist, JS
    • Labels:
    • Story Points:
      2

      Description

      1. Create a new SDOCML file in a web project
      2. Paste in the following:

        <?xml version="1.0" encoding="UTF-8"?>
        <javascript>
        	<class type="$$">
        		<constructors>
        			<constructor>
        				<description>cssquery</description>
        				<parameters>
        					<parameter name="selector" type="String" usage="required">
        						<description>CSS selector</description>
        					</parameter>
        					<parameter name="elBaseElement" type="Document|Element" usage="optional">
        						<description>Base DOM Element</description>
        					</parameter>
        				</parameters>
        				<return-types>
        					<return-type type="$$" />
        				</return-types>
        			</constructor>
        		</constructors>
        		<methods>
        			<method name="clearCache" scope="instance">
        				<description>Clear cache</description>
        			</method>
        			<method name="debug" scope="static">
        				<description>For debug purpose</description>
        				<parameters>
        					<parameter name="fCallback" type="Function" usage="required">
        						<description>Callback function</description>
        					</parameter>
        					<parameter name="nRepeat" type="Number" usage="optional">
        						<description>Amount of number for repeat</description>
        					</parameter>
        				</parameters>
        				<return-types>
        					<return-type type="Void" />
        				</return-types>
        			</method>
        		</methods>
        	</class>
        </javascript>
        

      3. Save this file and open a new JavaScript file.
      4. Type "$$()." clearCache is missing from the proposals list

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                ingo Ingo Muschenetz
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Git Source Code