Skip to content

Commit 929e7ed

Browse files
committed
Enable prototype for launch configs
1 parent 316480f commit 929e7ed

File tree

8 files changed

+27
-7
lines changed

8 files changed

+27
-7
lines changed

org.eclipse.wildwebdeveloper/plugin.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,7 @@
973973
modes="run,debug"
974974
name="Node.js application"
975975
public="true"
976+
allowPrototypes="true"
976977
sourceLocatorId="org.eclipse.lsp4e.debug.sourceLocator"
977978
sourcePathComputerId="org.eclipse.lsp4e.debug.sourcePathComputer">
978979
</launchConfigurationType>
@@ -982,6 +983,7 @@
982983
modes="debug"
983984
name="Running Node.js application"
984985
public="true"
986+
allowPrototypes="true"
985987
sourceLocatorId="org.eclipse.lsp4e.debug.sourceLocator"
986988
sourcePathComputerId="org.eclipse.lsp4e.debug.sourcePathComputer">
987989
</launchConfigurationType>
@@ -991,6 +993,7 @@
991993
modes="debug"
992994
name="Running Firefox Debugger"
993995
public="true"
996+
allowPrototypes="true"
994997
sourceLocatorId="org.eclipse.lsp4e.debug.sourceLocator"
995998
sourcePathComputerId="org.eclipse.lsp4e.debug.sourcePathComputer">
996999
</launchConfigurationType>
@@ -1000,6 +1003,7 @@
10001003
modes="debug"
10011004
name="Launch Firefox Debugger"
10021005
public="true"
1006+
allowPrototypes="true"
10031007
sourceLocatorId="org.eclipse.lsp4e.debug.sourceLocator"
10041008
sourcePathComputerId="org.eclipse.lsp4e.debug.sourcePathComputer">
10051009
</launchConfigurationType>
@@ -1009,6 +1013,7 @@
10091013
modes="debug"
10101014
name="Chrome Debug"
10111015
public="true"
1016+
allowPrototypes="true"
10121017
sourceLocatorId="org.eclipse.lsp4e.debug.sourceLocator"
10131018
sourcePathComputerId="org.eclipse.lsp4e.debug.sourcePathComputer">
10141019
</launchConfigurationType>
@@ -1018,6 +1023,7 @@
10181023
modes="debug"
10191024
name="Running Chrome Debug Instance"
10201025
public="true"
1026+
allowPrototypes="true"
10211027
sourceLocatorId="org.eclipse.lsp4e.debug.sourceLocator"
10221028
sourcePathComputerId="org.eclipse.lsp4e.debug.sourcePathComputer">
10231029
</launchConfigurationType>
@@ -1026,6 +1032,7 @@
10261032
id="org.eclipse.wildwebdeveloper.launchConfiguration.NPMLaunch"
10271033
modes="run"
10281034
name="Launch NPM"
1035+
allowPrototypes="true"
10291036
public="true"
10301037
sourceLocatorId="org.eclipse.lsp4e.debug.sourceLocator"
10311038
sourcePathComputerId="org.eclipse.lsp4e.debug.sourcePathComputer">

org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/debug/chrome/ChromeAttachDebugTabGroup.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@
1515
import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
1616
import org.eclipse.debug.ui.CommonTab;
1717
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
18+
import org.eclipse.debug.ui.PrototypeTab;
1819
import org.eclipse.lsp4e.debug.launcher.DSPOverrideSettingsTab;
1920

2021
public class ChromeAttachDebugTabGroup extends AbstractLaunchConfigurationTabGroup {
2122

2223
@Override
2324
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
24-
setTabs(new ChromeAttachTab(), new ChromeExecutableTab(), new DSPOverrideSettingsTab(), new CommonTab());
25+
setTabs(new ChromeAttachTab(), new ChromeExecutableTab(), new DSPOverrideSettingsTab(), new CommonTab(), new PrototypeTab());
2526
}
2627

2728
}

org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/debug/chrome/ChromeRunDebugTabGroup.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import org.eclipse.debug.ui.EnvironmentTab;
1818
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
1919
import org.eclipse.debug.ui.ILaunchConfigurationTab;
20+
import org.eclipse.debug.ui.PrototypeTab;
2021
import org.eclipse.lsp4e.debug.launcher.DSPOverrideSettingsTab;
2122
import org.eclipse.wildwebdeveloper.debug.AbstractRunHTMLDebugTab;
2223

@@ -28,7 +29,8 @@ public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
2829
new AbstractRunHTMLDebugTab() {},
2930
new EnvironmentTab(),
3031
new DSPOverrideSettingsTab(),
31-
new CommonTab()
32+
new CommonTab(),
33+
new PrototypeTab()
3234
});
3335
}
3436
}

org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/debug/firefox/FirefoxAttachDebugTabGroup.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.eclipse.debug.ui.CommonTab;
1717
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
1818
import org.eclipse.debug.ui.ILaunchConfigurationTab;
19+
import org.eclipse.debug.ui.PrototypeTab;
1920
import org.eclipse.lsp4e.debug.launcher.DSPOverrideSettingsTab;
2021

2122
public class FirefoxAttachDebugTabGroup extends AbstractLaunchConfigurationTabGroup {
@@ -25,7 +26,8 @@ public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
2526
setTabs(new ILaunchConfigurationTab[] {
2627
new FirefoxAttachTab(),
2728
new DSPOverrideSettingsTab(),
28-
new CommonTab()
29+
new CommonTab(),
30+
new PrototypeTab()
2931
});
3032
}
3133

org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/debug/firefox/FirefoxRunDebugTabGroup.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import org.eclipse.debug.ui.EnvironmentTab;
1818
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
1919
import org.eclipse.debug.ui.ILaunchConfigurationTab;
20+
import org.eclipse.debug.ui.PrototypeTab;
2021
import org.eclipse.lsp4e.debug.launcher.DSPOverrideSettingsTab;
2122

2223
public class FirefoxRunDebugTabGroup extends AbstractLaunchConfigurationTabGroup {
@@ -27,7 +28,8 @@ public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
2728
new RunFirefoxDebugTab(),
2829
new EnvironmentTab(),
2930
new DSPOverrideSettingsTab(),
30-
new CommonTab()
31+
new CommonTab(),
32+
new PrototypeTab()
3133
});
3234
}
3335

org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/debug/node/NodeAttachDebugTabGroup.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.eclipse.debug.ui.CommonTab;
1717
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
1818
import org.eclipse.debug.ui.ILaunchConfigurationTab;
19+
import org.eclipse.debug.ui.PrototypeTab;
1920
import org.eclipse.lsp4e.debug.launcher.DSPOverrideSettingsTab;
2021

2122
public class NodeAttachDebugTabGroup extends AbstractLaunchConfigurationTabGroup {
@@ -25,7 +26,8 @@ public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
2526
setTabs(new ILaunchConfigurationTab[] {
2627
new NodeAttachDebugTab(),
2728
new DSPOverrideSettingsTab(),
28-
new CommonTab()
29+
new CommonTab(),
30+
new PrototypeTab()
2931
});
3032
}
3133

org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/debug/node/NodeRunDebugTabGroup.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import org.eclipse.debug.ui.EnvironmentTab;
1818
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
1919
import org.eclipse.debug.ui.ILaunchConfigurationTab;
20+
import org.eclipse.debug.ui.PrototypeTab;
2021
import org.eclipse.lsp4e.debug.launcher.DSPOverrideSettingsTab;
2122

2223
public class NodeRunDebugTabGroup extends AbstractLaunchConfigurationTabGroup {
@@ -27,7 +28,8 @@ public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
2728
new RunProgramTab(),
2829
new EnvironmentTab(),
2930
new DSPOverrideSettingsTab(),
30-
new CommonTab()
31+
new CommonTab(),
32+
new PrototypeTab()
3133
});
3234
}
3335

org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/debug/npm/NpmLaunchTabGroup.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import org.eclipse.debug.ui.EnvironmentTab;
1515
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
1616
import org.eclipse.debug.ui.ILaunchConfigurationTab;
17+
import org.eclipse.debug.ui.PrototypeTab;
1718

1819
public class NpmLaunchTabGroup extends AbstractLaunchConfigurationTabGroup {
1920

@@ -22,7 +23,8 @@ public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
2223
setTabs(new ILaunchConfigurationTab[] {
2324
new NpmLaunchTab(),
2425
new EnvironmentTab(),
25-
new CommonTab()
26+
new CommonTab(),
27+
new PrototypeTab()
2628
});
2729
}
2830

0 commit comments

Comments
 (0)