Skip to content

Commit

Permalink
Added setting for config Gauge formatter and send the settings to Gau…
Browse files Browse the repository at this point in the history
…ge server. (#1038)

* Added setting for config Gauge formatter and send the settings to Gauge server.

Signed-off-by: Jens Johansson <[email protected]>

* Added setting for config Gauge formatter and send the settings to Gauge server.

Signed-off-by: Jens Johansson <[email protected]>

* Bump @types/node from 22.10.10 to 22.13.0 (#1039)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.10.10 to 22.13.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Adding syntax highlighting (#1041)

* Adding code & default config syntax highlighting.

Signed-off-by: Jens Johansson <[email protected]>

* Adding code & default config syntax highlighting.

Signed-off-by: Jens Johansson <[email protected]>

* Adding code & default config syntax highlighting.

Signed-off-by: Jens Johansson <[email protected]>

* Adding code & default config syntax highlighting.

Signed-off-by: Jens Johansson <[email protected]>

---------

Signed-off-by: Jens Johansson <[email protected]>

* Added setting for config Gauge formatter and send the settings to Gauge server.

Signed-off-by: Jens Johansson <[email protected]>

* Added setting for config Gauge formatter and send the settings to Gauge server.

Signed-off-by: Jens Johansson <[email protected]>

---------

Signed-off-by: Jens Johansson <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
jensakejohansson and dependabot[bot] authored Feb 5, 2025
1 parent bfff728 commit 5d450ae
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "Gauge support for VScode.",
"author": "ThoughtWorks",
"license": "MIT",
"version": "0.1.7",
"version": "0.1.8",
"publisher": "getgauge",
"engines": {
"vscode": "^1.71.0"
Expand Down Expand Up @@ -348,6 +348,11 @@
"type": "string",
"default": "#228549",
"description": "Color for disabled steps."
},
"gauge.formatting.skipEmptyLineInsertions": {
"type": "boolean",
"default": false,
"description": "If true, skip adding empty lines during formatting."
}
}
},
Expand Down
5 changes: 3 additions & 2 deletions src/gaugeWorkspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ export class GaugeWorkspace extends Disposable {
diagnosticCollectionName: 'gauge',
outputChannel: this._outputChannel,
revealOutputChannelOn: RevealOutputChannelOn.Never,
synchronize: {
configurationSection: 'gauge'
},
};
clientOptions.workspaceFolder = workspace.getWorkspaceFolder(Uri.file(folder));
let languageClient = new LanguageClient('gauge', 'Gauge', serverOptions, clientOptions);
Expand Down Expand Up @@ -229,6 +232,4 @@ export class GaugeWorkspace extends Disposable {
}
});
}


}

0 comments on commit 5d450ae

Please sign in to comment.