Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Integrate in Windows Shell menu #21

Open
hkusulja opened this issue Apr 28, 2018 · 9 comments
Open

Integrate in Windows Shell menu #21

hkusulja opened this issue Apr 28, 2018 · 9 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@hkusulja
Copy link

How to integrate this Notepad++ version/edition within Windows Shell menu on (any) file type?

Tx

@jakevis jakevis self-assigned this Apr 28, 2018
@jakevis jakevis added the enhancement New feature or request label Apr 28, 2018
@jakevis
Copy link
Member

jakevis commented Apr 28, 2018

Ill need to investigate this one a little more. I am not 100% sure its possible when publishing using centennial.

@jakevis
Copy link
Member

jakevis commented May 9, 2018

Sorry I cant do this with centennial.. or I cant work out how to do it.
I am unable to write to the correct component of the registry to add it, and I cant use the local registry.dat either (it only handles HKLM\Software, and HKCU is copy-on-write)..

It might be possible to do this via the manifest.. but I cant see the right values.
I did get #20 working though, so you could add the context yourself, using "notepad++.exe" in the call.

@jakevis jakevis added the help wanted Extra attention is needed label May 9, 2018
@neilt6
Copy link

neilt6 commented Jul 26, 2018

You can add options to the context menus of associated file types via the manifest, but in my experience they only show up if your app is set as the default app for the selected file type.

@jakevis
Copy link
Member

jakevis commented Jul 26, 2018

@neilt6 not a bad idea - edit with might be a good suported for our listed supported types anyway.

@hkusulja
Copy link
Author

bump. Any info / progress on this?

@jakevis
Copy link
Member

jakevis commented Nov 20, 2018

@hkusulja unfortunately it doesn't seem possible outside of the "supported types". I can add an extra menu item to "edit in" those supported types, but you can already do that via open with.

Locally - you can add it yourself via a reg key and linking to notepad++ (notepad++ is registered with the command line).

If you need more file types supported - just list them here: #22

@jakevis
Copy link
Member

jakevis commented Nov 20, 2018

that said … id someone happens to find a way to do this... I am totally happy to take a pull request (or a diff, or snippet, or gist.. whatever works)

jakevis added a commit that referenced this issue Nov 28, 2018
jakevis added a commit that referenced this issue Nov 28, 2018
Fixing manifest build issue #21
jakevis added a commit that referenced this issue Nov 28, 2018
adding -l parameter for #21
jakevis added a commit that referenced this issue Nov 28, 2018
jakevis added a commit that referenced this issue Nov 28, 2018
jakevis added a commit that referenced this issue Nov 28, 2018
Some more tweaks for #21
@jakevis
Copy link
Member

jakevis commented Nov 28, 2018

So I went through the (some what lacking) doco again on thei @hkusulja - and added this to the manifest
..snip...

      <uap3:Extension Category="windows.fileTypeAssociation">
        <uap3:FileTypeAssociation Name="notepad" MultiSelectModel="Player">
				  <uap2:SupportedVerbs>
						<uap3:Verb Id="notepad" MultiSelectModel="Player">Notepad++</uap3:Verb>
					</uap2:SupportedVerbs>
					<uap:SupportedFileTypes>
						<uap:FileType>.txt</uap:FileType>
						<uap:FileType>.log</uap:FileType

....snip...

Right now they arn't showing up on my system.. but I am on an insider build and have a few other things going on... I can only hope this works, if not, ill see about creating a script to otherwise register something in the registry outside of the UWP install (since notepad++ does work from cmd), for those how require this feature..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants