diff --git a/README.md b/README.md index ee2984f..2358424 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,8 @@ This project has the following main goals: - [Improved macros support](#improved-macros-support) - [Extract macro](#extract-macro) - [Full Galaxy tool linter integration](#document-validation) - - [Document Outline](#document-outline) _New feature!_ ✨ + - [Document Outline](#document-outline) + - [Insert param reference](#insert-param-reference) _New feature!_ ✨ # Getting Started @@ -160,3 +161,13 @@ You can select (a complete) XML element and then extract it to a local macro (di You can now see a document outline of the currently opened tool document. This is especially useful when working with large tool documents. You can navigate to the different sections of the document in a quick and convenient way. ![Demo feature document outline](../assets/feature.document.outline.gif) + +## Insert Param Reference + +Now you can use new commands to insert input parameter references into your wrapper. To insert a parameter reference in the command section, place your cursor in the desired position and then invoke the `Insert a reference to a param element.` command from the command palette (`ctrl+shift+p`) or directly use the default key binding for that command `ctrl+alt+i ctrl+alt+p`. + +![Demo feature insert param reference](../assets/feature.insert.param.ref.gif) + +In a similar way, you can also invoke a command but for inserting a param reference that can be used inside an output filter. The default key binding for that is `ctrl+alt+i ctrl+alt+f`. + +![Demo feature insert param filter](../assets/feature.insert.param.filter.png) diff --git a/client/CHANGELOG.md b/client/CHANGELOG.md index 28b1678..b21eb45 100644 --- a/client/CHANGELOG.md +++ b/client/CHANGELOG.md @@ -1,16 +1,25 @@ # Galaxy Tools (VS Code Extension) Changelog +## [0.13.0] - 2024-09-30 + +### Added + +- Add commands `Insert param reference` and `Insert param output filter` ([#264](https://github.com/galaxyproject/galaxy-language-server/pull/264)). + +### Changed + +- Updated Galaxy Language Server [v0.13.0](./server/CHANGELOG.md#0130) + ## [0.12.1] - 2024-05-18 ### Added -- Option to skip future server install confirmations ([#252](https://github.com/galaxyproject/galaxy-language-server/pull/252)). +- Option to skip future server install confirmations ([#252](https://github.com/galaxyproject/galaxy-language-server/pull/252)). ### Changed - Updated Galaxy Language Server [v0.12.1](./server/CHANGELOG.md#0121) - ## [0.12.0] - 2023-10-14 ### Added diff --git a/client/README.md b/client/README.md index 0bd8efa..9fff03f 100644 --- a/client/README.md +++ b/client/README.md @@ -36,7 +36,8 @@ Since version `0.4.0` you can use some of the cool features of [planemo](https:/ - [Improved macros support](#improved-macros-support) - [Extract macro](#extract-macro) - [Full Galaxy tool linter integration](#document-validation) - - [Document Outline](#document-outline) _New feature!_ ✨ + - [Document Outline](#document-outline) + - [Insert param reference](#insert-param-reference) _New feature!_ ✨ # Installation @@ -195,3 +196,13 @@ You can select (a complete) XML element and then extract it to a local macro (di You can now see a document outline of the currently opened tool document. This is especially useful when working with large tool documents. You can navigate to the different sections of the document in a quick and convenient way. ![Demo feature document outline](../assets/feature.document.outline.gif) + +## Insert Param Reference + +Now you can use new commands to insert input parameter references into your wrapper. To insert a parameter reference in the command section, place your cursor in the desired position and then invoke the `Insert a reference to a param element.` command from the command palette (`ctrl+shift+p`) or directly use the default key binding for that command `ctrl+alt+i ctrl+alt+p`. + +![Demo feature insert param reference](../assets/feature.insert.param.ref.gif) + +In a similar way, you can also invoke a command but for inserting a param reference that can be used inside an output filter. The default key binding for that is `ctrl+alt+i ctrl+alt+f`. + +![Demo feature insert param filter](../assets/feature.insert.param.filter.png) diff --git a/client/package-lock.json b/client/package-lock.json index 865fdfa..10ff2e4 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1,12 +1,12 @@ { "name": "galaxy-tools", - "version": "0.12.1", + "version": "0.13.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "galaxy-tools", - "version": "0.12.1", + "version": "0.13.0", "license": "Apache-2.0", "dependencies": { "iconv-lite": "^0.6.3", @@ -2154,13 +2154,14 @@ } }, "node_modules/micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, + "license": "MIT", "dependencies": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" + "braces": "^3.0.3", + "picomatch": "^2.3.1" }, "engines": { "node": ">=8.6" @@ -2519,10 +2520,11 @@ "dev": true }, "node_modules/picomatch": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", - "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8.6" }, @@ -5071,13 +5073,13 @@ "dev": true }, "micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "requires": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" + "braces": "^3.0.3", + "picomatch": "^2.3.1" } }, "mime-db": { @@ -5345,9 +5347,9 @@ "dev": true }, "picomatch": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", - "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, "pkg-dir": { diff --git a/client/package.json b/client/package.json index fd5ea1e..85e2830 100644 --- a/client/package.json +++ b/client/package.json @@ -5,7 +5,7 @@ "author": "davelopez", "publisher": "davelopez", "license": "Apache-2.0", - "version": "0.12.1", + "version": "0.13.0", "preview": true, "repository": { "type": "git", diff --git a/client/src/constants.ts b/client/src/constants.ts index 83bc2b8..3be0981 100644 --- a/client/src/constants.ts +++ b/client/src/constants.ts @@ -3,7 +3,7 @@ export namespace Constants { export const LS_VENV_NAME = "glsenv"; export const GALAXY_LS_PACKAGE = "galaxy-language-server"; export const GALAXY_LS = "galaxyls"; - export const GALAXY_LS_VERSION = "0.12.1"; + export const GALAXY_LS_VERSION = "0.13.0"; export const LANGUAGE_ID = "galaxytool"; export const TOOL_DOCUMENT_EXTENSION = "xml"; diff --git a/server/CHANGELOG.md b/server/CHANGELOG.md index 0ed65bd..e01a812 100644 --- a/server/CHANGELOG.md +++ b/server/CHANGELOG.md @@ -1,12 +1,21 @@ # Galaxy Language Server Changelog +## [0.13.0] - 2024-09-30 + +### Added + +- Add commands `Insert param reference` and `Insert param output filter` ([#264](https://github.com/galaxyproject/galaxy-language-server/pull/264)). + +### Changed + +- Update server dependencies + improve development experience ([#257](https://github.com/galaxyproject/galaxy-language-server/pull/257)). + ## [0.12.1] - 2024-05-18 ### Changed - Update internal dependencies to support new Galaxy (24.0.2) XSD definitions. - ## [0.12.0] - 2023-10-14 ### Added diff --git a/server/galaxyls/version.py b/server/galaxyls/version.py index 2636802..9df1766 100644 --- a/server/galaxyls/version.py +++ b/server/galaxyls/version.py @@ -1 +1 @@ -GLS_VERSION = "0.12.1" +GLS_VERSION = "0.13.0"