Closed MasaruKitajima closed 3 years ago
It seems all right, I think you can also omit the .app
suffix, maybe that fixes the problem for you?
Thank you for your advice. I omitted the .app
suffix, but nothing changed.
And even with that suffix, other applications launch or open very well including Photoshop.
@fabiospampinato First of all, I do apologize to be too late in replying to you. I've been sick in a hospital.
Well. I use an iMac, so went into "/Users/myname/.vscode/extensions/fabiospampinato.vscode-open-in-application-1.0.5." I've searched "commands.ts", but I couldn't find it. How can I change this file?
@MasaruKitajima Hope you're feeling better now! You'd have to edit the source of the extension, basically this repository. You should check some guide on how to develop extensions for visual studio code, but basically you have to:
npm i
vsce package
@fabiospampinato Thank you for the instructions. I'm facing two problems.
1.npm -i
failed. It says
run `npm audit fix` to fix them, or `npm audit` for details
And here's the result of npm audit
=== npm audit security report ===
┌──────────────────────────────────────────────────────────────────────────────┐
│ Manual Review │
│ Some vulnerabilities require your attention to resolve │
│ │
│ Visit https://go.npm.me/audit-guide for additional guidance │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Critical │ Command Injection │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ open │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ No patch available │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ open │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ open │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/663 │
└───────────────┴──────────────────────────────────────────────────────────────┘
vsce
command line tools. Would you kindly let me know how to get this?Thank you for your help!
1.
npm -i
failed. It says
It's npm i
, not npm -i
.
- I don't have
vsce
command line tools. Would you kindly let me know how to get this?
Sure, just run npm install -g vsce
.
It's
npm i
, notnpm -i
. Sure, just runnpm install -g vsce
.
Thank you for the advice. I could download the vsce. But I have no idea how to make the changes.
I found that http://schemas.openxmlformats.org/package/2006/content-types in [Content_Types].xml, but I couldn't reach this URI with any browsers.
@MasaruKitajima You should read the vscode documentation on how to develop an extension. If you want to debug this extension you should use Debug Launcher.
The name of the app is probably wrong in some kind of way, try using the underlying open
command on mac to find the right one. Perhaps you can use an absolute path to the .app file rather than it's name.
First of all, I'm really thankful for this remarkable plugin. It works almost fine.
My setting is as follows.
Among the above, only Adobe Illustrator CC 2019.app doesn't work. Do I have any misconfiguration?
Thank you for your help.