nextflow-io / nextflow-io/language-server

Blank line above process / workflow blocks

Open
#150 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

formatting
Dominant language
Java
Stars
31
Forks
8
Avg merge
1d 10h
Merged PRs (30d)
2

Description

It'd be great if the formatter enforced blank line above things like input:, output:, emit: etc.

This would be similar to having a blank line above functions and similar, it helps to visually group the different parts of the process or workflow.

Originally suggested in https://github.com/nextflow-io/training/pull/787#issuecomment-3819871638 , 'cc @vdauwera

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the formatter implementation for process and workflow blocks, then inspect how it currently handles blank lines above functions and similar constructs. The change is complete when formatting inserts a blank line above entries such as input:, output:, and emit: without disrupting existing formatting behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.