Skip to content

Commit

Permalink
Change resourceLangId to editorLangId so right-click works properly w…
Browse files Browse the repository at this point in the history
…ith unsaved files (#1475)

Right Click will now work with a unsaved file, or a file with non-standard PowerShell extension that is manually set to PowerShell Language
  • Loading branch information
corbob authored and rjmholt committed Aug 10, 2018
1 parent 7892603 commit 9d04a64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,12 @@
"menus": {
"editor/context": [
{
"when": "resourceLangId == powershell",
"when": "editorLangId == powershell",
"command": "PowerShell.RunSelection",
"group": "2_powershell"
},
{
"when": "resourceLangId == powershell",
"when": "editorLangId == powershell",
"command": "PowerShell.OnlineHelp",
"group": "2_powershell"
}
Expand Down

0 comments on commit 9d04a64

Please sign in to comment.