You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugIssue identified by VS Code Team member as probable buggood first issueIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunitiesinstall-updateVS Code installation and upgrade system issuesmacosIssues with VS Code on MAC/OS XverifiedVerification succeeded
If you search in the Help menu, it will show you general Mac help topics:
None of these are from Code, but could be confused with Code-specific help, especially for certain search terms. Is it possible to disable this feature?
TL;DR: This is blocked and needs to be flagged 'upstream'
The build process for VS Code uses the plugin 'gulp-atom-electron', which unfortunately doesn't expose the ability to alter the Info.plist. See here
Once the upstream plugin has been patched, it will be trivial to fix this issue. roblourens already found the answer; simply adding the keys <key>CFBundleHelpBookFolder</key> <string>SurfWriter.Help</string> <key>CFBundleHelpBookName</key> <string>com.mycompany.surfwriter.help</string> to the info.plist removes the macOS help suggestions.
The author of 'gulp-atom-electron', João Moreno (@joaomoreno) is in this thread, so if I am wrong, please correct me!
Until then though, I move to mark this as blocked/upstream and I will move on to something else. Boy was it fun tracking this down though!
Surfwriter specifically isn't necessary (Not quite sure what the best value is, but I feel that creating a useful Help Book is a Story in and of itself!).
I have attached a screen shot showing that even garbage values for the keys 'CFBundleHelperBookFolder' and 'CFBundleHelpBookName' produce the desired results, fulfilling this issue's requirements. I'm sure we want something other than garbage values though! Most likely, to point towards an empty HelpBook file in the VSCode src, then another story can be made to fill that with useful info.
I'll be sure to take a look at gulp-atom-electron this weekend!
bugIssue identified by VS Code Team member as probable buggood first issueIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunitiesinstall-updateVS Code installation and upgrade system issuesmacosIssues with VS Code on MAC/OS XverifiedVerification succeeded
Activity
bpasero commentedon Jan 18, 2017
roblourens please report against electron.
roblourens commentedon Jan 18, 2017
electron/electron#8431
roblourens commentedon Jan 25, 2017
Response:
It looks like this can be configured in the info.plist file in an app's package. Not sure where that happens in our build.
bpasero commentedon Jan 26, 2017
João Moreno (@joaomoreno) might know if we can add this to our plist
8 remaining items
shnaramn commentedon Apr 26, 2017
I would like to contribute. But I'm relatively new to OSS/git/VSCode. I might take some time/need help, but can I try fixing this?
joaomoreno commentedon Apr 27, 2017
Sure.
JeremyLoy commentedon May 11, 2017
Found the root cause of the issue.
TL;DR: This is blocked and needs to be flagged 'upstream'
The build process for VS Code uses the plugin 'gulp-atom-electron', which unfortunately doesn't expose the ability to alter the Info.plist. See here
Once the upstream plugin has been patched, it will be trivial to fix this issue.
roblourens already found the answer; simply adding the keys
<key>CFBundleHelpBookFolder</key> <string>SurfWriter.Help</string> <key>CFBundleHelpBookName</key> <string>com.mycompany.surfwriter.help</string>to the info.plist removes the macOS help suggestions.The author of 'gulp-atom-electron', João Moreno (@joaomoreno) is in this thread, so if I am wrong, please correct me!
Until then though, I move to mark this as blocked/upstream and I will move on to something else. Boy was it fun tracking this down though!
joaomoreno commentedon May 12, 2017
Not so sure about that fix... Those keys seem too specific to the SurfWriter application.
But don't be afraid of creating a PR for
gulp-atom-electron!JeremyLoy commentedon May 12, 2017
Surfwriter specifically isn't necessary (Not quite sure what the best value is, but I feel that creating a useful Help Book is a Story in and of itself!).
I have attached a screen shot showing that even garbage values for the keys 'CFBundleHelperBookFolder' and 'CFBundleHelpBookName' produce the desired results, fulfilling this issue's requirements. I'm sure we want something other than garbage values though! Most likely, to point towards an empty HelpBook file in the VSCode src, then another story can be made to fill that with useful info.
I'll be sure to take a look at
gulp-atom-electronthis weekend!joaomoreno commentedon Jun 13, 2017
Jeremy Loy (@JeremyLoy) What values should we put to disable the menu?