简体   繁体   English

使用Chrome Canary开启Notepad ++在Chrome中启动功能

[英]Notepad++ Launch in Chrome feature opening with Chrome Canary

I recently downloaded Chrome Canary. 我最近下载了Chrome Canary。 After doing so all of the files that I tried to "launch in Chrome", when using Notepad++, opened in Canary, as oppose to the standard version of chrome I have on my machine. 这样做之后,当我使用Notepad ++时,我尝试在Chrome中启动的所有文件都在Canary中打开,这与我在计算机上安装的chrome的标准版本相反。 In the program files directory, I found the shortcuts.xml with the following line: 在程序文件目录中,我找到带有以下行的shortcuts.xml:

<Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome &quot;$(FULL_CURRENT_PATH)&quot;</Command>

What can I change in that line for it to open with Chrome as oppose to Chrome Canary. 我需要在该行中进行哪些更改,以使其与Chrome Canary相反地在Chrome中打开。

I tried removing Canary, and this causes the Launch in Chrome feature in N++ to not work at all. 我尝试删除Canary,这导致N ++中的Chrome启动功能根本无法使用。 I've also tried reinstalling N++ after the fact and that didn't change anything. 事实上,我也尝试过重新安装N ++,但这并没有改变任何东西。

Also found this in chrome debug log: 还可以在chrome调试日志中找到此内容:

[0523/141747:ERROR:client_util.cc(293)] Could not find exported function RelaunchChromeBrowserWithNewCommandLineIfNeeded

I had the exact same problem on Notepad++, i did the following to resolve this : 我在Notepad ++上遇到了完全相同的问题,我做了以下操作来解决此问题:

  • Click "Execute" on the Notepad++ menu 在记事本++菜单上单击“执行”

You can now select a program on your computer, look for google chrome (Default : "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"). 现在,您可以在计算机上选择一个程序,查找google chrome(默认值:“ C:\\ Program Files(x86)\\ Google \\ Chrome \\ Application \\ chrome.exe”)。

  • When you're done selecting, don't execute, but press the "save" button. 选择完毕后,不要执行,而是按“保存”按钮。

Notepad will ask a Name, just type whatever you want, like "Google not canary" and assign a shortcut (you're not forced to assign a sc though). 记事本将询问一个名称,只需键入您想要的任何内容(例如“ Google not canary”)并分配一个快捷方式(不过您不必强制分配一个sc)。

  • Press "OK", you will now find the freshly created "Google not canary" in the "Execute" menu. 按“确定”,您现在将在“执行”菜单中找到刚创建的“ Google not canary”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM