Граф коммитов

76 Коммитов

Автор SHA1 Сообщение Дата
hj 88d7b97c93
chore: rm unreached ignore items when build extensions. (#227906)
chore: rm unreached ignore items when compiling extensions.
2024-09-09 10:32:51 +00: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
Andrea Mah b540ba7b27
Unexpected link highlighting in search editor (#187091)
Fixes #180813
2023-07-05 23:11:27 +02:00
Joyce Er 5d454b0afc
Fix search editor activation (#179924) 2023-04-13 23:50:44 +01:00
Joyce Er affa0691f9
Remove redundant activation events (#172062) 2023-02-06 09:38:15 -08:00
Johannes 0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Martin Aeschlimann db9e8fba63 remove unecessary files in build 2022-02-18 20:38:55 +01:00
Jackson Kearl 99f3c2c7e7
Fix #140280 2022-02-04 11:56:21 -08: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
Alex Dima cab9713422
Fixes #141994: Address eslint problems 2022-02-02 13:18:12 +01:00
Jackson Kearl 6e6ca5f46a
Add proposedApi manifest to searchresult extension 2021-11-15 15:03:29 -08:00
Johannes Rieken 09c9d4c293
use `enabledApiProposals` instead of wildcard property, also update compilation units to only include d.ts-files that are needed, https://github.com/microsoft/vscode/issues/131165 2021-11-12 11:05:57 +01:00
Johannes Rieken a4d426a1c2
split vscode.proposed.d.ts into a file per proposal, https://github.com/microsoft/vscode/issues/131165 2021-11-12 09:48:17 +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
Stephen Sigwart dbea36b57a
Search editor go to location improvements (#135227)
* Search editor go to location improvements

- Added option to go to and select the match
- Fixed cursor placement with initial whitespace

* Remove #128927 changes

* Fix up seprartor logic

Co-authored-by: Jackson Kearl <jakearl@microsoft.com>
2021-10-25 21:20:36 -07:00
Miguel Solorio b074a8af98 Fix #86965 2021-10-04 15:27:25 -07:00
Sandeep Somavarapu ac151b40a5
enable virtual workspace capability 2021-04-23 10:20:23 +02:00
SteVen Batten f9fc28d47d update ext manifest schema validation and built-in exts 2021-04-21 11:54:42 -07:00
Matt Bierner 119581fc2a
Use more standard name for shared extension tsconfig
This enables Intellisense in the `tsconfig.base` file
2021-04-12 15:58:38 -07:00
Jackson Kearl 532a0b3a99
Onboard search-result to workspace trust. 2021-04-09 11:49:42 -07:00
Jackson Kearl 65a9aa1776 Use "(Settings) " as a prefix for userdata paaths in web
Closes #114979
2021-03-03 03:19:31 -08:00
Jackson Kearl 6312db1e01 Fix #115041: Path to untitled file from search editor is wrong 2021-02-22 19:01:26 -08:00
Martin Aeschlimann 50dc6c3c66 add search support 2021-02-08 16:22:32 +01:00
João Moreno ec805db5ed
add repository field to extensions package.json 2021-01-29 15:30:45 +01:00
Jackson Kearl b50bd5d094 Close #114342 2021-01-19 19:45:15 -08:00
Jackson Kearl 3a9daf3e34 Adopt new vscode-userdata path format 2021-01-15 13:00:42 -08:00
Jackson Kearl 6184addcd1 fall back to homepath if home unset.
closes #112775
2021-01-12 15:44:20 -08:00
Jackson Kearl cef7004a46 activate search result extension onLanguage:search-result #110031 2021-01-11 11:22:17 -08:00
Connor Peet 49d1396aeb
update pattern and add to grammar 2020-11-11 10:11:04 -08:00
Connor Peet f5898a0e59
surround match in zero-width spaces to avoid clobbering 2020-11-10 22:47:32 -08:00
Connor Peet 00f32f9a26
make search editor ranges work for hidden text 2020-11-10 16:04:00 -08:00
Connor Peet 046654ae65
make search editor ranges work for hidden text 2020-11-10 15:57:03 -08:00
Jackson Kearl 339681f631 Use excludive selectors for search editor contributions to fix #91453.
cc @jrieken
2020-11-06 11:23:45 -08:00
Jackson Kearl f88b86d714 vscode.Uri.joinPath instead of Node's path.join
Fixes https://github.com/microsoft/vscode-internalbacklog/issues/1280
2020-10-05 08:52:44 -07:00
Rares Folea 247e5dc148
Fix typo extensions/search-result/README.md (#107961) 2020-10-02 07:42:47 -07:00
Jackson Kearl d4ae4a64ec Enable search editor in non-HOME envs 2020-09-23 11:36:35 -07:00
Jackson Kearl a14a7e0b61 Treat more extensions as C++
Reduce duplicated repository entries in search editor tmgrammar
Closes #104887.
2020-08-18 16:13:27 -07:00
Jackson Kearl 9c525f3cf2 Enable search-editor in serverless.
Closes microsoft/vscode-internalbacklog/issues/1208
2020-07-29 21:24:57 -07:00
Jackson Kearl c2224dab6c Allow for non-file uri's in search editor 2020-07-29 17:08:41 -07:00
Alex Dima 91cdca1bdb
Do not ship unnecessary files with extensions 2020-07-24 13:57:51 +02:00
Rick van Galen 571b747c28
Containerfile support (#93184)
* Apply Dockerfile highlighting to Containerfile

* Recognize Containerfile in Search Editor highlighting

* Register opening Containerfile files on macOS

* Register opening Containerfile files on Windows
2020-05-27 14:47:27 +02:00
Matt Bierner 2344d7cf7e Revert "add todo for matt"
This reverts commit cd93eaacd5.

Fixes #97636
2020-05-12 13:16:13 -07:00
João Moreno cd93eaacd5 add todo for matt 2020-05-12 21:24:59 +02:00
Matt Bierner b1e9155139
Use generic for providers with resolve methods (#96955)
* Use generic for providers with resolve

Fixes #95852

Some of our providers have two phases: provide and resolve. This change updates the typings to make it clearer that the values returned by provider are passed into resolve.

* Remove duplicate vscode.d.ts in search-result extension

* Also use generic type in result of resolve
2020-05-11 13:06:03 -07:00
Jackson Kearl ea91347c6b Add .yml syntax hilighting. Closes #92027. 2020-03-05 09:32:53 -08:00
Jackson Kearl 2158b1aa65 [Search Editor] Align results from the same file 2020-03-02 16:28:45 -08:00
Jackson Kearl 2ebc730d72 eslint code-no-unexternalized-strings 2020-02-12 14:32:43 -08:00
Jackson Kearl d22fd6d8ae Add .pm as perl. Fixes #90550. 2020-02-12 11:56:47 -08:00