Commit graph

275 commits

Author SHA1 Message Date
Charly 09f3bd5c0b
Fix typo in configurationEditingMain.ts (#203970)
Removed the extra `an` in `The path where an an extension is installed`.
2024-02-01 16:24:18 +00:00
Alex Ross 86504b9c9c
Add ${/} as a shorter alias for ${pathSeparator} predefined variable (#200750)
Fixes #180827
2023-12-13 17:04:54 +01:00
Megan Rogge 16b50a9be2
Merge branch 'main' into feat/fileWorkspaceFolderBasename 2023-11-10 11:42:22 -08:00
Christof Marti 0bad0f615a Option to opt-out of extensions (microsoft/vscode-remote-release#9177) 2023-11-10 11:17:34 +01:00
Martin Aeschlimann 07fcfc80c3
update to latest jsonc-parser (#192872) 2023-09-12 14:58:01 +02:00
floge07 d0b14e8569
fix: allow underscore as a valid char in tunnel remote address (#190904)
adjust the regexes used to validate tunnel remote addresses, add underscore as a valid char.
2023-08-21 19:18:44 +00:00
Robo ea490e5545
chore: update to Electron 25 (#188268)
* chore: update electron@25.3.0

* ci: update NodeTool version

* chore: update @types/node

* add more common types to layers checker

* chore: update debian dependencies

* chore: update rpm dependencies

* fix: use legacy dns result order of Node.js

* ci: remove deprecated always-auth npm config

Refs npm/cli@72a7eeb

* chore: update deb and rpm dependencies

* chore: update armhf rpm dependencies

* chore: update x64 debian dependencies

* chore: update x64 rpm dependencies

* chore: update electron@25.3.1

* chore: update electron@25.4.0

* chore: bump distro

* chore: bump distro

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-08-07 21:46:27 +09:00
Alex Ross 5f9fc780c2
Add snippets as a language (#185017)
* Add snippets as a language

* Snippets -> Code Snippets

* Add tests

* json.snippets -> json.comments.snippets
2023-07-28 09:21:56 -07:00
Andrew Hlynskyi 868757048d feat: Add resolving of "fileWorkspaceFolderBasename" variable 2023-03-31 23:25:34 +03:00
yiliang114 4065a16a41 fix: typos 2023-03-10 20:02:01 +08:00
Joyce Er affa0691f9
Remove redundant activation events (#172062) 2023-02-06 09:38:15 -08:00
Sandeep Somavarapu 5b02e68e42
fix profile import/export in web (#171753)
- move it to configuration-editing extension
2023-01-19 15:13:23 -08:00
Christof Marti 5efa6f4e4f Allow @prerelease 2023-01-17 10:28:05 +01:00
Christof Marti b7f4d34134 Reference original schema (devcontainers/spec#93) 2023-01-12 14:34:43 +01:00
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