Commit graph

108 commits

Author SHA1 Message Date
Alpha Romer Coma 7ef754c2f6
Fix supported markdown-lint violations in markdown files (#190750)
docs: fix supported markdownlint violations
2023-08-24 08:37:25 +00:00
Alex Ross c778cc6117
Update grammars (#186752) 2023-06-30 09:14:40 -07:00
Matt Bierner b242a8730c
Bump JS/TS grammars (#180160) 2023-04-17 21:27:38 +01:00
Matt Bierner 0461b885d5
Update JS/TS grammar (#179069) 2023-04-04 00:56:01 +02:00
Alex Ross cf4acb8050
Update grammars (#175350) 2023-02-24 17:22:41 +01:00
Alex Ross 166b8e2d90
Update grammars (#172807) 2023-01-30 06:27:20 -08:00
Matt Bierner cf01f3bb99
Update TS grammars (#167479)
Pulls in support for TS accessor syntax
2022-11-28 16:30:49 -08:00
Alex Ross fd4346210f
Update grammars (#162673) 2022-10-04 08:50:55 -07:00
Alex Ross ec5b41ddc2
Update grammars (#159445)
Update grammar
2022-08-29 14:08:44 +02:00
Matt Bierner 9f3cafba7d
Update grammars (#151383)
Updates the markdown and JS/TS grammars
2022-06-07 09:37:14 -07:00
Alex Ross f3b1b53443
Update grammars 2022-05-02 11:20:10 +02:00
Matt Bierner 1da08937d8
Remove text mate highlighting of more JS/TS built-ins
Identifying specific symbols is a better fit for semantic highlighting instead of textmate as semantic highlighting prevents false positives

This keeps around a few of the most built-ins for now but we may revisit these in the future
2022-03-01 16:17:16 -08:00
Alex Ross a1a4c0a63b
Update grammars 2022-01-31 16:52:03 +01:00
Alex Ross 9efc116de0
Update grammars 2021-11-02 15:32:34 +01:00
Alex Ross 3e32c1aae2
Update grammars 2021-07-02 17:06:19 +02:00
Matt Bierner e870a6d700
Update js/ts grammar 2021-04-14 20:42:41 -07:00
Matt Bierner 5207b98402
Update JS/TS grammars 2021-04-07 17:45:59 -07:00
Matt Bierner 05b52df98a Update JS/TS grammar 2021-04-06 17:17:43 -07:00
Alex Ross 17e7a257ff
Update grammars 2021-03-29 15:16:24 +02:00
Alex Ross b37252c182 Update grammars 2021-02-01 17:48:44 +01:00
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
Matt Bierner f564bbd517 Restore injection grammar for multiline jsdoc types
For #108237

This only fixes the basic case of making sure multiline types in jsdoc do not capture the leading `*`
2020-10-13 16:51:58 -07:00
Alex Ross 8d2621e952 Update grammars 2020-10-06 11:20:42 +02:00
ChaseKnowlden e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +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
Matt Bierner 96f2f3d66f Remove jsdoc markdown injections
New extension offers a replacement: https://marketplace.visualstudio.com/items?itemName=bierner.jsdoc-markdown-highlighting
2019-11-12 16:45:12 -08:00
Alex Ross 3f1f36333d Update grammars 2019-11-04 14:11:36 +01:00
Matt Bierner 6aab56dd62 Use specific scope name for js vs ts
Fixes #83289
2019-10-25 10:53:04 -07:00
Matt Bierner de2c32f69d Split js doc injection into js and specific ones 2019-10-24 16:58:12 -07:00
Matt Bierner cd955c2770 Pick up latest js/ts grammar
For #82224
2019-10-16 10:43:27 -07:00
Matt Bierner 011836a150
Prototyping custom editors (#77789)
* Custom Editor exploration

For #77131

Adds a prototype of custom editors contributed by extensions. This change does the following:

- Introduces a new contribution point for the declarative parts of a custom editor
- Adds API for registering a webview editor provider. This lets VS Code decided when to create a webview editor
- Adds an `openWith` command that lets you select which editor to use to open a resource from the file explorer
- Adds a setting that lets you say that you always want to use a custom editor for a given file extension
- Hooks up auto opening of a custom editor when opening a file from quick open or explorer
- Adds a new extension that contributes a custom image preview for png and jpg files

Still needs a lot of UX work and testing. We are also going to explore a more generic "open handler" based approach for supporting custom editors

Revert

* Re-use existing custom editor if one is already open

* Don't re-create custom editor webview when clicking on already visible custom editor

* Move customEditorInput to own file

* First draft of serializing custom editor inputs

* Use glob patterns instead of simple file extensions for matching custom resoruces for custom editors

* Add descriptions

* Try opening standard editor while prompting for custom editor

* Make sure we hide image status on dispose

* Make sure we restore editor group too

* Use glob patterns for workbench.editor.custom

* Allow users to configure custom editors for additional file types

* Use filename glob instead of glob on full resource path

* Adding placeholder for prompt open with

* Add enableByDefault setting for editor contributions

* Enable custom editors by default and add `discretion` enum

Changes `enableByDefault` boolean to a `discretion` enum. This should give more flexibility if we want other options (such as forcing a given custom editor to always be used even if there are other default ones)

* Allow custom editors to specify both a scheme and filenamePattern they are active for

* Rework custom editor setting

* Don't allow custom editors to be enabled for all resources by a config mistake

* Replace built-in image editor with one from extension

* Adding reopen with command

* Improve comment

* Remove commented code

* Localize package.json and remove image

* Remove extra lib setting from tsconfig
2019-09-10 17:56:57 -07:00
Alex Ross 3ac5830dcf Update grammars 2019-09-02 11:39:10 +02:00
Matt Bierner 5c27385212 Restrict which subsets of the markdown grammar the js/ts injection eagerly loads
Fixes #77990
2019-08-20 10:43:10 -07:00
Alex Ross edf34d3931 Update grammars 2019-08-05 12:44:23 +02:00