Skip to content

Commit

Permalink
Add support for detecting PhpStorm editor (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
PadowYT2 authored and shiftkey committed Feb 17, 2023
1 parent a19d956 commit 22d6468
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions app/src/lib/editors/linux.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,34 @@ const editors: ILinuxExternalEditor[] = [
name: 'Emacs',
paths: ['/snap/bin/emacs', '/usr/local/bin/emacs', '/usr/bin/emacs'],
},
{
name: 'Kate',
paths: ['/usr/bin/kate'],
},
{
name: 'GEdit',
paths: ['/usr/bin/gedit'],
},
{
name: 'GNOME Text Editor',
paths: ['/usr/bin/gnome-text-editor'],
},
{
name: 'GNOME Builder',
paths: ['/usr/bin/gnome-builder'],
},
{
name: 'Notepadqq',
paths: ['/usr/bin/notepadqq'],
},
{
name: 'Geany',
paths: ['/usr/bin/geany'],
},
{
name: 'Mousepad',
paths: ['/usr/bin/mousepad'],
},
]

async function getAvailablePath(paths: string[]): Promise<string | null> {
Expand Down

0 comments on commit 22d6468

Please sign in to comment.