Skip to content

Build and keep a cache of installed modules for intellisense #263

Closed as not planned

Description

It would be useful if PSES would automatically cache any modules in the PSModulePath so that it could offer intellisense without needing to load the module.

Activity

  1. daviwil commented on Jul 22, 2016

    @daviwil
    Contributor

    Yeah, I'd have to find a way to do that securely, i.e. without loading the modules (and causing the .psm1 to be loaded).

  2. gerane commented on Jul 22, 2016

    @gerane
    ContributorAuthor

    Couldn't you use something like

     [System.Management.Automation.PSParser]::Tokenize()
    

    On Fri, Jul 22, 2016, 5:02 PM David Wilson [email protected] wrote:

    Yeah, I'd have to find a way to do that securely, i.e. without loading the
    modules (and causing the .psm1 to be loaded).

    —
    You are receiving this because you authored the thread.
    Reply to this email directly, view it on GitHub
    #263 (comment),
    or mute the thread
    https://github.com/notifications/unsubscribe-auth/AGWoQCgaTjMVcdCOo9VAINWuMuXXuM_Oks5qYT3fgaJpZM4JS1pl
    .

  3. daviwil commented on Jul 23, 2016

    @daviwil
    Contributor

    That'd mean I'd have to manually scan every module in the module path and parse each code file contained within. Not sure if that's an ideal way to do it. I'll ask someone in the team to see if there's a better way

  4. andyleejordan commented on Jun 15, 2026

    @andyleejordan
    Member

    Not planned — a separate module cache is incompatible with the current TabExpansion2-based completion architecture. Closing as obsolete.


    Drafted by GitHub Copilot (Claude Opus 4.8) at Andy Jordan (@andyleejordan)'s request.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions