Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to the Docker Language Server will be documented in this file.

## [Unreleased]

- Compose
- update schema to the latest version

## [0.19.0] - 2025-09-16

### Added
Expand Down
14 changes: 11 additions & 3 deletions internal/compose/completion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1643,6 +1643,14 @@ services:
InsertTextMode: types.CreateInsertTextModePointer(protocol.InsertTextModeAsIs),
InsertTextFormat: types.CreateInsertTextFormatPointer(protocol.InsertTextFormatSnippet),
},
{
Label: "initial_sync",
Detail: types.CreateStringPointer("boolean"),
Documentation: "Ensure that an initial synchronization is done before starting watch mode for sync+x triggers",
TextEdit: textEdit("initial_sync: ${1|true,false|}", 5, 10, 0),
InsertTextMode: types.CreateInsertTextModePointer(protocol.InsertTextModeAsIs),
InsertTextFormat: types.CreateInsertTextFormatPointer(protocol.InsertTextFormatSnippet),
},
{
Label: "path",
Detail: types.CreateStringPointer("string"),
Expand Down Expand Up @@ -4624,7 +4632,7 @@ func TestCompletion_NoResultExpected(t *testing.T) {
}
for _, entry := range fileStructure {
if entry.isDir {
require.NoError(t, os.Mkdir(filepath.Join(dir, entry.name), 0755))
require.NoError(t, os.Mkdir(filepath.Join(dir, entry.name), 0o755))
} else {
f, err := os.Create(filepath.Join(dir, entry.name))
require.NoError(t, err)
Expand Down Expand Up @@ -4758,7 +4766,7 @@ func TestCompletion_VolumeFolderListing(t *testing.T) {
}
for _, entry := range fileStructure {
if entry.isDir {
require.NoError(t, os.Mkdir(filepath.Join(dir, entry.name), 0755))
require.NoError(t, os.Mkdir(filepath.Join(dir, entry.name), 0o755))
} else {
f, err := os.Create(filepath.Join(dir, entry.name))
require.NoError(t, err)
Expand Down Expand Up @@ -5557,7 +5565,7 @@ func createFileStructure(t *testing.T) string {
}
for _, entry := range fileStructure {
if entry.isDir {
require.NoError(t, os.Mkdir(filepath.Join(dir, entry.name), 0755))
require.NoError(t, os.Mkdir(filepath.Join(dir, entry.name), 0o755))
} else {
f, err := os.Create(filepath.Join(dir, entry.name))
require.NoError(t, err)
Expand Down
Loading
Loading