Commit Graph

96 Commits

Author SHA1 Message Date
Alex Ross
09fe3fcbc1 Adopt new Ruby grammar (#235732) 2024-12-11 17:53:04 +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
f605341af6 Syntax highlighting incorrect in vscode.python for the word 'file' (#191111)
* Syntax highlighting incorrect in vscode.python for the word 'file'
Fixes #188190

* Update colorization test
2023-08-23 22:17:23 +01:00
Rickey K. Liang
2ff3c9a7e7 Revert Python docstring color (#184938)
Revert b4368691e9

all color themes: treat comment docstrings as comments too (#182162)
2023-07-10 14:48:51 +02:00
Gabriel Staples
b4368691e9 all color themes: treat comment docstrings as comments too (#182162)
* monokai-color-theme.json: treat Python comment string blocks

...as comments too

* Update *all* themes to consider Python block string comments as comments

	modified:   extensions/theme-abyss/themes/abyss-color-theme.json
	modified:   extensions/theme-defaults/themes/dark_vs.json
	modified:   extensions/theme-defaults/themes/hc_black.json
	modified:   extensions/theme-defaults/themes/hc_light.json
	modified:   extensions/theme-defaults/themes/light_vs.json
	modified:   extensions/theme-kimbie-dark/themes/kimbie-dark-color-theme.json
	modified:   extensions/theme-monokai-dimmed/themes/dimmed-monokai-color-theme.json
	modified:   extensions/theme-monokai/themes/monokai-color-theme.json
	modified:   extensions/theme-quietlight/themes/quietlight-color-theme.json
	modified:   extensions/theme-red/themes/Red-color-theme.json
	modified:   extensions/theme-solarized-dark/themes/solarized-dark-color-theme.json
	modified:   extensions/theme-solarized-light/themes/solarized-light-color-theme.json
	modified:   extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-color-theme.json

* Update all changes to use "string.quoted.docstring"

...instead of "string.quoted.docstring.multi.python", per
@aeschli's request here:
https://github.com/microsoft/vscode/pull/182162#issuecomment-1545296640

This way the comment formatting applies to *all* language quoted
docstrings, instead of just to Python.

* bring back python colorize tests

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-05-15 14:38:43 +02: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
Michael Kuhn
cffd1ecb7a Unify and fix Solarized token colors
This PR contains a few more fixes for both Solarized themes:
1. The token color definitions have diverged a bit, unify them.
   Specifically, this makes both themes use the same colors for the same
   tokens (only affects diff headers and class names) and harmonizes a
   few scopes.
2. `#D30102` is not a Solarized color, replace with `#DC322F` (red).
3. `#219186` is not a Solarized color, replace with `#859900` (green).
2022-02-11 22:48:18 +01:00
Michael Kuhn
63917b3d9a Fix some Solarized colors
This PR contains a few fixes for both Solarized themes:
1. According to #105418, the empty scope's foreground color is supposed to
   be used for normal text. For some reason, this does not seem to work,
   therefore set `editor.foreground` explicitly.
2. Some of the ANSI colors have been set to values differing from the
   official theme at https://ethanschoonover.com/solarized/ due to
   contrast issues. Nowadays, this can instead be fixed with
   `terminal.integrated.minimumContrastRatio` (see #121107).
3. Solarized Dark uses `#93A1A1` for normal text in a few places where
   `#839496` should be used instead.
4. Solarized Dark uses `#657B83` in a few places, which is not part of
   the official theme, use the correct `#586E75` instead.
5. Solarized Light uses `#073642` in one place, which is not part of the
   official theme, use the correct `#586E75` instead.
2022-02-09 21:30:37 +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
Tabitha Larkin
fba6ce545e Add colorized bracket highlighting colours (#132494) 2021-10-19 05:48:39 -07:00
Alex Ross
655fe7546f Fix port theme color typo 2021-05-04 14:09:39 +02:00
Alex Ross
ffde5985b2 Update color for port wtih running process
Part of microsoft/vscode-remote-release#4826
2021-04-08 14:29:39 +02:00
João Moreno
007baec8d5 fixes #118214 (#118425)
* fixes #118214

* address feedback
2021-03-08 12:51:56 +01:00
João Moreno
4077a67914 adopt focus border across all core themes 2021-02-15 14:29:36 +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
0738f76dac pull themes from the marketplace 2021-01-12 20:46:44 +01:00
Martin Aeschlimann
e01e0ebe39 [theme] Git:Input Validation Subject Length - not working on Monokai Theme.Fixes #101081 2020-11-03 16:30:29 +01:00
Martin Aeschlimann
183b2a2892 [themes] theme names are all not localized. Fixes #109840 2020-11-03 09:46:34 +01:00
Benjamin Pasero
cc594b88d8 themes - add last pinned tab color to default themes 2020-10-06 07:59:56 +02:00
ZainChen
494064e6d0 update markdown themes 2020-08-25 02:18:43 +08:00
Martin Aeschlimann
41a4adb47b [themes] opt-in to semanticHighlighting 2020-03-13 21:55:39 +01:00
Alexander
ed31ffc1b5 Remove unused colors from themes (#82986) 2019-10-21 09:00:51 -07:00
Rachel Macfarlane
700780d927 Set default colors for 'minimap.selectionHighlight' in other built in themes 2019-09-12 16:40:57 -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
Alex Ross
676368aa81 Update C, C++, Objective-C, and Objective-C++ grammars
Also includes corresponding theme changes

Fixes #74450
2019-06-04 16:20:40 +02:00
Martin Aeschlimann
34bb5d5891 adopt remote color names 2019-04-30 09:14:47 +02:00
Miguel Solorio
3714d64a00 Add theme support for statusBarItem.hostBackground 2019-04-25 20:51:29 -07:00
Martin Aeschlimann
d72bc587c3 [themes] fix commit hash for themes copied from Colorsublime/Colorsublime-Themes 2019-01-04 17:08:20 +01:00
isidor
1e3efda93c polish cgmanifest.json 2018-11-20 17:02:09 +01:00
isidor
9edd984da8 delete OSSREADME.json 2018-11-20 12:54:22 +01:00
isidor
347fb6347b add all cgmanifests. Still no commitHash 2018-11-14 18:18:25 +01:00
Alexander
e891e2f3d1 Add border for dirty tabs (#59759)
* Theming for dirty tabs

* Improve border for dirty tabs
1. Make it thinner
2. Add a setting to disable it
3. Use 4 colors (activeFocused, activeUnfocused, inactiveFocused, inactiveUnfocused)
4. Move part of logic

* Hot apply of setting `dirtyTabBorder`

* Rename the setting

* Add default dirty border for all themes

* 3 of the 4 colors should be derived from the one main color

* Rename `dirty` to `modified`

* Rename `modifiedActiveFocusedBorder` to `modifiedBorder`

* Add modified border color for built-in themes

* More contrast

* Applying style directly on element

* Changing only color

* Using full border

* Using existing div for border styling

* Add setting to telemetry

* Uncomment cleanup code

* tweak colors and descriptions

* 💄
2018-10-08 10:27:01 +02:00
Alex Dima
34e7a220c8 Avoid shipping unnecessary files 2018-09-19 19:53:46 +02:00
Benjamin Pasero
a970588eb6 grid - retire editorGroup.background and add new colors for empty groups 2018-05-09 10:53:04 +02:00
Martin Aeschlimann
24b5f19385 [themes] Solarized Dark selection color has no enough contrast. Fixes #48106 2018-05-02 12:09:56 +02:00
Alex Dima
0100518547 Highlight active indent guide (closes #14017) 2018-04-18 18:31:28 +02:00
Martin Aeschlimann
cc81646edf Rename editorActiveLineNumber.foreground. Fixes #46848 2018-03-28 15:44:25 +02:00
Benjamin Pasero
5f07044d21 fix #45132 2018-03-06 12:41:28 +01:00
Martin Aeschlimann
8bd41ceeca built-in extensions: version to 1.0.0 (for #43978) 2018-02-27 15:16:07 +01:00
Peng Lyu
8a91e901ff active line number adoption for dark themes from @usernamehw. 2018-02-23 10:57:41 -08:00
Sandeep Somavarapu
d321ced195 #43978 Use nls 2018-02-19 18:38:12 +01:00
Sandeep Somavarapu
eed7399a14 #43978 Add more details to theme extensions 2018-02-19 18:10:39 +01:00
Martin Aeschlimann
330ae7abfc Merge pull request #33820 from Ikuyadeu/patch-1
Fix word highlighting Solarized Dark theme #28343
2017-09-22 16:15:14 +02:00
YukiUeda
b9bf9c360a Delete comment out 2017-09-20 20:58:33 +09:00
Matt Bierner
35c8bc4daa Further improve colorization of embeded expressions
- Add groovy embedded support
- Make high contrast colorization consistent
2017-09-12 11:04:02 -07:00
Matt Bierner
33ec299b85 Reset Styling for meta.embedded for other themes 2017-09-11 11:24:44 -07:00