Skip to content

Enable "go to filepath" on paths without .nf extension #7

Description

@samuell

Right now, if include paths are not including the .nf part in the file paths, like this:

include { FASTQC                            } from '../modules/nf-core/fastqc/main'
include { MULTIQC                           } from '../modules/nf-core/multiqc/main'
include { VSEARCH_CLUSTER                   } from '../modules/nf-core/vsearch/cluster/main'
include { FASTA_NEWICK_EPANG_GAPPA          } from '../subworkflows/nf-core/fasta_newick_epang_gappa/main'

... it is not possible to use the built in "go to filepath" (g-f) when the cursor is on one of those paths.

Instead one gets an error like:

E447: Can't find file "../modules/nf-core/fastqc/main" in path

It would be useful if the extension could check for the same path with .nf appended if the path does not exist.

Related issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions