Skip to content

Integrate with the Windows 11 Context Menu #127365

Closed

Description

@xandfis

The new Windows 11 context menu uses IExplorerCommand + app identity for app integration. Identity is established for unpackaged Win32 like VS Code using Sparse Manifests.

A sample can be found here: https://github.com/microsoft/AppModelSamples/tree/master/Samples/SparsePackages

The context menu extension is useful for a few key reasons:

  1. File Type associations don't work with extensionless files
  2. A context menu verb is the only way to open a whole folder of files in VS Code
  3. File Type Associations can be an extra set of steps when opening a file is a one-off action

image

Activity

  1. added
    install-update
    windows
    bug
    on Jun 28, 2021
  2. sbatten commented on Jun 28, 2021

    @sbatten
    Member

    João Moreno (@joaomoreno) need to test myself but this seems to be effectively a bug if this feature is broken in win11

  3. xandfis commented on Jun 28, 2021

    @xandfis
    Author

    SteVen Batten (@sbatten) Is there a way to convert this to a bug from a feature ask, or should I file a new one?

  4. sbatten commented on Jun 28, 2021

    @sbatten
    Member

    I have add the bug label

  5. isidorn commented on Jun 29, 2021

    @isidorn

    SteVen Batten (@sbatten) I have talked to Xander Fiss (@xandfis) over teams, feel free to ping me for more details if needed.

  6. joaomoreno commented on Jun 29, 2021

    @joaomoreno
    Contributor

    João Moreno (@joaomoreno) need to test myself but this seems to be effectively a bug if this feature is broken in win11

    Yup, definitely a bug on Windows if that's the case.

  7. Bramgus12 commented on Jun 29, 2021

    @Bramgus12

    Its actually still in the context menu, but you have to click on show more options. This will show the old windows 10 context menu. But I think it would still be better if it is on the first page next to windows terminal.

  8. sbatten commented on Jun 29, 2021

    @sbatten
    Member

    João Moreno (@joaomoreno) i think its not necessarily a bug in Windows but a change in API if I understand OP correctly. I'll ping Isidor Nikolic (@isidorn) for more info.

  9. isidorn commented on Jun 29, 2021

    @isidorn

    Let's first wait for this change to be done #127075
    And then double check the Win11 experience after the default vscode install (associated to file types)

  10. dstrome commented on Jun 29, 2021

    @dstrome

    Isidor Nikolic (@isidorn) Why does this need to be dependent on #127075? That work isn't scheduled until August and is just fit and finish. This issue is significantly impacting my work flow. It may not seem like much but I use this option with extreme frequency. Please reconsider.

  11. joaomoreno commented on Jun 29, 2021

    @joaomoreno
    Contributor

    significantly impacting my work flow

    Nothing about Windows 11 should significantly impact anyone's workflow today. The fact that you're on Windows 11 means you enrolled in the Insider program, Dev channel. Please have patience.

  12. 131 remaining items

  13. joaomoreno commented on Oct 24, 2022

    @joaomoreno
    Contributor

    Insiders

    This is now available in VS Code Insiders. In order to use it, please make sure to manually reinstall
    VS Code Insiders and choose the correct option in the Setup dialog.

    image

    Stable

    This will only be available in VS Code once we're confident of the changes, no earlier than the January milestone.

  14. isaumya commented on Oct 24, 2022

    @isaumya

    Hi J. Diego Rodríguez Royo (@Diegorro98),
    Yah! It's not just the insider, even the sable VS Code has the same thing. If you install it from MS Store you won't see the option for context menu addition. I have already made this mistake and then I basically uninstalled the MS Store version and downloaded from the website. Then you will see the installation guide along with all the options. So, basically don't install VS Code from MS Store.

  15. added
    feature-request
    workbench-os-integration
    and removed
    bug
    on Oct 24, 2022
  16. peterdickx commented on Nov 22, 2022

    @peterdickx

    Hi J. Diego Rodríguez Royo (@Diegorro98), Yah! It's not just the insider, even the sable VS Code has the same thing. If you install it from MS Store you won't see the option for context menu addition. I have already made this mistake and then I basically uninstalled the MS Store version and downloaded from the website. Then you will see the installation guide along with all the options. So, basically don't install VS Code from MS Store.

    It doesn't seem to work for directories, only for files?

  17. dj-fiorex commented on Nov 27, 2022

    @dj-fiorex

    I can confirm that this is working only for files
    VsCode Insiders v.1.74

  18. llatpic commented on Nov 27, 2022

    @llatpic

    I can confirm that this is working only for files VsCode Insiders v.1.74

    Today it started working again on folders after some weeks. It worked before just day one on installation. ¯_(ツ)_/¯

  19. marawannwh commented on Nov 30, 2022

    @marawannwh

    I installed it a few days ago (not from the store), and it doesn't work with folders unless I use "show more options". Am I missing something?

  20. llatpic commented on Dec 6, 2022

    @llatpic

    I can confirm that this is working only for files VsCode Insiders v.1.74

    Today it started working again on folders after some weeks. It worked before just day one on installation. ¯_(ツ)_/¯

    Since a couple of days ago the Insiders context menu it is gone again. I do not know why.

  21. edwardlee4948 commented on Dec 8, 2022

    @edwardlee4948

    How come VsCode Insider v 1.74.0 works but VsCode Stable v 1.74.0?

  22. NinelieZ commented on Dec 11, 2022

    @NinelieZ

    We have resolved this issue and with the latest VS Code insiders this problem is now fixed. In order to have the VS Code entry in the context menu a reinstall is required so you can choose the right option in the installer.

    It should be available in the December / January VS Code stable. We need this work to be in VS Code Insiders for a couple of milestones to build confidence. Thanks for understanding

    Do try it out in Insiders and let us know. Thanks a lot!

    Anyway to do this manually? (As I'm using vscode in portable mode (:з」∠) )

  23. locked and limited conversation to collaborators on Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestinsiders-releasedinstall-updateon-testplanwindowswindows 11workbench-os-integration

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions