Commit graph

122 commits

Author SHA1 Message Date
Robo b5a6aa14a8
feat: switch to npm as default package manager (#226927)
* feat: move from yarn to npm

* chore: skip yarn.lock files

* fix: playwright download

* chore: fix compile and hygiene

* chore: bump vsce@2.17.0

Refs 8b49e9dfdf

* test: update results for bat and sh colorizer tests

* fix: add missing lock files for windows

* fix: switch to legacy-peer-deps

* chore: update markdown-it@14.1.0

Refs 737c95a129

esbuild step in extensions-ci-pr was previously using markdown-it
from root which had userland punycode and was able to compile successfully.

* ci: increase pr timeout for windows integration tests

* chore: fix product build

* build: ignore extension dev dependency for rcedit

* build: fix working directory inside container

* build: fix dependency generation

* npm: update dependencies

* ci: use global npmrc

* ci: update cache

* ci: setup global npmrc for private npm auth

* build: fix extension bundling

* chore: sync npm dependencies

* ci: debug env variables for container

* ci: fix win32 cli pipeline

* build: fix npmrc config usage for build/ and remote/ dirs

* fix: windows build

* fix: container builds

* fix: markdown-language-features tests and bundling

```
[03:58:22] Error: Command failed: /Users/demohan/.nvm/versions/node/v20.15.1/bin/node /Users/demohan/github/vscode/extensions/markdown-language-features/esbuild-notebook.js --outputRoot /Users/demohan/github/vscode/.build/extensions/markdown-language-features
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds userland package based on beed9aee2c

* fix: container builds for distro

* chore: update yarn occurrences

* fixup! chore: bump vsce@2.17.0

Uses the closest version to `main` branch that does not
include d3cc84cdec
while still having the fix 8b49e9dfdf

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: throw error when yarn is used for installation

* chore: add review feedback

* chore: switch exec => run where needed

* chore: npm sync dependencies

* fix: markdown-language-features bundling

```
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds missing userland package based on markdown-it/markdown-it@beed9ae,
can be removed once we update markdown-it >= 14.1.0

* ci: rename no-yarn-lock-changes.yml

* chore: sync npm dependencies

* ci: restore no-yarn-lock-changes.yml

We can disable it in a separate PR to keep the required
checks happy and also need workflow edit perms.

* chore: sync npm dependencies

* ci: rebuild cache

* ci: fix no-package-lock-changes.yml

* chore: bump distro

* chore: rm yarn.lock files

* chore: rm yarn.lock files without dependencies

* chore: add vscode-selfhost-import-aid to postinstall dirs

* chore: bump distro
2024-09-06 22:18:02 +09:00
Matt Bierner 1cd7cf5dec
Update MD grammar (#221204) 2024-07-08 20:33:21 +02:00
y0sh1ne 0a8e930a73
Update language-configuration.json(fix #215999) (#216394)
Update language-configuration.json

add "~" in surroundingPairs
2024-06-19 17:24:44 +00:00
Matt Bierner 6b0a582e59
Update md grammar (#207608) 2024-03-13 18:25:52 +01:00
Matt Bierner 6e2ea0ed27
Also disable ` `` as autoclosing pair (#203487)
Fixes #192676

Not ideal but likely better than the current behavior that inserts extra backticks
2024-01-25 13:21:45 -08:00
Matt Bierner 1ddc10601d
Add angle brackets as surrounding pairs in markdown (#203083)
Add angle brackets as surrounding pairs in md

This is useful for html and for autolinks
2024-01-22 23:58:28 +01:00
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
Matt Bierner 34fcd8bebc
Revert autoclosing of ``` ` ``` in md (#202290)
Fixes #192676

Turns out to be more annoying than the value it provides
2024-01-11 15:29:01 -08:00
Alex Ross 3c86ede5f5
Update grammars (#200730) 2023-12-13 13:08:01 +01:00
Matt Bierner 7cc7a6f50c
Update md grammar (#192245) 2023-09-06 01:56:58 +02:00
Matt Bierner 43495ec026
Add unbalancedBracketScopes for markdown (#191844)
Fixes #191843
2023-09-05 10:08:30 -07:00
Matt Bierner 665aa8a131
Update markdown grammar (#189420) 2023-08-02 06:47:09 -07:00
Matt Bierner 22e273bc60
Update markdown grammar (#184533) 2023-06-07 13:05:32 -07:00
Matt Bierner 703a75da38
Add ` as an autoClosingPair in markdown (#184532)
Fixes #183489

Will test this out to see if it's helpful or too annoying
2023-06-07 13:05:01 -07:00
Alex Ross 53dcdf3ee8
Update grammars (#184151)
* Update grammars

* Update grammar tests
2023-06-02 13:54:16 +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
Martin Aeschlimann 3eff2128ce
offside languages: changing ignoreTrimWhitespace default to false (#169555) 2022-12-20 10:09:56 +01:00
Matt Bierner cf43717e18
Pick up new md grammar (#156844)
Also updates themes to better handle https://github.com/microsoft/vscode-markdown-tm-grammar/issues/4
2022-08-01 17:13:55 -07:00
Priyank Rastogi 9e1f017b8c
Add latex to markdown embedded languages (#151732) 2022-06-15 00:01:37 +00:00
Matt Bierner 9f3cafba7d
Update grammars (#151383)
Updates the markdown and JS/TS grammars
2022-06-07 09:37:14 -07:00
Matt Bierner 113287ccc3
Don't treat escaped markdown reference links as links (#149407)
Fixes #149406

Make sure that escaping the leading `[` of a reference link means it is not considered a link

- Picks up new grammar with fixes
- Updates our document link provider to also not consider these as link
2022-05-12 19:35:36 -07:00
Matt Bierner a763e90731
Update md grammar 2022-05-03 13:32:15 -07:00
Alex Ross f3b1b53443
Update grammars 2022-05-02 11:20:10 +02:00
Matt Bierner 0d78957186
Update md grammar
Fixes #146610
2022-04-12 09:20:52 -07:00
Johann Pardanaud 6a6df96d5e
Improve UX for markdown snippets (#146431)
Allow to directly paste a link markdown when using the `link` and `image` snippets
2022-03-31 09:44:24 -07:00
Babak K. Shandiz 7e0df7ed8f
Add jsonc to markdown embedded languages (#144003)
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2022-02-28 12:41:34 -08:00
heartacker d7ca9f570f
add math snippet (#142697) 2022-02-15 17:41:24 -08:00
Henning Dieterichs ce5d3510b1
Fixes #139201 by disabling highlighting invisible characters in markdown and text files. 2022-01-07 17:35:23 +01:00
Matt Bierner 80ce88bc6a
Adopt strike through for markdown
Fixes #43504

Picks up new markdown grammar with strikethrough support and also adopts it for our built-in themes
2022-01-05 15:13:35 -08:00
Matt Bierner 0012ea2fb4
Don't include [ and ] as strings in markdown links
Fixes #139051
2022-01-05 11:18:21 -08:00
Matt Bierner d07ee60829
Update markdown grammar 2021-12-06 18:13:39 -08:00
Henning Dieterichs 319529dc9d
Disable highlighting ambiguous characters for markdown. 2021-11-26 17:20:34 +01:00
Matt Bierner f8b42b4a55
Update md grammar 2021-11-01 09:34:45 -07:00
Matt Bierner 14f72608c0
Remove definition list snippet
#134611

This is non-standard md and was incorrectly added. Instead the snippet should be included by whatever extension introduces support for this syntax
2021-10-08 12:24:20 -07:00
Matt Bierner aec6ee09fa
Remove eslint disablement in file
" -> '
2021-09-02 16:58:01 -07:00
Henning Dieterichs 80627022a0
Don't colorize brackets in markdown files. 2021-08-25 10:25:47 +02:00
Henning Dieterichs feed53b813
Merge branch 'main' into hediet/refactor-language-configuration 2021-05-31 19:40:48 +02:00
Matt Bierner d921cc41fc
Update markdown grammar 2021-05-19 15:34:07 -07: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
Matt Bierner bc04b1c04b
Update md grammar 2021-05-03 18:17:41 -07:00
Mike Lee efe612365f
feat: add support for additional surrounding pairs for markdown (#119982) (#121698) 2021-04-20 12:19:33 -07:00
Alex Ross 0f17001790 Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01: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
Alex Ross 4301777727 Update grammars 2020-12-14 15:50:30 +01:00