For some reason my nextflow prettier instance in v...
# nostupidquestions
s
For some reason my nextflow prettier instance in vscode keeps actively removing harshil alignment and I cannot get it to leave it alone, has anyone else had this? and how did you fix it?
m
Same issue for everyone, this is unfortunately not working at the moment
👍 1
s
ah right, good to know
p
Note that in the Nextflow Slack (not nf-core) there's a
#vscode-extension
channel, which is probably one of the best places to get updates
@Maxime Garcia I didn't know about this, this is a problem even when it's enabled in config?
👀 1
m
@Phil Ewels isn't it the same as when we do
nextflow lint -format -sort-declarations -spaces 4 -harshil-alignment .
?
p
Yeah I guess so, VSCode settings / config should have these from memory.
CleanShot 2025-08-27 at 08.09.21@2x.png
So if Harshil Alignment is checked, it should be applying that on save / format in VSCode
Maybe I don't understand what the problem is..?
m
Yeah, then definitely not working everywhere
p
As in, support for Harshil alignment is only partial? It does some stuff but not other stuff?
In which case yes, that's known. But some parts should be working..
s
I was specifically noticing it on a process output block, I assume that's a known area it doesn't work?
p
If it's inputs and outputs then maybe this is relevant: https://github.com/nextflow-io/language-server/issues/71
You can see all of the issues tagged with
formatting
here
Feel free to make more - having multiple small issues with specific examples is more likely to get them implemented