Commit Graph

84 Commits (d226a2a497b928d78aa654f74c8af5317d3becfb)

Author SHA1 Message Date
Aiday Marlen Kyzy c0d25ffb56
Performance regression: revert "Ignoring double slashes inside of strings" (#235742)
Revert "onEnter Indentation Rules: Ignoring double slashes inside of strings …"

This reverts commit 21c52a4a3a.
2024-12-10 16:49:07 +01:00
Aiday Marlen Kyzy 21c52a4a3a
onEnter Indentation Rules: Ignoring double slashes inside of strings (#235712)
ignoring double slashes inside of strings
2024-12-10 11:02:51 +01:00
Aiday Marlen Kyzy 359ec5270a
Add new line comment when pressing Enter from within line comment for languages that use double slash for line comment (#235407)
* add decrease and increase indent patterns for cpp

* adding new line with line comment on next line from within languages that use double slash for line comment
2024-12-06 11:51:50 +01:00
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
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
Alex Ross 3c86ede5f5
Update grammars (#200730) 2023-12-13 13:08:01 +01:00
Alex Ross 6021e01795
Update grammars (#192749) 2023-09-11 11:38:45 +02:00
Alex Ross 41c7fc34e0
Update grammars (#189172) 2023-07-28 17:48:19 +02:00
Andrea Mah b448b21744
update license for OSS Tool (#188988)
* fixes to license and auto-generated thirdPartyNotices
2023-07-27 08:41:35 -07:00
Andrea Mah 03c32aab74
Revert "update licenses" (#188962)
Revert "update licenses (#188880)"

This reverts commit 71bf483f13.
2023-07-26 19:38:04 +01:00
Andrea Mah 71bf483f13
update licenses (#188880) 2023-07-26 08:19:20 -07:00
Alex Ross e8f9d7587b
Adopt new Java grammar! (#188361) 2023-07-20 13:03:00 +02:00
Mickael Istria 4566ce493a
onEnterRules add prefix on newline inside Javadoc (#176800)
Add some onEnterRules to Java language configuration to add the usual
prefix (` * `)
when inserting a new line in Javadoc.
Those were actually copied from typescript language configuration which
shares the
same syntax for comments.
2023-03-15 09:52:53 +01: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 8bf9b56ade
Merge branch 'joao/extensions' 2021-02-02 12:06:01 +01:00
Alex Ross b37252c182 Update grammars 2021-02-01 17:48:44 +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 8d2621e952 Update grammars 2020-10-06 11:20:42 +02:00
Alex Ross 5cd1eff604 Update grammars 2020-09-07 16:47:30 +02:00
Martin Aeschlimann d5e12a12dd Use code-snippet suffix for extension snippets. Fixes #94625 2020-04-08 10:12:23 +02:00
Alex Ross f474fcb271 update-grammars 2020-04-06 13:29:57 +02:00
Miguel Solorio 666fcc0d62 Fix #88418, update number color for color contrast 2020-01-21 10:23:18 -08:00
Martin Aeschlimann e9bb8b306c do not autoclose quotes when in strings. Fixes #88265 2020-01-09 10:34:43 +01:00
Alex Ross c45e6cc623 Update grammars 2019-12-10 12:35:30 +01:00
Alex Ross a0bc43dd73 Update grammars 2019-10-21 11:21:03 +02:00
Alex Ross 3ac5830dcf Update grammars 2019-09-02 11:39:10 +02:00
Alex Ross a570522203 Update grammars
Also added a test for an existing c++ syntax highlighting issue.
2019-07-01 16:39:15 +02: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
Alex Ross 45db52ba6b Update grammars 2019-05-16 10:17:43 -07:00
Alex Ross abf2d142f6 Fix colorization tests 2019-04-05 13:22:46 +00:00
Alex Ross 9c00167f2e Update grammars 2019-04-05 12:51:44 +00:00
Alex Ross 6e968190df Update grammars 2019-02-04 16:35:48 +01:00
Alex Ross 6c6cd0aab4 Update grammars 2018-12-12 17:25:07 +01: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
Alex Ross c71f524777 Updated grammars 2018-11-06 11:39:33 +01:00
Martin Aeschlimann 10a1d2a50a update grammars 2018-10-04 12:00:39 +02:00
Alex Dima 34e7a220c8 Avoid shipping unnecessary files 2018-09-19 19:53:46 +02:00
Martin Aeschlimann de24a9026f [java] update grammar 2018-07-27 11:02:04 +02:00
Martin Aeschlimann c640a0ed5c adopt color changes in colorizer tests 2018-07-27 11:02:03 +02:00
Martin Aeschlimann 74c270e887 update grammars 2018-07-23 20:34:08 +02:00
Martin Aeschlimann 772aaf777a update grammars 2018-06-11 13:03:28 +02:00
Martin Aeschlimann d5bded0904 update grammars 2018-03-17 17:40:48 +01:00
Greg Van Liew b3a1b98d54 Edit pass on built-in extension descriptions (#44875) 2018-03-01 16:43:06 -08:00