visual studio - JavaScript namespace references in IntelliSense -


i'm learning how put js inside namespace , how add other things same namespace. i'm using vs 2013 mvc page.

here create skillet in first namespace.js properties, in namespace2.js add property.

as can see in html after adding both js can see properties. inside namespace2.js cant see properties namespace.js

enter image description here

my idea have main js projects, , use second 1 fine details depending on specifics requirements.

is there way second js know define in first js?

something like:

#include "namespace.js"  using namespace.js; <script>namespace.js</script> 

you use /// <reference ...> directive can see in msdn docs

other useful answers in so:

best practices intellisense javascript references

enabling javascript intellisense external libraries in visual studio


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

utf 8 - split utf-8 string into bytes in python -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -