This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In debugger we have "Applied code changes" feature in Node.js and it would be nice if the user could turn on/off the automatic application of new code on save. I'll prepare DebuggerOptions class in org.netbeans.modules.javascript.v8debug.api package, which will contain methods: boolean isLiveEdit() void setLiveEdit(boolean) In the options we'd like to have one checkbox with a description underneath: [x] Apply Code Changes on Save (Live Edit) When selected, Save will automatically update your Node.js application. "Apply Code Changes" action can be used to update manually otherwise. Thanks.
I've added DebuggerOptions class: http://hg.netbeans.org/web-main/rev/685b531acb20
Martine, does it make sense to have such checkbox per project? I guess not but I would like to know your opinion. Thanks.
(In reply to Tomas Mysik from comment #2) > Martine, does it make sense to have such checkbox per project? I mean in Project Properties dialog, of course.
I do not think it's necessary. IMHO a global option is sufficient.
Will do it ASAP, thanks.
Done, please verify. Thanks. http://hg.netbeans.org/web-main/rev/51c189802b8b
Integrated into 'main-silver', will be available in build *201502190509* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/685b531acb20 User: mentlicher@netbeans.org Log: #250494: The DebuggerOptions API class added.
Verified, thank you.
Integrated into 'main-silver', will be available in build *201502200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/51c189802b8b User: Tomas Mysik <tmysik@netbeans.org> Log: #250494 - Add debugger options into HTML/JS -> Node.js panel