Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all 4630 articles
Browse latest View live

New Post: Project as blacklist manifest

$
0
0
I was wondering if it could be possible to have the project use blacklisting behavior rather than whitelisting behavior in its manifest. Our team is switching back and forth between Visual Studio and WebStorm and any time someone creates a new .js file or moves a .js file the Visual Studio project's manifest has to be manually updated. I'd rather choose to exclude specific files and folders instead.

I know there's a "web site" option as an alternative to a "web project" that sort of works this way, but my frustration with "web site" is that it becomes an absolute hard drive path reference for a specific user and as such cannot declare the project root relative to the solution. Each developer on the team has a different container directory structure for containing the solution.

EDIT: I took a stab at actually using the website option but it also uses a whitelisting manifest....

Created Issue: Context menu to enable C++ View and Python View nodes doesn't show on VS 2012 U4 [1380]

$
0
0
... when debugging in mixed mode.

New Post: Keeping the console window open after running with F5

$
0
0
How can I get the console window that starts up when I start the program with F5 (or Ctrl+F5) to stay open after my program completes?

Thanks for this incredible tool.

Commented Issue: npm Package manager fails to retrieve published package list [1252]

$
0
0
Sometimes, when I right click npm and select "Manage npm Modules", the package manages says "Loading published package list", but it comes back empty. See screenshot here: ![Image](http://i.imgur.com/pThwb5H.png)

I am still able to install packages using the npm command, but they are not added to packages.json and I have to call npm init manually.
Comments: Oh, and a screenshot after refreshing (before you close the dialog) thx

Source code checked in, #4d17131ead6efbbd3109f7d872e1b697eb5f83aa

$
0
0
#1321 VS crash (KeyNotFoundException) when removing a breakpoint When hitting a previously unbound breakpoint, do not try to rebind it if it has already been deleted.

Edited Issue: npm manager should only return valid search matches [1292]

$
0
0
Currently we return results which may or many not match. We should only return those entries which we deem to match

````
example searchr: 123456781234
```

Source code checked in, #cb1033599b42cf4d1be6cc10b858442031f116ef

$
0
0
Removes EncodedLocation which was a wrapper around node and switches to using EncodedSpan's which store the offset/length directly

Source code checked in, #4e76d5425e195fe624fecbed1471012702599778

$
0
0
#1365 Breakpoints inside functions don't work when attaching Fix fuzzy (filesystem-walking) filename matcher that is used for remote debugging such that it doesn't produce false matches for modules that are not part of the project (such as built-in modules), causing misplacement of breakpoints. Update existing unit test for the matcher that is supposed to test this case so that it actually does test it properly.

Source code checked in, #49f7d9945b70ad3986a377337d2d31a8c62893bf

$
0
0
- added logging to npm catalogue command - fixed npm output pane not being created bug

Source code checked in, #bf21fbf52b7d8d89533fa647701869be86e83097

$
0
0
#809 Property values are shown in bold Property values on a project item were bold. C# has them never bolded and this behavior is now replicated in PTVS and NTVS with this change.

Source code checked in, #4c221502bf56b8e0a1b2dba6f05fe80ccd668e56

$
0
0
#1292 npm manager should only return valid search matches - always set filtered list, even if empty - no results text in listview - no package selected text to replace package details - added ComparisonConverter Also removed a bunch of dead code

Source code checked in, #4a2c23acc08de81beedd2132d310d21df4b22344

$
0
0
#1077 no completions on buffer instance Define ClassBuiltinFunctionValue which returns the value whether it's constructed or called. Parse signatures and offer signature help for the class as well. Also fixes our immutability check which was backwards and adds a test case for it.

Source code checked in, #f3b96b794991a7dd26c24cd7dfc7ef00c506f6c3

$
0
0
#1193 Need to specialize array.push Adds specializations for array.push, pop, and slice and index assignment. Fixes array indexing - we were trying to get an integer constant value which will never happen in JavaScript, so now we work with doubles. Pulls the constant values off as virtual methods and instead makes them extension methods - we can always just check for the right class. Changes how we handle descriptors so that we're flowing through the correct this. JS defines properties to work by invoking [[GetProperty]] and then invoking [[Get]] passing in the correct this instance. We now properly model that so that we can flow in the proper this and get proper analysis. This change was also necessary for getting completions on connection which bug #1193 is about. TestPrototypeGetter is an example of this. We also now have our own tracking for recursion through the prototype chain which is ref counted. This enables us to walk all possible members of the prototype chain without recursion blowing out of control. We only decrement the ref count after processing the whole chain. This fixes an issue when analyzing Ghost where we would get stuck in what is near infinite processing of the prototype chain.

Source code checked in, #e5bb778f6e4f07725fda72b9022782d8311425dc

$
0
0
949 bool is unknown type Override Description so we display boolean 1307 Missing completions for Date Add missing methods, also add signatures for ctor function 1082 path module functions don't have proper return types Adds specializations for return types for path functions. Also adds specializations for fs.existsSync just to flush our return type specialization support

Source code checked in, #26f5b537afdaacecc10d105ce35e475ac43ae8f0

$
0
0
Temporary fix for unhandled exception

Source code checked in, #4e86edaadcc97f898490d77366811c00f742999b

$
0
0
Removes previous hack, moves getting the snapshot onto the UI thread.

Released: Latest dev build (Sep 08, 2014)

$
0
0
An intermediate release with the latest changes and bug fixes.

Updated Release: Latest dev build (Sep 08, 2014)

$
0
0
An intermediate release with the latest changes and bug fixes.

Created Unassigned: NPM UI Errors out with out-of-memory [1382]

$
0
0
Hi,

VS Version: Ultimate update 3
NTVS: 5-Sep-2014 (Latest dev build)


Downloaded 46MB of the package list
Downloaded 47MB of the package list
Downloaded 48MB of the package list
Download complete
Reading 50892199 bytes from C:\Users\foobar\AppData\Local\Microsoft\Node.js Tools\packagecache.json (08/09/2014 19:52:27)
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at Newtonsoft.Json.Linq.JProperty..ctor(String name)
at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r)
at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader)
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader)
at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader)
at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogueCommand.ParseResultsFromReader(TextReader reader)
at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogueCommand.<>c__DisplayClass1a.<ExecuteAsync>b__16()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogueCommand.<ExecuteAsync>d__1c.MoveNext()
Deleting C:\Users\foobar\AppData\Local\Microsoft\Node.js Tools\packagecache.json
Downloading package cache to C:\Users\foobar\AppData\Local\Microsoft\Node.js Tools\packagecache.json
Path to npm: C:\Program Files (x86)\nodejs\npm.cmd



Downloaded 46MB of the package list
Downloaded 47MB of the package list
Downloaded 48MB of the package list
Download complete
Reading 50892198 bytes from C:\Users\foobar\AppData\Local\Microsoft\Node.js Tools\packagecache.json (08/09/2014 19:54:46)
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.String.CtorCharArrayStartLength(Char[] value, Int32 startIndex, Int32 length)
at Newtonsoft.Json.JsonTextReader.ParseString(Char quote)
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.ReadInternal()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r)
at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader)
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader)
at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader)
at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogueCommand.ParseResultsFromReader(TextReader reader)
at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogueCommand.<>c__DisplayClass1a.<ExecuteAsync>b__16()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.NodejsTools.Npm.SPI.NpmGetCatalogueCommand.<ExecuteAsync>d__1c.MoveNext()
Deleting C:\Users\foobar\AppData\Local\Microsoft\Node.js Tools\packagecache.json
Microsoft.NodejsTools.Npm.NpmCatalogEmptyException: Unable to retrieve npm catalog: the web service may be unavailable.

Commented Unassigned: Brace Highlighting no longer works in editor [1381]

$
0
0
If I edit a Node javascript file, then the brace highlighting no longer works. If I edit a clientside javascript file, then the brace highlighting works.
Comments: What version of Node.js Tools are you using? I cannot reproduce this on our build. I hope with a more specific repro we can solve the issue you are seeing.
Viewing all 4630 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>