Skip to content

Commit b8dd6a8

Browse files
authored
Release v0.3.0
Release v0.3.0
2 parents b3978df + f3fc4fb commit b8dd6a8

File tree

8 files changed

+56
-12
lines changed

8 files changed

+56
-12
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [0.3.0] - 2022-10-15
8+
9+
### Added
10+
11+
- Multi-language server support [#48](https://github.com/davelopez/galaxy-workflows-vscode/pull/48)
12+
- Basic YAML language service implementation [#50](https://github.com/davelopez/galaxy-workflows-vscode/pull/50)
13+
- Basic gxformat2 schema support for validation, documentation on hover and intellisense [#52](https://github.com/davelopez/galaxy-workflows-vscode/pull/52)
14+
715
## [0.2.0] - 2022-06-10
816

917
### Added

README.md

Lines changed: 47 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,23 @@
55
[![CI](https://github.com/davelopez/galaxy-workflows-vscode/actions/workflows/main.yml/badge.svg)](https://github.com/davelopez/galaxy-workflows-vscode/actions/workflows/main.yml)
66
[![Open in Visual Studio Code](https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20Visual%20Studio%20Code&labelColor=2c2c32&color=007acc&logoColor=007acc)](https://open.vscode.dev/davelopez/galaxy-workflows-vscode)
77

8-
VSCode extension to assist in editing [Galaxy Workflow](https://galaxyproject.org/) files while enforcing [best practices](https://planemo.readthedocs.io/en/latest/best_practices_workflows.html) for maintaining them.
8+
VSCode extension to assist in editing [Galaxy Workflow](https://galaxyproject.org/) files while enforcing [best practices](https://planemo.readthedocs.io/en/latest/best_practices_workflows.html). Use it in combination with [Planemo](https://github.com/galaxyproject/planemo) for the best experience developing and maintaining your Galaxy workflows.
99

1010
The extension can be installed either locally, or in a web context, like [github.dev](https://github.dev) or [vscode.dev](https://vscode.dev). The aim is to support the maximum number of features in both modes but the web mode may have some limitations.
1111

12-
The extension aims to focus on assist in editing [**Format 2** Galaxy Workflow](https://github.com/galaxyproject/gxformat2) files. However, the support is **currently under development**. The initial version of the extension will work with _legacy_ **Galaxy Workflow _native_** format (documents with **.ga** extension) as an experiment for legacy workflow maintainers.
12+
The extension aims to focus on assist in editing [**Format 2** Galaxy Workflow](https://github.com/galaxyproject/gxformat2) (.gxwf.yml) files. However, it will work with _legacy_ or _native_ **Galaxy Workflow** format (documents with **.ga** extension) as an experiment for legacy workflow maintainers.
1313

14-
> ⚠️ Please note the _Native_ Galaxy Workflow format (.ga) is considered internal and _legacy_. The support provided here is temporal and experimental. Please consider waiting for the `Format 2` support before using this extension.
14+
> ⚠️ Please note the _Native_ Galaxy Workflow format (.ga) is considered internal and _legacy_. The support provided here is temporal and experimental. If you are developing workflows manually use the new [**Format 2** Galaxy Workflow](https://github.com/galaxyproject/gxformat2) (.gxwf.yml).
15+
16+
If you find a bug or have an idea or suggestion that can improve your experience please create a [new issue here](https://github.com/davelopez/galaxy-workflows-vscode/issues) or comment in any of the existing ones.
1517

1618
## Quick Start
1719

1820
### Option 1: Install extension locally
1921

2022
1. Open VSCode
2123
2. Install the extension from the [marketplace](https://marketplace.visualstudio.com/items?itemName=davelopez.galaxy-workflows).
22-
3. Open any Galaxy Workflow document (.ga or .gxwf.yml) and the extension will activate.
24+
3. Open any Galaxy Workflow document (.gxwf.yml or .ga) and the extension will activate.
2325

2426
### Option 2: Use it directly in `vscode.dev` or `github.dev`
2527

@@ -47,11 +49,11 @@ Just make sure to read the [Contributing Guidelines](docs/CONTRIBUTING.md) 😉
4749

4850
The following table shows all the implemented features and the current support for each workflow format.
4951

50-
| Feature | Native Workflows (.ga) | Format 2 Workflows (gxformat2) |
52+
| Feature | Legacy Workflows (.ga) | Format 2 Workflows (.gxwf.yml) |
5153
| ------------------------------------------------------- | :--------------------: | :----------------------------: |
52-
| [Validation](#workflow-validation) | ✔️ | 🔜 |
53-
| [Documentation on Hover](#documentation-on-hover) | ✔️ | 🔜 |
54-
| [IntelliSense](#intellisense) | ✔️ | 🔜 |
54+
| [Validation](#workflow-validation) | ✔️ | ✔️ |
55+
| [Documentation on Hover](#documentation-on-hover) | ✔️ | ✔️ |
56+
| [IntelliSense](#intellisense) | ✔️ | ✔️ |
5557
| [Formatting](#formatting) | ✔️ | ✔️ |
5658
| [Custom Outline](#custom-outline) | ✔️ | ✔️ |
5759
| [Workflow Cleanup Command](#workflow-cleanup-command) | ✔️ ||
@@ -77,13 +79,25 @@ The following table shows all the implemented features and the current support f
7779

7880
You will get diagnostics for every syntax error or incorrect property value as you type so you can fix them right away.
7981

82+
#### Gxformat2 (yaml)
83+
84+
![Workflow Validation Demo](images/validation-gxformat2.gif)
85+
86+
#### Legacy (ga)
87+
8088
![Workflow Validation Demo](images/validation-native.gif)
8189

8290
[Back to Features ⬆️](#features)
8391

8492
### Documentation on Hover
8593

86-
Hover over properties to get a description of what they are and how can you use them. The documentation displayed is based on the Workflow schema annotations, if you think you need more details or something is off, please help us improve the schema [here](https://github.com/davelopez/galaxy-workflows-vscode/tree/main/workflow-languages/schemas)!
94+
Hover over properties to get a description of what they are and how can you use them. The documentation displayed is based on the Workflow schema annotations, if you think you need more details or something is off, please help us improve the schema [here](https://github.com/galaxyproject/gxformat2)!
95+
96+
#### Gxformat2 (yaml)
97+
98+
![Documentation on Hover Demo](images/doc-hover-gxformat2.gif)
99+
100+
#### Legacy (ga)
87101

88102
![Documentation on Hover Demo](images/doc-hover-native.gif)
89103

@@ -93,6 +107,12 @@ Hover over properties to get a description of what they are and how can you use
93107

94108
Get [IntelliSense](https://code.visualstudio.com/docs/editor/intellisense#:~:text=IntelliSense%20is%20a%20general%20term,%2C%20and%20%22code%20hinting.%22) suggestions depending on your cursor context. Remember that you can manually trigger the suggestions at your current cursor position using `Ctrl+Space`.
95109

110+
#### Gxformat2 (yaml)
111+
112+
![IntelliSense Demo](images/intellisense-gxformat2.gif)
113+
114+
#### Legacy (ga)
115+
96116
![IntelliSense Demo](images/intellisense-native.gif)
97117

98118
[Back to Features ⬆️](#features)
@@ -101,6 +121,12 @@ Get [IntelliSense](https://code.visualstudio.com/docs/editor/intellisense#:~:tex
101121

102122
Keep your workflow document consistently formatted. We recommend enabling your VSCode setting to `Format on Save` so you don't have to manually format after the changes.
103123

124+
#### Gxformat2 (yaml)
125+
126+
![Auto Formatting Demo](images/format-document-gxformat2.gif)
127+
128+
#### Legacy (ga)
129+
104130
![Auto Formatting Demo](images/format-document-native.gif)
105131

106132
[Back to Features ⬆️](#features)
@@ -109,13 +135,21 @@ Keep your workflow document consistently formatted. We recommend enabling your V
109135

110136
The `Custom Outline` allows you to navigate and find different parts of the Workflow faster using the Outline panel or the [Breadcrumbs](https://code.visualstudio.com/docs/editor/editingevolved#_breadcrumbs). The Outline representation has been enhanced, in comparison to the standard JSON Outline, by displaying relevant information more prominently (like using the workflow step name instead of the index on step nodes) or hiding non-essential nodes.
111137

138+
#### Gxformat2 (yaml)
139+
140+
![Custom Outline Demo](images/custom-outline-gxformat2.gif)
141+
142+
#### Legacy (ga)
143+
112144
![Custom Outline Demo](images/custom-outline-native.gif)
113145

114146
[Back to Features ⬆️](#features)
115147

116148
### Workflow Cleanup Command
117149

118-
You can clean up the non-essential properties of a workflow with this command. These properties are usually related to the display of the workflow in the editor and are not part of the workflow semantics. This command will remove those properties from the document, but you can also use the `Preview clean workflow` command, which will show you a preview of the clean workflow instead of making the changes to the original.
150+
You can clean up the non-essential properties of a (legacy .ga) workflow with this command. These properties are usually related to the display of the workflow in the editor and are not part of the workflow semantics. This command will remove those properties from the document, but you can also use the `Preview clean workflow` command, which will show you a preview of the clean workflow instead of making the changes to the original.
151+
152+
#### Legacy (ga)
119153

120154
![Cleanup Command Demo](images/clean-up-command-native.gif)
121155

@@ -125,7 +159,9 @@ You can clean up the non-essential properties of a workflow with this command. T
125159

126160
> ⚠️ This feature is experimental and is only available using a local git repository.
127161
128-
Sometimes you want to compare different revisions of the same workflow and see what has changed between them. If the workflow has been through the Galaxy editor or some of the nodes have been moved around, there can be many changes that are just cosmetical and not part of the workflow logic. In those cases, you may want to get a 'simplified' diff so you can focus on the 'real' changes. You can do so in the `Timeline` or the `File Explorer` by using `Select workflow for (clean) compare` in one revision and then `Compare with this workflow (clean)` on the other revision, this will compare both revisions using the 'clean' version of the workflow (see the clean workflow command), meaning the non-essential parts are removed from them before the comparison.
162+
Sometimes you want to compare different revisions of the same (legacy .ga) workflow and see what has changed between them. If the workflow has been through the Galaxy editor or some of the nodes have been moved around, there can be many changes that are just cosmetical and not part of the workflow logic. In those cases, you may want to get a 'simplified' diff so you can focus on the 'real' changes. You can do so in the `Timeline` or the `File Explorer` by using `Select workflow for (clean) compare` in one revision and then `Compare with this workflow (clean)` on the other revision, this will compare both revisions using the 'clean' version of the workflow (see the [Workflow Cleanup Command](#workflow-cleanup-command)), meaning the non-essential parts are removed from both documents before the comparison.
163+
164+
#### Legacy (ga)
129165

130166
![Simplified Workflow Diffs Demo](images/clean-diff-native.gif)
131167

365 KB
Loading

images/doc-hover-gxformat2.gif

401 KB
Loading
37 KB
Loading

images/intellisense-gxformat2.gif

59.1 KB
Loading

images/validation-gxformat2.gif

276 KB
Loading

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "galaxy-workflows",
33
"displayName": "Galaxy Workflows",
44
"description": "Utilities to assist in the edition of Galaxy (https://galaxyproject.org/) Workflow files.",
5-
"version": "0.2.0",
5+
"version": "0.3.0",
66
"preview": true,
77
"license": "MIT",
88
"publisher": "davelopez",

0 commit comments

Comments
 (0)