¿Existe alguna limitación en el tamaño o la cantidad de referencias agregadas al archivo Visual Studio intellisense _reference.js?

We are using Google closure and have a process in place (using build events) that takes the goog.require y goog.provide statements (used to define dependencies between files) to create a dependency tree and then derive the content of the _reference.js file (basically the reference of all the files within the project). The final intention of this process is to have Intellisense for every class in the project in any file. The problem we are facing is that we are not getting Intellisense for all the files but only the first N in the list of reference. If we split the _reference.js file into several files it seems to fix the issue, so we are wondering if there is some limitation in the size of number of references that can be added into the _reference.js file, or maybe we are doing something intrinsically wrong with this approach. Any advice?

Ctrl+J no ayudó.

preguntado el 28 de agosto de 12 a las 14:08

1 Respuestas

You could try explicitly invoking IntelliSense (Ctrl + j usually) and see if that helps (explicitly invoking will give more time for IntelliSense to respond and build up contexts)

IntelliSense is generated by pseudo executing the JavaScript, so a large/complex file will take longer for it to process than the IntelliSense responsiveness will allow.

I'm not entirely sure why your approach is not working. It should work by processing each file and then saving the results for the next invocation, picking up where it left off.

I'm thinking breaking the one large file into smaller files gives it more places to continue from where it left off.

Respondido 03 Oct 12, 03:10

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.