PowerShell / PowerShell/vscode-powershell

Intellisense does not show module-private functions

Abierto
#104 17 comentarios 1 reacción 1 asignado Ver en GitHub

@daviwil ya está trabajando en esto.

Desde el 1/3/2016.

Area-IntelliSense Issue-Enhancement
Lenguaje dominante
TypeScript
Estrellas
1.9k
Forks
548
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Inside of my script modules I don't use the naming convention "verb-noun" for the functions which are private and are used only inside the modules and therefore I don't expose. Tipically I put these functions in a nested module.

Intellisense is unable to suggest these functions if I try to call them from the parent module or others nested modules, also Peek Definition and Find All Reference don't give me any results.
Instead Peek Definition and Fin All Reference work properly if I'm in the module where the function is defined, while Intellisens works partially, it suggest me the funtion but don't show the extendend information.

If the functions follow the "verb-noun" naming convention Intellisense, Peek Definition and Find All Reference work fine, no matter where they are defined and where I try to call them

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.