Commit Graph

6075 Commits

Author SHA1 Message Date
Matt Bierner e6572ca1ea Make sure we don't log an exception for cancelled ts requests while server is still coming online
Fixes #58781
2018-09-17 13:59:29 -07:00
Matt Bierner 17e5e90742 Make we always complete canceled ts server requests properly
Fixes #58560

If the queued (but not sent) ts server request is canceled, we could previously fail to resolve its callbacks. This change makes sure we always resolve the callbacks for cancelled requests
2018-09-17 13:59:29 -07:00
Martin Aeschlimann 6057f6505e Merge pull request #57451 from DustinCampbell/update-csharp-grammar
Update C# grammar
2018-09-17 22:31:12 +02:00
Erich Gamma 295f04ae24 Fix #57897 ignore object valued scripts 2018-09-17 20:54:44 +02:00
Erich Gamma e93bb0c372 fix #57897 tasks cache not refreshed when workspace folder change 2018-09-17 19:53:20 +02:00
Matt Bierner dde08a9a62 Pick up ts 3.1-rc 2018-09-17 10:33:10 -07:00
Martin Aeschlimann 318720824f Merge pull request #44566 from jhessin/patch-1
Update language-configuration.json
2018-09-17 17:18:44 +02:00
Alex Dima a46554c8fa Use the fast variant of TextEditor.setDecorations 2018-09-17 17:10:07 +02:00
Ramya Achutha Rao f5670e2764 Emmet helper to fix #56082 2018-09-14 14:04:33 -07:00
Ramya Achutha Rao 067ed91b79 Allow emmet inside script tag with js mime if js is mapped to html Fixes #58562 2018-09-14 10:44:44 -07:00
Erich Gamma 6bee7fc45d Simplify label and do not show the folder name 2018-09-14 10:57:58 +02:00
Erich Gamma f7653eb02b Fixing NPM Scripts explorer shows the root folder only on the root package.json #50845 2018-09-14 10:52:50 +02:00
Joao Moreno 2c0167ef99 git: getBranch should resolve @ name syntax 2018-09-14 10:14:50 +02:00
Joao Moreno 87dbb3a1a6 git: getConfig should trim result 2018-09-14 09:22:35 +02:00
JYX f448ddebe3 Update tsconfig.schema.json (#58582)
It's actually a config for ts compiler not for js.
2018-09-13 23:47:33 -07:00
Matt Bierner b70c9308fa Use async import for registering update paths 2018-09-13 15:43:47 -07:00
Matt Bierner 6f440fcb7e Register a single workspacesymbol provider for js/ts
Avoid potentially making two workspace symbol: one for js and one for ts
2018-09-13 15:43:47 -07:00
Matt Bierner 4096b5d68e Avoid uri parse warnings for markdown uris
Fixes #58566

We only support local file links or a small set of normal schemes, like `http` and `mailto`. Use this to avoid calling `Uri.parse` with scheme-less paths such as `Uri.parse('/images/cat.gif')`
2018-09-13 15:43:47 -07:00
Martin Aeschlimann c0bbadd911 remove meta.selector color rule (for #56813) 2018-09-13 22:39:31 +02:00
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
Miguel Solorio 337c626b07 Make ignored folders darker 2018-09-13 09:44:47 -07:00
Joao Moreno ccf247b2fb fixes #50736 2018-09-13 18:15:55 +02:00
Joao Moreno 5215a5a619 💄 2018-09-13 17:37:52 +02:00
Joao Moreno c555552d81 Merge commit 'refs/pull/58380/head' of github.com:Microsoft/vscode into pr/58380 2018-09-13 17:33:16 +02:00
Joao Moreno c0021de2a1 💄 2018-09-13 17:29:28 +02:00
Joao Moreno a6985d76b2 Merge commit 'refs/pull/58174/head' of github.com:Microsoft/vscode into pr/58174 2018-09-13 17:20:52 +02:00
Joao Moreno 4d46fb709c cleanup git push force 2018-09-13 17:15:21 +02:00
Joao Moreno aac29b412c 💄 2018-09-13 17:03:25 +02:00
Joao Moreno 9380225465 fix compilation errors 2018-09-13 17:02:49 +02:00
Joao Moreno eaf1759f29 Merge commit 'refs/pull/53286/head' of github.com:Microsoft/vscode into pr/53286 2018-09-13 17:01:23 +02:00
Joao Moreno 4b2df59105 Merge branch 'pr/54300' 2018-09-13 16:07:41 +02:00
Joao Moreno ca7ae00825 💄 2018-09-13 16:07:30 +02:00
Martin Aeschlimann 5553d6e045 html: fix test script 2018-09-13 16:05:39 +02:00
Joao Moreno 9c06533ace Merge commit 'refs/pull/54300/head' of github.com:Microsoft/vscode into pr/54300 2018-09-13 15:55:04 +02:00
Jason Bright 86230c239c Git rebase detection (#57651)
* Test #57299 - script to stage test data.

* Fix #57299 - improve git rebase detection

* Revert "Test #57299 - script to stage test data."

This reverts commit 5f7142c25a.
2018-09-13 15:47:05 +02:00
Joao Moreno 6c504e7ee3 💄 2018-09-13 15:35:58 +02:00
Joao Moreno 406f710b39 Merge commit 'refs/pull/50712/head' of github.com:Microsoft/vscode into pr/50712 2018-09-13 15:25:42 +02:00
João Moreno d9e06518f1 Merge pull request #57374 from Protolane/enhancement/replace-brackets-too-upon-creating-new-branch
#57373 Replace brackets as well upon creating a branch
2018-09-13 14:35:54 +02:00
Erich Gamma 8330a69571 fixing web packing 2018-09-13 12:59:24 +02:00
Johannes Rieken f1962fe5ad webpack - use mainFields: ['module', 'main'] for everyone 2018-09-13 11:48:06 +02:00
Johannes Rieken 5b223a4529 debt - nicer regex for fwd and bwd slashes 2018-09-13 11:37:39 +02:00
Miguel Solorio 7f41255769 Update list colors for our light theme to pass color contrast ratio 2018-09-12 16:06:01 -07:00
Rob Lourens 6c733bab05 Fix #49432 - Slightly darker inactive tabs in Monokai 2018-09-12 14:57:18 -07:00
Ramya Achutha Rao c0973b5fa1 Wrap with abbreviation should work in non html files Fixes #57754 2018-09-12 14:20:31 -07:00
Matt Bierner 4719230bf5 Undo revert of markdown grammar
With added fix for  #57183

Fixes #57183
2018-09-12 11:56:21 -07:00
Matt Bierner 6ed4cced25 Check the correct previous text for suggestions 2018-09-12 11:56:21 -07:00
Erich Gamma 3fd4c7f4bd Use webpack for all big extensions #57680 2018-09-12 20:31:47 +02:00
Joao Moreno d880689924 git: fetch from all remotes
fixes #56463
2018-09-12 16:21:11 +02:00
Joao Moreno a915b67582 introduce git.fetchOnPull
related to #56463
2018-09-12 16:15:35 +02:00
Joao Moreno 9b0eee12d3 💄 commit empty 2018-09-12 15:46:40 +02:00