简体   繁体   中英

Working with JavaScript in Visual Studio 2012

I am working on an old website that uses the Ext framework. It has a huge .js file at its core. I'm not a front-end web guy, I usually write the server and service side code, so I'm unfamiliar with getting heavy with JavaScript in Visual Studio.

In this file, there's this snippet:

...

// private
onDestroy : function(){
    if(this.manager){
        this.manager.unregister(this);
    }
    Ext.Window.superclass.onDestroy.call(this);
},

...

How do I find the 'manager' member there? I can't F12 to it and there's no combobox full of members at the top of the editor.

Is this just how it is with JavaScript? Is it because VS has poor support? Is it something to do with the way the project/files are setup?

Please don't mention alternative IDEs, or if you do, don't pass opinion on them that might get us in trouble with the SO police. Woop, woop.

好吧,我花了一段时间,没有人提出来,因此,从我在// build / 2013上看到的内容来看,Visual Studio 2012完全是JavaScript的废话,并且在2013年有了很大的改进,其中包括“ combobox充满了成员在顶部,提供CoffeeScript支持和其他一些最近的ECMAScript更改支持。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM