Matt Bierner dbeeecbaed Refactoring to create TS Server object
Rebase of a number of incremental changes listed below

Move first level dispatchMessage into ForkedTsServerProcess

Goal is to move callbacks and other per-server state into `ForkedTsServerProcess`

Create forked ts server object syncrounously

There is no reason for this to be async anymore. Making this object sync reduces complexity and makes the code easier to reason about

Moving server relate functions into ForkedTSServer object

The goal here is to have a single "server" object that keeps track of all its relevant state. The service client would manage one of these servers at a time, starting new ones if needed and dispatching to old ones

Split server into own file

Use switch case instead of conditionals

Make pendingResponses readonly

Add typings for callback item

Improve naming

- Use more descriptive names
- Preview private vars with _

Use passed in version for getting command line args

Attach webview click handler to window instead of to document body

Fixes #48926

Change error handling for ts server exit and error

- Don't fire twice on error (once for the `once` and once for the `onError`)
- Flush callbacks on both exit and error.

Remove cancellationPipeName as state

Remove obsolete comment

Move all env generation into generatePatchedEnv

Extract server spawn into static method

Move spawn from static to be own factory class

Move providers from arguments to state on the spawner

Update js/ts grammar

Remove duplicate error handler

Cleaning up server fork

- Standarize names
- Extract methods
- Move some function to be private statics
- Move logging out of electron and into server.ts

Use undefined instead of null for optional value
2018-09-13 11:55:44 -07:00
2018-09-13 16:39:28 +02:00
2017-11-14 10:04:36 +01:00
2018-08-22 10:23:45 -03:00
2018-03-05 12:42:22 +01:00
2017-12-06 19:10:45 +02:00
2018-09-11 17:28:06 +02:00
2017-08-26 18:15:04 +02:00
2018-08-23 01:30:22 +02:00
2018-03-05 12:47:11 +01:00
2018-09-13 11:37:34 +02:00
2018-09-12 09:56:04 +02:00
2018-07-31 22:40:25 -07:00
2018-03-06 15:45:32 +01:00

Visual Studio Code - Open Source

Build Status Feature Requests Bugs Gitter

VS Code is a new type of tool that combines the simplicity of a code editor with what developers need for their core edit-build-debug cycle. Code provides comprehensive editing and debugging support, an extensibility model, and lightweight integration with existing tools.

VS Code is updated monthly with new features and bug fixes. You can download it for Windows, macOS, and Linux on VS Code's website. To get the latest releases every day, you can install the Insiders version of VS Code. This builds from the master branch and is updated at least daily.

VS Code in action

The vscode repository is where we do development and there are many ways you can participate in the project, for example:

Contributing

If you are interested in fixing issues and contributing directly to the code base, please see the document How to Contribute, which covers the following:

Please see also our Code of Conduct.

Feedback

Many of the core components and extensions to Code live in their own repositories on GitHub. For example, the node debug adapter and the mono debug adapter.

For a complete list, please see the Related Projects page on our wiki.

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License.

Description
Languages
TypeScript 74.1%
jsonc 21%
CSS 1.4%
C 1.1%
JavaScript 0.8%
Other 1.5%