Skip to content

Commit

Permalink
feat: support detecting VsCode in WSL (#703)
Browse files Browse the repository at this point in the history
* feat: support detecting VsCode in WSL

* reformat file

Co-authored-by: Brendan Forster <github@brendanforster.com>
  • Loading branch information
aminya and shiftkey committed Apr 27, 2022
1 parent f3e5dde commit 06fa636
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/src/lib/editors/linux.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ const editors: ILinuxExternalEditor[] = [
},
{
name: 'Visual Studio Code',
paths: ['/usr/share/code/bin/code', '/snap/bin/code', '/usr/bin/code'],
paths: [
'/usr/share/code/bin/code',
'/snap/bin/code',
'/usr/bin/code',
'/mnt/c/Program Files/Microsoft VS Code/bin/code',
],
},
{
name: 'Visual Studio Code (Insiders)',
Expand Down

0 comments on commit 06fa636

Please sign in to comment.