Commit Graph

105 Commits

Author SHA1 Message Date
Benjamin Pasero
e438d4d721 Rename StorageScope.Global to Profile (#152703)
profile rename
2022-06-21 10:16:50 +02:00
Johannes
eda80f2065 Merge branch 'main' into joh/voluminous-lobster 2022-06-09 16:47:09 +02:00
Benjamin Pasero
4eb0e71ee4 labels - help to resolve workspace folder in case resource scheme mismatch (#151591) 2022-06-09 08:52:13 +00:00
Johannes
0656d21d11 auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Rob Lourens
45818d7c31 Use label service (#149001)
* Use labelService #148410

* Fix unit tests for search using label service
2022-06-07 18:07:19 -07:00
Daniel Imms
52b1dcc5ab Fix label formatter caching take 2
Fixes #150970
2022-06-03 10:23:40 -07:00
Daniel Imms
74af95ec11 Don't sync label formatters across machines
Fixes #150970
2022-06-01 09:23:17 -07:00
Connor Peet
a365dbaf5c feat: allow using formatting parts in the workplace suffix (#148850)
* feat: allow using formatting parts in the workplace suffix

* Revert "feat: allow using formatting parts in the workplace suffix"

This reverts commit a228e03ad6.

* feat: cache label formatters

* fix: tests
2022-05-09 13:11:24 -07:00
Joyce Er
739b5bf5d7 Update docstring for resourceLabelFormatters (#148963)
Re https://github.com/microsoft/vscode/pull/148841
2022-05-06 21:41:34 +00:00
Connor Peet
9991dffebf feat: add authoritySuffix for remote labels (#148841)
For https://github.com/microsoft/vscode-cli/issues/250

I want to show a nicer name in the remote, but we should exclude the
`categorizer+name` prefix from the authority. The "+" is a standard
authority separator we use for SSH, WSL, etc.
2022-05-05 13:13:28 -07:00
Benjamin Pasero
8030b3ac7a labels - avoid workspace folder lookup if not needed 2022-05-02 08:21:44 +02:00
Benjamin Pasero
ae8302564c Path is not ~ prefixed for editors right on startup (fix #148420) 2022-05-02 08:16:00 +02:00
Benjamin Pasero
dc664b9446 Untitled file with associated path shows full path as label (fix #148409) 2022-05-02 08:09:55 +02:00
Benjamin Pasero
32ccb9a7cc labels - also respect noPrefix flag 2022-04-28 07:23:24 +02:00
Benjamin Pasero
059abff975 More improvements to default path label (#148293)
* more fun with labels

* more label funs

* add tests

* fix tests
2022-04-27 19:22:18 +02:00
Benjamin Pasero
bbd88d1d4d 💄 2022-04-27 13:52:03 +02:00
Benjamin Pasero
0425f27e47 #135506 (#148252) 2022-04-27 13:03:47 +02:00
Benjamin Pasero
8a39cb9304 labels - make getPathLabel aware of remote OS 2022-04-26 18:09:01 +02:00
Benjamin Pasero
1e7d489c40 labels - fix regression with git labels 2022-04-25 16:25:00 +02:00
Benjamin Pasero
91140877d4 labels - normlize relative labels too 2022-04-23 09:31:08 +02:00
SteVen Batten
5ac5b967ce improve host label
update host label to use authority if no workspace suffix is provided
2022-03-15 15:44:14 -07:00
Benjamin Pasero
e9e590997e web - tweak workspace label when temporary workspace is opened 2022-02-28 13:55:02 +01:00
Benjamin Pasero
4aeb107fed 💄 2022-02-10 07:32:33 +01:00
Benjamin Pasero
bf1c9e9391 debt - untangle workspace <=> workspaces (part 1, #141154) 2022-02-07 17:30:09 +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
Johannes Rieken
e79a9c811a checkProposedApiEnabled and isProposedApiEnabled must be called with proposal name, add proposals for package.json-based API, https://github.com/microsoft/vscode/issues/131165 2021-11-12 14:46:42 +01:00
Johannes Rieken
8d3536c7f7 extract auth#session into its own proposal file, make isProposedApiEnabled and checkProposedApiEnabled more strict by forcing them to be called with undefined or a proposal name, https://github.com/microsoft/vscode/issues/131165 2021-11-12 10:03:53 +01:00
Johannes Rieken
f01a1e991d move isProposedApiEnabled and checkProposedApiEnabled-util back to workbench-layer 2021-11-10 12:02:04 +01:00
Johannes Rieken
799d82fcc3 add isProposedApiEnabled-util, move checkProposedApiEnabled-util, use utils instead of reading the enableProposedApi-property, https://github.com/microsoft/vscode/issues/129037 2021-11-09 14:13:32 +01:00
Benjamin Pasero
f66a3e06bc labels - relative path separator not used when no formatting available (#132964) 2021-09-13 17:00:15 -07:00
Benjamin Pasero
293265bf55 Relative path separator not used when no formatting available (fix #130019) 2021-08-06 09:42:48 +02:00
Kieran Black
4153751d05 Add setting to modify copy separator (#101197)
* feat: add setting to modify copy separator

This commit adds a new custom setting files.copyPathSeparator which allows the user to select a default separator for the copy absolute and relative commands.

fixes issue #56279

* add argument to enforce a certain path separator on getUriLabel

* modify all copy path flows to leverage getUriLabel separator enforcing

* adjust to copy relative path only

* 💄

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2021-07-06 09:35:28 +02:00
Martin Aeschlimann
fe850fbb57 Custom tooltip on the remote indicator. Fixes #126494 2021-06-16 17:47:57 +02:00
SteVen Batten
04d8568000 cleanup unused var 2021-04-05 14:43:06 -07:00
Logan Ramos
31fd94b660 First round of getting rid of deprecated asserts (#120125) 2021-03-29 15:48:46 -04:00
isidor
a16f5d2c4c fixes #116395 2021-02-12 18:12:02 +01:00
Benjamin Pasero
a5b078b551 debt - adopt some ? operator 2021-02-01 15:16:27 +01:00
Benjamin Pasero
e60e0eab35 Cleanup some file related unit tests (#114895)
* wip

* clean up

* more test cleanup

* cleanup more

* more cleanup
2021-01-25 11:40:37 +01:00
Benjamin Pasero
dcc1e9df99 workspaces - shuffle some code around 2021-01-22 15:43:34 +01:00
Benjamin Pasero
3f26fd17ba workspaces - some final 💄 2021-01-22 11:12:40 +01:00
Benjamin Pasero
758f66b598 workspaces - actually use workspace 2021-01-21 14:49:18 +01:00
Benjamin Pasero
dd84387f9e window - merge workspace and folderUri into one 2021-01-21 10:38:26 +01:00
Benjamin Pasero
acaed31726 workspaces - add identifier to single folder identifier 2021-01-21 09:22:50 +01:00
Benjamin Pasero
44eb775d1d further remove single workspace identifier traces 2021-01-21 08:28:47 +01:00
Benjamin Pasero
eaaf647c8c workspaces - remove ISingleFolderWorkspaceIdentifier requirement from history 2021-01-21 08:12:04 +01:00
John Murray
79cfca5aa2 fix #114416 LabelService.getUriLabel bad relative path if in root workspace (#114419)
* fix #114416 LabelService.getUriLabel bad relative path if in root workspace
First commit is just a new test to show the problem.
Second commit will be the fix.

* Push the fix for #114416
2021-01-15 10:59:21 -08:00
Jackson Kearl
a3febc5614 Potential new formatter for userdata in serverless. (#114296)
* Potential new formatter for userdata in serverless.
Fixes #114234.

* Move userData formatter to userDataInit
Allow `priority` for fomratters without authorities

* Move formatting to web.main.ts

* Remove priority
2021-01-15 10:44:34 -08:00
isidor
ff042e9fa4 fixes #114203 2021-01-15 16:50:18 +01:00
Alexandru Dima
cbb94cfb60 Revert "fixes #114203"
This reverts commit d03490f353.
2021-01-14 21:55:35 +01:00
isidor
d03490f353 fixes #114203 2021-01-14 19:59:55 +01:00