-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
formattingRelated to automatic code formattingRelated to automatic code formatting
Description
Hello!
Similar to this issue which was previously reported and resolved, upon saving my file, in-line comments to the right of scripts are moved below the line to which they reference. For example,
params.index_ref = null // Path to index reference genomebecomes
params.index_ref = null
// Path to index reference genomeAdditionally, if the last line of the workflow is commented out, upon saving, that line and all other commented lines below the bottommost uncommented line will be deleted. So for example,
workflow {
fastq_files_ch = Channel.fromFilePairs(params.fastq_inputs)
fastq_files_ch.view()
// PROCESS_1(fastq_files_ch)
// new_ch = PROCESS_1.out
// PROCESS_2(new_ch)
}after saving, becomes:
workflow {
fastq_files_ch = Channel.fromFilePairs(params.fastq_inputs)
fastq_files_ch.view()
}I am using the Nextflow language support extension Version 1.5.0 released 17 Jun 2025.
My user settings are:
"files.trimTrailingWhitespace": false,
"nextflow.debug": true,
"nextflow.completion.extended": true,
"nextflow.formatting.harshilAlignment": trueI have tried toggling each of these settings and they do not appear to stop the commented lines from disappearing on saving.
Thank you!
gerbeldo, fellen31, aadali, Joshua-Hager, raymond-u and 1 more
Metadata
Metadata
Assignees
Labels
formattingRelated to automatic code formattingRelated to automatic code formatting