Commit Graph

366 Commits

Author SHA1 Message Date
Sandeep Somavarapu
1e0580ec23
Use categories for builtin extensions groups (#202453)
* support grouping of extensions

* remove grouping

* reuse categories parsing

* cleanup

* fix tests
2024-01-14 18:19:29 +01:00
Henning Dieterichs
ff757ef8f4
Fixes #175797 (#175899) 2023-03-03 13:08:21 +01:00
Alex Ross
4532436315
Exclude strings from HTML grammar patch (#168306)
Fixes #160549
2022-12-07 14:44:00 +01:00
Harald Kirschner
ea5b244abd
File snippets for HTML and PHP (#161881)
* Adding file snippets for HTML and PHP to start small.

* Adding TS
2022-09-27 08:15:57 -07:00
Matt Bierner
841aed8ed1
Move more update-grammar scripts to mjs 2022-03-01 17:28:57 -08:00
Martin Aeschlimann
5e4bc951cd
Hitting return after </button> element crashes VS Code (Insiders). Fixes #135806 2021-10-26 11:55:51 +02:00
Martin Aeschlimann
7fefb2f942 [html] auto-indent not working for tags with attribute values containing /. Fixes #111932 2021-10-21 15:51:49 +02:00
Henning Dieterichs
792df9da2f
Fixes #135125 by not colorizing any bracket pairs in html. 2021-10-20 16:08:11 +02:00
Henning Dieterichs
9f6e7a7e9f
Implements language configurable colorizedBracketPairs property. 2021-08-23 15:21:51 +02:00
Matt Bierner
dc54347a27
Exclude a few extra build files from build 2021-08-05 13:32:54 -07:00
Henning Dieterichs
dcf81c6265
Removes g flag from wordPatterns. 2021-05-31 19:47:57 +02:00
Henning Dieterichs
a1af8aa651
Refactors calls to languages.setLanguageConfiguration to declarative descriptions in language-configuration.json. This fixes #98621. 2021-05-17 09:12:01 +02:00
João Moreno
c3b556727e
fix update-grammars script 2021-02-02 12:30:08 +01:00
João Moreno
03da2de889 add proper yarn.lock files 2021-02-01 14:35:52 +01:00
João Moreno
ec805db5ed
add repository field to extensions package.json 2021-01-29 15:30:45 +01:00
João Moreno
9a5d14e307
run prettier over extensions json files 2021-01-29 15:19:18 +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
AlexxNB
f40a29d680 xhtm->xht 2020-07-29 18:12:24 +03:00
Alexey Schebelev
1ea9bbf7d2
Add *.xhtm file extension
`xhtm` - is also valid file extension for XHTML files. It is like `htm` and `html` for HTML.
2020-07-29 16:57:21 +03: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
Miguel Solorio
666fcc0d62 Fix #88418, update number color for color contrast 2020-01-21 10:23:18 -08:00
Martin Aeschlimann
18bab626b9 [html] issues caused by HTML grammar associating '<' with JS. Fixes #86998 2019-12-20 16:27:22 +01:00
Miguel Solorio
42d4a3b5c8 Replace 'Octicon' refs with 'Codicon' 2019-10-16 11:38:15 -07:00
Aurélien Pupier
7a5bca9faf Add License field to package.jsons #68423 (#68771)
it should avoid to have "warning XXX: No license field" during yarn
build

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
2019-06-06 11:44:50 +02:00
Martin Aeschlimann
117ee62c22 'html' snippet is annoying and easily inserts by accident when typing any html. Fixes #69457 2019-03-25 22:16:53 +01:00
Alex Ross
b0b6dc6c2e Update grammars to pick up make changes
and fix hashes.
2019-02-06 15:16:49 +01:00
Alex Ross
6e968190df Update grammars 2019-02-04 16:35:48 +01:00
Mathias Rasmussen
fd638edefd
HTML Snippet: Consistent void tags 2019-01-05 02:18:35 +01: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
isidor
9edd984da8 delete OSSREADME.json 2018-11-20 12:54:22 +01:00
isidor
2ba92aa3e8 add commitHash to cgmanifest 2018-11-15 17:43:46 +01:00
isidor
347fb6347b add all cgmanifests. Still no commitHash 2018-11-14 18:18:25 +01:00
Martin Aeschlimann
cfc2a2212d custom 'html' tags are in red color. Fixes #56467 2018-10-04 11:02:04 +02:00
Alex Dima
34e7a220c8 Avoid shipping unnecessary files 2018-09-19 19:53:46 +02:00
Martin Aeschlimann
404e737560 update html grammar 2018-07-27 11:02:04 +02:00
Martin Aeschlimann
b08ba054ba [folding] Folded regions are lost when starting multi line comment Fixes Microsoft/vscode#46655 2018-03-28 16:06:10 +02:00
Pine Wu
581000a2da Override tokenTypes in html for #46145 2018-03-20 16:35:38 -07:00
Martin Aeschlimann
086a751a06 [html] split extension (for #45900) 2018-03-17 16:32:55 +01:00
Martin Aeschlimann
5710ce949b [html] improve incomplete foldings (for #44712) 2018-03-16 17:19:50 +01:00
Martin Aeschlimann
1cec53cedd [html] folding for embedded JavaScript 2018-03-16 13:48:06 +01:00
Martin Aeschlimann
18bde2a520 [html] validate: check if version is still current 2018-03-16 13:48:05 +01:00
Martin Aeschlimann
14eca3563b [html] enable strict, cancel support 2018-03-16 11:26:44 +01:00
Martin Aeschlimann
7c5f344a2b [html] use TextDocument.applyEdit 2018-03-16 11:26:44 +01:00
Martin Aeschlimann
4d78742a99 [html] test fold regions 2018-03-16 11:26:29 +01:00
Martin Aeschlimann
21d517efd6 [html] fold multi line comments 2018-03-16 11:25:52 +01:00
Martin Aeschlimann
ff3c40353b [html] folding for self-closing tags 2018-03-16 11:25:52 +01:00
Alex Dima
443c580049 Enable folding in standalone editor 2018-03-15 14:52:34 +01:00
Martin Aeschlimann
4c8fae3cca [html] format 2018-03-14 23:02:04 +01:00
Martin Aeschlimann
fb4f66dc11 [html] limit ranges 2018-03-14 22:56:30 +01:00