Skip to content

Commit 56f515f

Browse files
committed
Jetbrains & Netbeans integration
added support for Jetbrains IDEs and Netbeans as options in external editor integrations
1 parent 9f56de2 commit 56f515f

File tree

3 files changed

+67
-1
lines changed

3 files changed

+67
-1
lines changed

app/src/lib/editors/darwin.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ const editors: IDarwinExternalEditor[] = [
103103
'com.sublimetext.2',
104104
],
105105
},
106+
{
107+
name: 'NetBeans',
108+
bundleIdentifiers: ['org.apache.netbeans'],
109+
},
106110
{
107111
name: 'BBEdit',
108112
bundleIdentifiers: ['com.barebones.bbedit'],
@@ -127,6 +131,10 @@ const editors: IDarwinExternalEditor[] = [
127131
name: 'RubyMine',
128132
bundleIdentifiers: ['com.jetbrains.RubyMine'],
129133
},
134+
{
135+
name: 'RustRover',
136+
bundleIdentifiers: ['com.jetbrains.RustRover'],
137+
},
130138
{
131139
name: 'RStudio',
132140
bundleIdentifiers: ['org.rstudio.RStudio', 'com.rstudio.desktop'],

app/src/lib/editors/linux.ts

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,15 @@ const editors: ILinuxExternalEditor[] = [
7777
name: 'Typora',
7878
paths: ['/usr/bin/typora'],
7979
},
80+
{
81+
name: 'Netbeans',
82+
paths: [
83+
'/opt/netbeans-22/bin/netbeans',
84+
'/opt/netbeans-21/bin/netbeans',
85+
'/opt/netbeans-20/bin/netbeans',
86+
'/snap/bin/netbeans',
87+
],
88+
},
8089
{
8190
name: 'SlickEdit',
8291
paths: [
@@ -100,7 +109,7 @@ const editors: ILinuxExternalEditor[] = [
100109
name: 'JetBrains PhpStorm',
101110
paths: [
102111
'/snap/bin/phpstorm',
103-
'.local/share/JetBrains/Toolbox/scripts/phpstorm',
112+
'.local/share/JetBrains/Toolbox/scripts/PhpStorm',
104113
],
105114
},
106115
{
@@ -128,6 +137,27 @@ const editors: ILinuxExternalEditor[] = [
128137
'.local/share/JetBrains/Toolbox/scripts/goland',
129138
],
130139
},
140+
{
141+
name: 'JetBrains CLion',
142+
paths: [
143+
'/snap/bin/clion',
144+
'.local/share/JetBrains/Toolbox/scripts/clion1',
145+
],
146+
},
147+
{
148+
name: 'JetBrains Rider',
149+
paths: [
150+
'/snap/bin/rider',
151+
'.local/share/JetBrains/Toolbox/scripts/rider',
152+
],
153+
},
154+
{
155+
name: 'JetBrains RubyMine',
156+
paths: [
157+
'/snap/bin/rubymine',
158+
'.local/share/JetBrains/Toolbox/scripts/rubymine',
159+
],
160+
},
131161
{
132162
name: 'JetBrains PyCharm',
133163
paths: [
@@ -136,6 +166,13 @@ const editors: ILinuxExternalEditor[] = [
136166
'.local/share/JetBrains/Toolbox/scripts/pycharm',
137167
],
138168
},
169+
{
170+
name: 'JetBrains JetBrains RustRover',
171+
paths: [
172+
'/snap/bin/rustrover',
173+
'.local/share/JetBrains/Toolbox/scripts/rustrover',
174+
],
175+
},
139176
{
140177
name: 'Android Studio',
141178
paths: [

app/src/lib/editors/win32.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,19 @@ const editors: WindowsExternalEditor[] = [
296296
displayNamePrefixes: ['Brackets'],
297297
publishers: ['brackets.io'],
298298
},
299+
{
300+
name: 'Apache NetBeans',
301+
registryKeys: [
302+
// Netbeans-22/21/20 Main-releases
303+
LocalMachineUninstallKey('nbi-nb-all-22.0.0.240522.0'),
304+
LocalMachineUninstallKey('nbi-nb-all-21.0.0.240215.0'),
305+
LocalMachineUninstallKey('nbi-nb-all-20.0.0.231123.0'),
306+
],
307+
installLocationRegistryKey: 'InstallLocation',
308+
executableShimPaths: [['netbeans', 'bin', 'netbeans.exe']],
309+
displayNamePrefixes: ['Apache NetBeans IDE 22', 'Apache NetBeans IDE 21', 'Apache NetBeans IDE 20'],
310+
publishers: ['Apache NetBeans'],
311+
},
299312
{
300313
name: 'ColdFusion Builder',
301314
registryKeys: [
@@ -488,6 +501,14 @@ const editors: WindowsExternalEditor[] = [
488501
displayNamePrefixes: ['DataSpell '],
489502
publishers: ['JetBrains s.r.o.'],
490503
},
504+
{
505+
name: 'JetBrains RustRover',
506+
registryKeys: registryKeysForJetBrainsIDE('RustRover'),
507+
executableShimPaths: executableShimPathsForJetBrainsIDE('rustrover'),
508+
jetBrainsToolboxScriptName: 'rustrover',
509+
displayNamePrefixes: ['RustRover '],
510+
publishers: ['JetBrains s.r.o.'],
511+
},
491512
{
492513
name: 'Pulsar',
493514
registryKeys: [

0 commit comments

Comments
 (0)