Jackson Kearl
138e255728
Clean up multi root labels ( #102051 )
...
* Change labels of URI's in multi-root workspaces to be
[RootName] • [Path From RootPaath to File]
rather than
[RootName] • [basename RootPath]/[Path From RootPath to File]
in cases where the root has an explicit name and
[RootName] • [Path From RootName to File]
in cases where the root's name is defaulted to basename
* Fixup cases where context added after path.
(073398241b )
* Remove unused
* Additional test case
2020-07-10 10:44:17 -07:00
Eric Amodio
073398241b
Fixes label formatting w/ context added after path
...
For example:
"formatting": {
"label": "github.com${path} (${authority})",
"separator": "/",
"workspaceSuffix": "GitHub"
}
2020-06-10 01:46:17 -04:00
Matt Bierner
cadabab73f
Mark _serviceBrand properties using declare ( #99312 )
...
_serviceBrand is only used for typing and should not result in emit
Also adds readonly
2020-06-05 11:04:15 -07:00
Benjamin Pasero
13fe219fbf
debt - remote path => path service
2020-04-15 10:57:35 +02:00
Benjamin Pasero
8d53e233d8
debt - adopt remote path user home
2020-04-15 10:45:37 +02:00
isidor
05188623f1
do not use envService.userHome
...
#94506
2020-04-06 16:36:05 +02:00
Benjamin Pasero
9f1aa3c9fe
debt - remove node pieces from environment ( #82598 )
2020-04-06 09:12:41 +02:00
Benjamin Pasero
3f0e5b4ab0
debt - adopt more ES6 things
2020-03-30 14:04:52 +02:00
Benjamin Pasero
1811122d95
tests - stop using import export
2020-03-09 10:53:01 +01:00
Benjamin Pasero
f2502971b5
labels - handle file service changes better ( fix #91833 )
2020-03-02 11:06:59 +01:00
Benjamin Pasero
4f4e26aec8
debt - move tests to correct layers
2020-02-04 18:52:54 +01:00
Martin Aeschlimann
5de104f81a
labels: authority is case-insensitive
2019-11-26 17:32:52 +01:00
Benjamin Pasero
aab2b1bd37
web - do not show untitled workspaces in history
2019-10-23 09:32:11 +02:00
isidor
590a059505
fixes #82821
2019-10-22 16:29:58 +02:00
isidor
a5a8a28953
label service: workspace suffix has to be explicitly set
2019-09-03 16:15:44 +02:00
Johannes Rieken
dedf0de944
change type of _serviceBrand from any to undefined, #79918
2019-08-30 15:40:46 +02:00
Benjamin Pasero
b8728661c4
labels - restore original functionality of getUriBasenameLabel()
2019-08-24 16:40:33 +02:00
Your Name
17807fa5bf
fix tests
2019-08-24 08:35:01 +02:00
Johannes Rieken
00d4b4817a
re-enable all tests
2019-08-23 14:07:45 +02:00
isidor
b9ccfc4b3f
labelService: getUriBasenameLabel
2019-08-23 12:17:49 +02:00
Eric Amodio
716788a904
Renames ${qs} to ${query}
2019-07-30 10:40:48 -04:00
Eric Amodio
f8945bf777
Fixes #68201 - adds qs.* label formatting tokens
2019-07-22 21:25:15 -04:00
Martin Aeschlimann
e18181e5fb
Cannot read property 'length' of undefined in toWorkspaceIdentifier
2019-04-17 11:39:10 +02:00
Martin Aeschlimann
83d8f282e0
labelService: handle workspace paths without .code-workspace extension
2019-04-01 15:52:45 +02:00
Martin Aeschlimann
b79b471f42
square brackets for workspace suffix
2019-03-11 13:30:58 +01:00
Benjamin Pasero
5f407914d6
debt - declarative label service
2019-03-08 11:07:56 +01:00
Martin Aeschlimann
f6b8a27444
workspaceSuffux also for workspace label
2019-02-24 19:45:49 +01:00
Alex Dima
d73fdb0593
Remove support for non-dynamic extension points entirely ( #68603 )
2019-02-21 13:19:42 +01:00
isidor
835458245d
labelService: register formatters via API. Also expose getSeperator
2019-02-21 10:01:52 +01:00
Benjamin Pasero
622b3d62dd
paths - paths.node.ts => path.ts
2019-02-12 20:36:23 +01:00
SteVen Batten
5ebd625b40
use new path implementation ( #68538 )
...
* adopt paths.node over path
* fix strict null
* remove hacky typing inlabel.test.ts
2019-02-12 20:14:50 +01:00
Martin Aeschlimann
08705a1b10
dirname can not return null
2019-02-12 17:18:07 +01:00
Benjamin Pasero
f63494e93c
debt - clean up sep/nativeSep
2019-02-12 15:19:44 +01:00
Martin Aeschlimann
d77d7d29d8
workspaceHome -> untitledWorkspacesHome, is URI
2019-02-11 15:25:38 +01:00
Alex Ross
641adcca86
Fix strict null from dialog change
2019-02-08 13:57:15 +01:00
Alex Ross
04271d1091
Add alternate dialog
2019-02-08 12:33:03 +01:00
Martin Aeschlimann
b5b21eada0
allow remote workspaces
2019-01-25 17:04:03 +01:00
isidor
442cf886ac
fix strict null check
2019-01-18 23:54:59 +01:00
isidor
8c06c890a3
onDidRegisterFormatter -> onDidChangeFormatters
2019-01-18 17:12:14 +01:00
isidor
d9285bd3c5
make resourceLabelFormatters dynamic #66574
2019-01-18 17:10:38 +01:00
isidor
f20fb4e7c9
fix formatter finding
2019-01-18 15:19:23 +01:00
isidor
39bb8bb17d
label service: more tests
2019-01-18 13:46:49 +01:00
isidor
b1eb540216
fix strict null errors
2019-01-18 13:38:25 +01:00
isidor
76bfcb0f81
label: introduce ResourceLabelFormattersHandler
2019-01-17 18:32:11 +01:00
isidor
7bd16e21c8
label service new structure for formatters
2019-01-17 18:04:37 +01:00
isidor
6c434922c6
Merge branch 'master' into isidorn/contributes-labels
2019-01-17 17:20:33 +01:00
isidor
ff9f7cfbfe
minor fix for root labels
2019-01-11 15:57:38 +01:00
isidor
a4d861e2c1
do not show authority for workspace labels
2019-01-11 15:30:23 +01:00
isidor
498b0d3b38
simplify onDidRegisterFormatter event, it should be void
2019-01-10 17:37:59 +01:00
isidor
362a7b152c
labelService: allow extensions to contribute label formatting rules
...
fixes #66209
2019-01-10 17:23:10 +01:00