Commit Graph

261 Commits

Author SHA1 Message Date
Martin Aeschlimann
f76815d952 dev container schema: use unevaluatedProperties 2023-01-12 11:27:40 +01:00
Matt Bierner
57dd298b47
Add typings for test runner scripts (#169196) 2022-12-15 02:19:24 +01:00
N1kO23
9d1c2920c0
Added ${rootNameShort} formatting (#165744)
* Added ${rootNameShort} formatting

* Add unit tests for label that use rootNameShort

* move `Verbose` interface to a better location

* more support

* 💄

* fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-12-07 14:51:38 +01:00
Josh Abernathy
c53f2bdb3d
Add properties for parallel lifecycle scripts to devcontainer schema (#166973) 2022-11-28 19:03:20 +01:00
Christof Marti
9dba5385c7
Add GPU host requirement properties (devcontainers/spec#82) 2022-11-28 15:25:24 +00:00
Robert Jin
fbaacfb921
Add explorer.autorevealExclude setting (#136905)
* Add explorer.autorevealExclude setting

* Update setting name, only check sibling once

* linting

* Correct boolean order and add catch for force reveal

* Check for force instead of converting

* Do not make revealexcludes inherit from file.excludes

* Linting
2022-11-14 15:50:55 -05:00
Rob Lourens
6aa5ca4c28
Add launch/task variable completions to workspace file (#165842)
Fix #164728
2022-11-08 10:05:55 -08:00
Matt Bierner
2d8202551e
Adopt l10n for configuration-editing (#165521)
For #164438
2022-11-04 10:46:09 -07:00
Christof Marti
85bf7f1d9b Update schema with new properties (microsoft/vscode-remote-release#7278) 2022-10-03 11:52:07 +02:00
Martin Aeschlimann
4e7be94149
IntelliSense in JSON keyboard shortcut editor doesn't work for non-default profiles 2022-09-30 09:24:35 +02:00
Josh Abernathy
d3e330e4da
Update devcontainer schema for customizations.codespaces.openFiles (#161637) 2022-09-29 00:02:29 -07:00
Tyler James Leonhardt
29e985eca0
rev vscode-nls to version that doesn't ask for vscode-nls-web-data (#161819)
ref #161297
2022-09-26 11:10:54 -07:00
Tyler James Leonhardt
d8453c0440
Rev built-in versions of vscode-nls to 5.1.0 (#157530)
* rev version of vscode-nls to 5.1.0

* and yarn lock
2022-08-08 18:43:45 +02:00
Martin Aeschlimann
857412ab10
devcontainer schema: handle deprecated properties (#156425) 2022-07-27 20:27:47 +02:00
Martin Aeschlimann
361215a168
seperate out devContainer schemas for vscode & codespaces (#156170)
* seperateout devContainer schemas for vscode & codespaces

* fix for vscode schema
2022-07-25 18:17:23 +02:00
Martin Aeschlimann
28be5d9906
Configurations ${WorkSpace} autocomplete broken after update (#155713)
Configurations ${WorkSpace} autocomplete broken after update. Fixes #155638
2022-07-20 08:01:52 -04:00
Sandeep Somavarapu
c8ee8a25c5
adopt snippets with profile change (#153079)
* adopt snippets with profile change

* feedback
2022-06-24 10:10:22 +02:00
Sandeep Somavarapu
a1e1e307e3
introduce application config model (#152889)
* introduce application config model
- application configuration is active and used only in non default profiles
- read/write application scoped settings only from application layer and not from user layer
- extensions get application scoped values as global values
- settings editor does not show application scoped settings in non default profle
- added unit tests

* fix tests
2022-06-22 11:57:39 -07:00
Martin Aeschlimann
c46555d9c8
Tests for configuration editing completion providers (#151953)
tests for configuration editing completion providers
2022-06-14 09:08:27 +02:00
Martin Aeschlimann
375681e51e
json: use default word pattern (#151754) 2022-06-13 14:36:42 +02:00
Josh Spicer
d9c21dc901
better approach for codespaces permissions dev container schema (#150909) 2022-06-01 15:49:31 +02:00
Josh Spicer
b6a8f9fc7f
Add customizations.codespaces.repositories.permissions (#150555) 2022-05-30 17:55:18 +02:00
Christof Marti
d760b6eae9 vscode property (microsoft/dev-container-spec#1) 2022-04-25 22:12:06 +02:00
Sandeep Somavarapu
5b242ed4ff
Implement export/import profiles
- Introduce workbench profile service
- Implement settings, global state, extension profiles
- Implement import/export profile actions
2022-04-22 23:51:05 +05:30
Christof Marti
d3af2375bc Update generated schema 2022-04-08 14:55:34 +02:00
Greggory Rothmeier
5fbc46d0f3 Disallow trailing commas in devcontainer files
Align the JSON Schema spec with JSONC, which allows JS-style comments but does not allow trailing commas.

https://github.com/microsoft/dev-container-spec/pull/24
2022-04-08 14:55:34 +02:00
Connor Peet
0de44f9786
variables: allow resolving extensionDir (#146274)
* variables: allow resolving `extensionDir`

This allows us to fix https://github.com/microsoft/vscode-remote-release/issues/5516#issuecomment-911597917

It enables a new replacement in the format `${extensionDir:<id>}` which
will expand to the filesystem path where the extension is stored. This
involved churn, since now resolution is always synchronous (where before
the terminal took a synchronous-only path.)

Additionally, changes were needed to inject this information in the
variable resolver. As part of this I made the extension host resolver
(used by debug and tasks) its own extension host service.

* fixup! preserve object key order in resolution, add extensionDir support

* fixup! address pr comments

* fixup! address pr comments

* fixup! address pr comments

* config: fix config replacement only working for first variable per line

* fixup! fix unit tests
2022-04-07 08:06:31 -07:00
Christof Marti
177fb07e50 Add "customizations" to unblock microsoft/dev-container-spec#1 2022-03-24 21:18:52 +01:00
Robo
32d40cf44e
chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0

* Revert "chore: revert to electron@13 (#143851)"

This reverts commit df645f1450.

* chore: bump electron@17.1.0

* Revert "ci: fix build with latest node-gyp"

This reverts commit c3e948aa30.

* chore: revert ci changes for node v16

* chore: update yarn.lock

* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Christof Marti
0a138fbe26 Support @prerelease (#143540) 2022-03-09 08:35:30 +01:00
Christof Marti
733bf1d58e Add support for definitions nested in .devcontainer 2022-03-08 11:15:34 +01:00
Christof Marti
6fc70cb432 Revert "vscode subproperty (microsoft/dev-container-spec#1)"
This reverts commit 0041b15c6d.
2022-03-01 11:53:09 +01:00
Robo
df645f1450
chore: revert to electron@13 (#143851)
* Revert "chore: update to electron 16 (#137241)"

This reverts commit 01df559c18.
This reverts commit 46301339b7

* ci: fix remote compiler for sdl-scan

* chore: fix remote/.yarnrc

* chore: fix build/npm/postinstall.js

* chore: rm crash reporter from shared process

* chore: rm crash reporter from ext host

* chore: fix build/lib/layersChecker.ts

* :chore: preserve some more changes

* fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
Christof Marti
0041b15c6d vscode subproperty (microsoft/dev-container-spec#1) 2022-02-21 14:53:31 +01:00
Robo
01df559c18
chore: update to electron 16 (#137241)
* chore: bump electron@15.3.0

* chore: bump node@16.x

* chore: enable render process reuse

* Revert "watcher - use `type` property for crash reporter location"

This reverts commit bfa488dd8f.

* Revert "watcher - enable crash reports on linux (#136264)"

This reverts commit af261488f8.

* chore: enable crashpad on linux

* chore: bump electron@15.3.1

* chore: update api changes

* chore: bump @vscode/sqlite3@5.0.3

* spec: skip non-context aware module unittests

* chore: fix perf hook integration with node environment

* fix: adopt fs api changes

* chore: fix integration tests

* chore: bump electron@15.3.2

* chore: bump electron@16.0.0

* temp(macOS): kill test instances in OSS

* Revert "temp(macOS): kill test instances in OSS"

This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.

* chore: update chromium version for clang downloader

* some 💄 changes

* align with changes

* adopt more fs.rm

* 💄

* chore: bump @vscode/sqlite3@5.0.4

* fix layers check to account for duplicated types from node.js

* update todo for type casts

* smoke - fix compile issue

* chore: update module cache

* watcher - fix unhandled rejection (fix #137416)

* ci: update node version

* enable stack dumping

* update electron types to 16.x

* chore: bump @vscode/sqlite3@5.0.5

Refs https://github.com/microsoft/vscode/issues/137496

* fix layer issue

* add `AbortSignal` to core types

* chore: update linux compile flags

Refs 797723ec83

* ci: fix linux build

* ci: update github ci cache

* ci: fix remote build in github ci

* ci: better fix for remote build

* chore: bump azure cache

* chore: fix merge conflict

* :chore: update to electron@16.0.2

* chore: bump @vscode/sqlite3@5.0.7

* ci: update to gcc-4.9 for remote

Refs https://github.com/microsoft/vscode/issues/137659

* ci: switch to buster for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: fix build on linux arm64

* ci: fix arm client compiler toolchain

Refs #137927

* chore: bump electron@16.0.3

* ci: fix compile flags for the c toolchain

* chore: bump electron@16.0.4

* Add experimental dark mode flag (#139109)

* Add experimental dark mode flag

* Apply PR feedback

* chore: bump electron@16.0.6

* chore: bump electron@16.0.7

Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300

* chore: experimental highlight API

* smoke - fix compile issue

* FIXME: custom ELECTRON_RUN_AS_NODE with node worker

* Revert "chore: bump electron@16.0.7"

This reverts commit 5fd01cf37c.

* Revert "Revert "chore: bump electron@16.0.7""

This reverts commit a7f1b73951.

* chore: fix github linux workflow

* chore: address review feedback

* chore: bump electron@16.0.8

* ci: revert to stretch distro for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: force build

* chore: update yarn.lock

* address feedback

* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"

This reverts commit 7b48fa3732.

* ci: fix remote folder build

* chore: fix github linux ci

* 🆙 `versionSpec`

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
Johannes Rieken
4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Christof Marti
7cfeb2ca8b Update description (microsoft/vscode-remote-release#6184) 2022-01-27 17:52:05 +01:00
Christof Marti
5c93230bfb Update name description (vscode-remote-release#6143) 2022-01-21 09:13:00 +01:00
Johannes Rieken
3441d36d84
add JSON schema for extensionEnabledApiProposals, fyi @aeschli 2022-01-03 12:34:10 +01:00
Sandeep Somavarapu
5cbefa8178
#51935 suggestons for multi language identifiers 2021-11-16 23:07:10 +01:00
Martin Aeschlimann
4df57580d3
remove unnecessary escapes for '-' in regexes that go into schemas (for #137054) 2021-11-12 16:22:44 +01:00
Johannes Rieken
68e819043c
use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files 2021-11-09 15:53:35 +01:00
Johannes Rieken
9254a8cd27
move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01:00
Benjamin Pasero
9a3bcbe4f7
editors - cleanup wording for editors/files with unsaved changes 2021-10-25 15:18:43 +02:00
Martin Aeschlimann
510b49e1da New snippets file has language mode of "JSON" rather than "JSON with comments". Fixes #120190. Fixes #119538 2021-10-20 19:17:07 +02:00
Christof Marti
71089dc095 Wording (microsoft/vscode-remote-release#5530) 2021-09-30 16:47:00 +02:00
Christof Marti
b085e1c21e Add "features" property to schema (microsoft/vscode-remote-release#5442) 2021-09-29 11:03:00 +02:00
Alex Ross
12bccfd022
Update devcontainer schema (#132047)
Part of microsoft/vscode-remote-release#3450
2021-09-20 15:22:44 +02:00
Christof Marti
45a5a62228 Remove postAttachCommand from waitFor enum 2021-07-21 11:14:14 +02:00
Martin Aeschlimann
7ebe6a6054
adopt web extensions to webpack 5 2021-07-08 21:41:03 +02:00