Skip to content

Ability to ignore certain folders from CodeLens or References #3884

Closed
@PrzemyslawKlys

Description

@PrzemyslawKlys

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.

Summary

I would like to be able to ignore certain folders from being used by CodeLens, References, and so on.

During the building of my module, I often have additional folders called Releases or Artifacts where I push built modules. Sometimes it's just one version, sometimes 50 last version and this affects some things:

  1. It slows down PowerShell Features
  2. It's picked up by references
  3. Jumping to function often jumps to built code rather than to the "expected" function.

When excluded those PS1 files would be skipped and would improve general performance.

Proposed Design

Some option in JSON to exclude $PSScriptRoot\Artifacts or $PSScriptRoot\Releases

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions