Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeLens is not finding references to function names with scope qualifiers #1089

Closed
rkeithhill opened this issue Nov 4, 2017 · 1 comment · Fixed by PowerShell/PowerShellEditorServices#1990
Assignees

Comments

@rkeithhill
Copy link
Contributor

System Details

  • Operating system name and version: Windows 10 FCU
  • VS Code version: 1.17.2
  • PowerShell extension version: 1.5.0
  • Output from $PSVersionTable:
Name                           Value
----                           -----
PSVersion                      5.1.16299.19
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.16299.19
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

I'm seeing this in the PowerShell repo's build.psm1 module. It has a function declared like so function script:precheck([string]$command, [string]$missedMessage) and it says it has 0 references which I know to be not true. I believe the script: is throwing off CodeLens.

Attached Logs

Follow the instructions in the README
about capturing and sending logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants