Skip to content

Commit a3fc786

Browse files
committed
TODO save LaunchConfiguration in project's .settings folder by default
1 parent f564acc commit a3fc786

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

org.nodeclipse.debug/src/org/nodeclipse/debug/launch/LaunchShortcut.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package org.nodeclipse.debug.launch;
22

3+
import org.eclipse.core.resources.IContainer;
34
import org.eclipse.core.resources.IFile;
45
import org.eclipse.core.runtime.CoreException;
56
import org.eclipse.debug.core.DebugPlugin;
@@ -103,8 +104,14 @@ private ILaunchConfiguration createLaunchConfiguration(ILaunchConfigurationType
103104
}
104105
}
105106

107+
IContainer container = null;
108+
//TODO save LaunchConfiguration in project's .settings folder by default
109+
// if(true){
110+
// container =
111+
// }
112+
106113
// create a new configuration for the file
107-
ILaunchConfigurationWorkingCopy workingCopy = type.newInstance(null, configname);
114+
ILaunchConfigurationWorkingCopy workingCopy = type.newInstance(container, configname);
108115
workingCopy.setAttribute(Constants.KEY_FILE_PATH, path);
109116
setMoreAttributes(workingCopy);
110117
return workingCopy.doSave();

0 commit comments

Comments
 (0)