Commit Graph

128 Commits

Author SHA1 Message Date
João Moreno
3b03189afa Restore extensions in core (#114921)
* bring back grammar extensions

* fix hygiene

* Revert "pull themes from the marketplace"

This reverts commit 0738f76dac.
2021-01-25 17:07:56 +01:00
João Moreno
bc7d3c9ea6 remove grammar extensions 2021-01-15 12:35:17 +01:00
Matt Bierner
74623bc93c Update JS/TS grammars 2021-01-04 12:09:36 -08:00
Alex Ross
4301777727 Update grammars 2020-12-14 15:50:30 +01:00
Matt Bierner
e026e9a77e Update JS/TS grammars 2020-11-05 15:08:41 -08:00
Alex Ross
d6af4893ed Update grammars 2020-11-05 14:53:33 +01:00
ChaseKnowlden
e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Alex Ross
893314330c Update grammars 2020-08-19 16:00:28 +02:00
Matt Bierner
a877e0528e Remove special grammar rules for console in js/ts
Fixes #101802

These can be better handled by semantic highlighting
2020-07-07 13:24:23 -07:00
Matt Bierner
86a9e31ccc Update JS/TS grammars 2020-06-10 16:44:10 -07:00
Matt Bierner
75c625d421 Patch js/ts grammars to remove special scopes for node
Fixes #94284

Now the we have semantic highlighting, we should use that to identify if a variable is really from node or not
2020-04-03 14:11:47 -07:00
Matt Bierner
a1d80c4a70 Update JS/TS grammars 2020-04-03 14:01:19 -07:00
Matt Bierner
25377ee712 Update js/ts grammar 2020-03-30 16:29:19 -07:00
Matt Bierner
3bcc2f6061 Update js/ts grammars 2020-03-27 15:22:20 -07:00
Matt Bierner
138b9e488e Update JS/TS grammars 2020-03-16 20:15:57 -07:00
Matt Bierner
5c71a0b18b Update js/ts grammar 2020-01-10 14:25:21 -08:00
Matt Bierner
9536692355 Update js/ts grammars 2020-01-06 11:44:57 -08:00
Matt Bierner
609a88d3e3 Update js/ts grammar 2019-12-17 15:04:11 -08:00
Alex Ross
c45e6cc623 Update grammars 2019-12-10 12:35:30 +01:00
Matt Bierner
776c33ac41 Pull in the latest grammars 2019-11-26 11:49:01 -08:00
Matt Bierner
e6abf471d8 Update js/ts grammars 2019-11-18 15:34:42 -08:00
Alex Ross
3f1f36333d Update grammars 2019-11-04 14:11:36 +01:00
Matt Bierner
cd955c2770 Pick up latest js/ts grammar
For #82224
2019-10-16 10:43:27 -07:00
Alex Ross
3ac5830dcf Update grammars 2019-09-02 11:39:10 +02:00
Alex Ross
edf34d3931 Update grammars 2019-08-05 12:44:23 +02:00
Matt Bierner
40c6246335 Update js/ts grammar 2019-07-19 18:35:42 -07:00
Matt Bierner
f907a8c987 Update js/ts grammar 2019-07-15 11:47:29 -07:00
Matt Bierner
8dfa96edb0 Update js/ts grammar 2019-05-10 15:43:38 -07:00
Matt Bierner
b7f20a8b51 Update js/ts grammar 2019-04-23 13:52:06 -07:00
Matt Bierner
0ae3ecbf15 Fix multiline jsdoc type highlightingFixes #27777 2019-04-11 10:05:36 -07:00
Matt Bierner
0768663da9 Update js/ts grammar 2019-03-20 17:56:50 -07:00
Matt Bierner
e4ac6d29ac Update js/ts grammar 2019-03-15 13:42:19 -07:00
Matt Bierner
7e4e409c52 Update js/ts grammar 2019-02-13 11:14:41 -08:00
Alex Ross
6e968190df Update grammars 2019-02-04 16:35:48 +01:00
Matt Bierner
770beca118 Update js/ts grammars 2019-01-25 15:36:17 -08:00
Matt Bierner
c800831ffc Update js/ts grammar 2019-01-22 14:34:43 -08:00
Matt Bierner
5ed55a8606 Don't treat dom properties as special for syntax highlighting
See https://github.com/Microsoft/TypeScript-TmLanguage/issues/691

Assuming that properties named `label` or `name` are dom properties is incorrect and causes a lot of false positives. This results in weirdly inconsistent colorization
2019-01-02 17:33:50 -08:00
Matt Bierner
5631529791 Update js/ts grammar 2019-01-02 17:22:27 -08:00
Matt Bierner
aa301e3435 Update js/ts grammar 2018-12-19 13:40:54 -08:00
Matt Bierner
21d29aeb45 Update js/ts grammar 2018-12-17 15:50:25 -08:00
Alex Ross
6c6cd0aab4 Update grammars 2018-12-12 17:25:07 +01:00
Matt Bierner
f2348199e0 Update js/ts grammar 2018-11-29 11:42:42 -08:00
Matt Bierner
3c95fb7b9f Update js/ts grammars 2018-11-28 18:28:48 -08:00
Matt Bierner
812a35fc39 Update js/ts grammar 2018-11-05 16:20:13 -08:00
Matt Bierner
def0c260d4 Pick up latest js/ts grammar 2018-10-29 20:05:15 -07:00
Alex Ross
fd8d4b09e1 Update grammars 2018-10-23 16:13:27 +02:00
Martin Aeschlimann
10a1d2a50a update grammars 2018-10-04 12:00:39 +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
Matt Bierner
6d7ab69411 Update js/ts grammars 2018-08-29 01:10:38 +02:00
Matt Bierner
bfae34d749 Update js/ts grammar 2018-08-23 10:54:24 +02:00