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 genome
becomes
params.index_ref = null
// Path to index reference genome
Additionally, 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": true
I have tried toggling each of these settings and they do not appear to stop the commented lines from disappearing on saving.
Thank you!
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,
becomes
Additionally, 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:
I have tried toggling each of these settings and they do not appear to stop the commented lines from disappearing on saving.
Thank you!