Skip to content

Commit c0a0f51

Browse files
authored
Merge pull request #254 from galaxyproject/prepare_patch_0.12.1
Prepare patch 0.12.1
2 parents 14d8d61 + 38f69a0 commit c0a0f51

File tree

19 files changed

+55
-28
lines changed

19 files changed

+55
-28
lines changed

.github/workflows/client-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build:
1010
strategy:
1111
matrix:
12-
os: [ubuntu-latest, windows-latest]
12+
os: [ubuntu-latest]
1313
python-version: ["3.8", "3.11"]
1414
runs-on: ${{ matrix.os }}
1515
defaults:

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ This project has the following main goals:
4040
- [Improved macros support](#improved-macros-support)
4141
- [Extract macro](#extract-macro)
4242
- [Full Galaxy tool linter integration](#document-validation)
43+
- [Document Outline](#document-outline) _New feature!_
4344

4445
# Getting Started
4546

@@ -153,3 +154,9 @@ There are also a lot of features around macros auto-completion. You can now navi
153154
You can select (a complete) XML element and then extract it to a local macro (directly in the tool wrapper) or into an external macro file. If there are several imported macro files, you can choose where to put them or if there is no imported file it will be created and imported directly.
154155

155156
![Demo feature expanded macros](../assets/feature.extract.macro.gif)
157+
158+
## Document Outline
159+
160+
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.
161+
162+
![Demo feature document outline](../assets/feature.document.outline.gif)

client/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Galaxy Tools (VS Code Extension) Changelog
22

3+
## [0.12.1] - 2024-05-18
4+
5+
### Added
6+
7+
- Option to skip future server install confirmations ([#252](https://github.com/galaxyproject/galaxy-language-server/pull/252)).
8+
9+
### Changed
10+
11+
- Updated Galaxy Language Server [v0.12.1](./server/CHANGELOG.md#0121)
12+
13+
314
## [0.12.0] - 2023-10-14
415

516
### Added

client/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "davelopez",
66
"publisher": "davelopez",
77
"license": "Apache-2.0",
8-
"version": "0.12.0",
8+
"version": "0.12.1",
99
"preview": true,
1010
"repository": {
1111
"type": "git",

client/src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export namespace Constants {
33
export const LS_VENV_NAME = "glsenv";
44
export const GALAXY_LS_PACKAGE = "galaxy-language-server";
55
export const GALAXY_LS = "galaxyls";
6-
export const GALAXY_LS_VERSION = "0.12.0";
6+
export const GALAXY_LS_VERSION = "0.12.1";
77
export const LANGUAGE_ID = "galaxytool";
88
export const TOOL_DOCUMENT_EXTENSION = "xml";
99

server/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Galaxy Language Server Changelog
22

3+
## [0.12.1] - 2024-05-18
4+
5+
### Changed
6+
7+
- Update internal dependencies to support new Galaxy (24.0.2) XSD definitions.
8+
9+
310
## [0.12.0] - 2023-10-14
411

512
### Added

server/galaxyls/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""This module contains definitions for constants used by the Galaxy Tools Language Server."""
2+
23
from lsprotocol.types import (
34
Position,
45
Range,

server/galaxyls/server.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Galaxy Tools Language Server implementation
22
"""
3+
34
from typing import (
45
List,
56
Optional,
@@ -280,7 +281,7 @@ def generate_expanded_command(server: GalaxyToolsLanguageServer, parameters: Com
280281
document = server.workspace.get_document(params.uri)
281282
if document and DocumentValidator.is_tool_document(document):
282283
return server.service.macro_expander.generate_expanded_from(document.path)
283-
return GeneratedExpandedDocument(error_message=f"The document {document.filename} is not a valid Galaxy Tool wrapper.")
284+
return GeneratedExpandedDocument(errorMessage=f"The document {document.filename} is not a valid Galaxy Tool wrapper.")
284285

285286

286287
@language_server.command(Commands.DISCOVER_TESTS_IN_WORKSPACE)

server/galaxyls/services/tools/document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Optional,
77
)
88

9-
from anytree import find
9+
from anytree import find # type: ignore
1010
from lsprotocol.types import (
1111
Position,
1212
Range,

0 commit comments

Comments
 (0)