Skip to content

Commit b53eaad

Browse files
authored
Merge pull request #164 from docker/update-compose-schema
Update to the latest Compose schema
2 parents 0fd39da + 431876a commit b53eaad

File tree

5 files changed

+1114
-320
lines changed

5 files changed

+1114
-320
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ All notable changes to the Docker Language Server will be documented in this fil
77
### Added
88

99
- Compose
10+
- updated Compose schema to the latest version
1011
- textDocument/completion
1112
- improve code completion by automatically including required attributes in completion items ([#155](https://github.com/docker/docker-language-server/issues/155))
1213
- textDocument/inlayHint

e2e-tests/hover_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func TestHover(t *testing.T) {
9898
result: &protocol.Hover{
9999
Contents: protocol.MarkupContent{
100100
Kind: protocol.MarkupKindPlainText,
101-
Value: "declared for backward compatibility, ignored.",
101+
Value: "declared for backward compatibility, ignored. Please remove it.",
102102
},
103103
},
104104
},

internal/compose/completion_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ configs:
670670
Items: []protocol.CompletionItem{
671671
{
672672
Label: "configs",
673-
Documentation: "Configurations for services in the project",
673+
Documentation: "Configurations that are shared among multiple services.",
674674
},
675675
{
676676
Label: "include",
@@ -682,23 +682,23 @@ configs:
682682
},
683683
{
684684
Label: "networks",
685-
Documentation: "Networks that are shared among multiple services",
685+
Documentation: "Networks that are shared among multiple services.",
686686
},
687687
{
688688
Label: "secrets",
689-
Documentation: "Secrets that are shared among multiple services",
689+
Documentation: "Secrets that are shared among multiple services.",
690690
},
691691
{
692692
Label: "services",
693-
Documentation: "The services in your project",
693+
Documentation: "The services that will be used by your application.",
694694
},
695695
{
696696
Label: "version",
697-
Documentation: "declared for backward compatibility, ignored.",
697+
Documentation: "declared for backward compatibility, ignored. Please remove it.",
698698
},
699699
{
700700
Label: "volumes",
701-
Documentation: "Named volumes that are shared among multiple services",
701+
Documentation: "Named volumes that are shared among multiple services.",
702702
},
703703
},
704704
},

0 commit comments

Comments
 (0)