Skip to content

Wildcards on activationEvents.workspaceContains? #944

Closed

Description

Is there a way to use wildcards in activationEvents.workspaceContains? i mean, could i do something like:

"activationEvents": [    
    "workspaceContains:*.config"
  ],

Activity

  1. added
    feature-request
    on Dec 11, 2015
  2. akaroml commented on Jan 18, 2017

    @akaroml
    Member

    Just want to echo this feature request. We are developing an extension that should be triggered when there are *.ino files inside the workspace. This is obviously for Arduino and its source files do not necessarily have the same file names (could be anyname.ino).
    So the wildcard support is exactly what we need.
    By the way, the activationEvents:['*'] seems like an overkill for this.

  3. DustinCampbell commented on Jan 25, 2017

    @DustinCampbell
    Member

    Yes, this is critical for C# in VS Code. We want to load on ".cs" and ".csproj" but can't do it without loading on "*". That's definitely overkill.

  4. enricosada commented on Mar 21, 2017

    @enricosada

    Same for F# support with ionide-fsharp, is needed to load on ".fs" and ".fsproj" /cc Krzysztof Cieślak (@Krzysztof-Cieslak)

  5. Krzysztof-Cieslak commented on Mar 31, 2017

    @Krzysztof-Cieslak
    Contributor

    From my point of view (and I guess similar is true for C# extension) to get really smooth startup experinace I'd need 2 things:

    1. Wildcards in activationEvents.workspaceContains
    2. activationEvents.workspaceContains checking also sub-directories not only top level folder.
  6. added a commit that references this issue on May 29, 2017
    b498ac0
  7. locked and limited conversation to collaborators on Nov 18, 2017
  8. added 2 commits that reference this issue on Sep 6, 2026
    8063936
    653c102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

apifeature-request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions