Javascript Code-Completion Extjs

Hey,

I have added ExtJS as Javascript library and set the scope on my current project.

This project is divided into different template files.

A sample file looks like this.

{if 1 != 1}
<script language="javascript">
{/ if}
/ / Here Autocomplete for Ext.[...] work
Shopware.Plugins.Kickstarter.PluginPanelControllerFrontend = Ext.extend (Ext.FormPanel,
{
label width: 75, / / label settings here cascade unless overridden
     frame: true,
     title: 'front-controller',
     Body style: 'padding: 5px 5px 0 ',
     label width: 150,
     region: 'center',
     default width: 200,
     default type: 'text field',
     component init: function () {
         / / Here autocompletion not working?

         // Typing Ext. Strg + Space results in "No suggestions"
     }

});
{if 1 != 1}
</script>
{/ if}


As you can see, the auto-completion works only at the beginning of the file.
In the object which i created below, especiallyin the initcomponent function the Keyword ext is not recognized - autocompletion does not work at this place?
Why that?

1 comment
Comment actions Permalink

Please file a bug at http://youtrack.jetbrains.net/issues/WI with the sample project attached.

0

Please sign in to leave a comment.