[JBoss JIRA] (ERT-349) Add JavaScript formatting option for anonymous functions [EBZ#315507]
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/ERT-349?page=com.atlassian.jira.plugin.sy... ]
Gorkem Ercan updated ERT-349:
-----------------------------
Sprint: devex #118 July 2016
> Add JavaScript formatting option for anonymous functions [EBZ#315507]
> ---------------------------------------------------------------------
>
> Key: ERT-349
> URL: https://issues.jboss.org/browse/ERT-349
> Project: Eclipse Release Train
> Issue Type: Task
> Components: JSDT
> Reporter: Friendly Jira Robot
> Priority: Trivial
> Labels: Future, General, bzira
> Fix For: Neon.1 (4.6)
>
>
> Build Identifier: Build id: 20100218-1602
> It should be possible to set white-space formatting rules differently for anonymous functions and named functions.
> Use-case: It should be possible to stipulate that white-space must precede the opening parenthesis in an anonymous function declaration while named function declaration should not.
> Example:
> var foo = function () {
> // some code
> };
> function foo() {
> // some code
> }
> Reproducible: Always
> Steps to Reproduce:
> Not really a bug, more of a feature request. Go to Window > Preferences > Web > JavaScript > Code Style > Formatter. Under the White Space tab open Declarations and see that there is only a setting for Functions (not Named Functions and Anonymous Functions)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 8 months
[JBoss JIRA] (JBIDE-21059) Server Adapter does not connect in debug mode on WF in a Docker container
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21059?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-21059:
---------------------------------------
[~rob.stryker], I need some clarification here.
Do I read it right that nothing was done here? Attaching a remote debugger to rse servers was done as part of other JIRA(s) recently. So as a result, this somewhat works, right?
But I have a hard time starting the server adapter in debugging mode. You say that management poller will fail because there no credentials set up. So I need to wait for the timeout? Because I waited several minutes and it was still "Starting". Then I stopped it, changed to web pollers which should work - the homepage at 10.1.2.2:8080 is working fine for me - and again, it's stuck on "Starting". Any suggestions?
> Server Adapter does not connect in debug mode on WF in a Docker container
> --------------------------------------------------------------------------
>
> Key: JBIDE-21059
> URL: https://issues.jboss.org/browse/JBIDE-21059
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.3.0.Final
> Reporter: Xavier Coulon
> Assignee: Rob Stryker
> Fix For: 4.4.1.AM1
>
>
> I have a WF 9.0.2.Final in a Docker container, started with the debug flag in the command line :
> {code}
> CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-c", "standalone.xml", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0" , "--debug"]
> {code}
> I can connect to this server from the server adapter in Run mode but not in debug mode: the Debug view remains empty and the breakpoints are not hit.
> On the other side, I can connect using the plain Java remote debugger (in the launchers) and the same breakpoints are hit.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 8 months
[JBoss JIRA] (JBIDE-22707) NullPointerException below WizardSupport.openWizard (thrown in TextSearchControl.createLabelButtonControl)
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22707?page=com.atlassian.jira.plugi... ]
Gorkem Ercan updated JBIDE-22707:
---------------------------------
Story Points: 10
> NullPointerException below WizardSupport.openWizard (thrown in TextSearchControl.createLabelButtonControl)
> ----------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-22707
> URL: https://issues.jboss.org/browse/JBIDE-22707
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Reporter: Automated Error Reporting Bot
> Assignee: Gorkem Ercan
> Fix For: 4.4.x
>
>
> The following problem was reported via the automated error reporting:
> Message: Unhandled event loop exception
> {noformat}
> java.lang.NullPointerException: null
> at org.eclipse.equinox.internal.p2.ui.discovery.util.TextSearchControl.createLabelButtonControl(TextSearchControl.java:198)
> at org.eclipse.equinox.internal.p2.ui.discovery.util.TextSearchControl.<init>(TextSearchControl.java:121)
> at org.eclipse.equinox.internal.p2.ui.discovery.util.FilteredViewer.doCreateFindControl(FilteredViewer.java:100)
> at org.eclipse.equinox.internal.p2.ui.discovery.util.FilteredViewer.doCreateHeader(FilteredViewer.java:136)
> at org.eclipse.equinox.internal.p2.ui.discovery.util.FilteredViewer.createControl(FilteredViewer.java:78)
> at org.eclipse.thym.ui.plugins.internal.CordovaPluginSelectionPage.createControl(CordovaPluginSelectionPage.java:164)
> at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:175)
> at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:696)
> at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:588)
> at org.eclipse.jface.window.Window.create(Window.java:426)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1095)
> at org.eclipse.jface.window.Window.open(Window.java:783)
> at org.jboss.tools.central.internal.WizardSupport.openWizard(WizardSupport.java:71)
> at org.jboss.tools.central.editors.GettingStartedHtmlPage$9.run(GettingStartedHtmlPage.java:431)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4208)
> {noformat}
> Bundles:
> | org.eclipse.equinox.p2.ui.discovery | 1.0.200.v20160504-1450 | 1.0.200.v20160504-1450 |
> | org.eclipse.jface | 3.12.0.v20160518-1929 | 3.12.0.v20160518-1929 |
> | org.eclipse.swt | 3.105.0.v20160519-0649 | 3.105.0.v20160603-0902 |
> | org.eclipse.thym.ui | 2.0.0.201603211426 | 2.0.0.201605071736 |
> | org.jboss.tools.central | 2.1.0.Alpha1-v20160525-1627-B875 | 2.1.0.Final-v20160613-2000-B8 |
> Operating Systems:
> | Windows | 6.1.0 | 10.0.0 |
> The above information is a snapshot of the collected data. Visit [this page|https://redhat.ctrlflow.com/reviewers/#!/problems/574e9a01e4b06056d2...] for the latest data.
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 8 months
[JBoss JIRA] (ERT-346) If I add a breakpoint to a project called "node_modules" the program is not suspended [EBZ#497703]
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/ERT-346?page=com.atlassian.jira.plugin.sy... ]
Gorkem Ercan updated ERT-346:
-----------------------------
Story Points: 15
> If I add a breakpoint to a project called "node_modules" the program is not suspended [EBZ#497703]
> --------------------------------------------------------------------------------------------------
>
> Key: ERT-346
> URL: https://issues.jboss.org/browse/ERT-346
> Project: Eclipse Release Train
> Issue Type: Task
> Components: JSDT
> Reporter: Friendly Jira Robot
> Labels: Debug, bzira
>
> We use feature in node that we can put out modules in a “node_modules” in a parent folder and it will be properly found: https://nodejs.org/api/modules.html#modules_loading_from_node_modules_fol...
> Node is working properly but if I add a breakpoint in a source file inside “node_modules” the breakpoint does not get hit.
> To reproduce the issue:
> 1. Create a JavaScript project “test”.
> 2. Add a file “test.js” to the project with content:
> var m1 = require("m1");
> console.log("m1.myFunc = " + m1.myFunc(3));
> 3. Create a JavaScript project called “node_modules”.
> 4. Add a folder “m1” to the project “node_modules”.
> 5. Add a file “index.js” to the folder “m1” with content:
> module.exports.myFunc = function( i) {
> return i*i;
> }
> 6. Debug “test.js” as Node – it works. Node is finding property “index.js”. 7. Add a breakpoint to “index.js”.
> 8. Debug “test.js” as Node – it runs, but the breakpoint does not suspend the target.
> Is there workaround for this issues?
> Most of our projects are relying on the “node_modules” being found in the parent folder. That is making most of our code hard to debug.
> I tested this on Ubuntu 14.04.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 8 months
[JBoss JIRA] (ERT-354) ASTParser does not parse expressions like `var a = b; ` correctly. [EBZ#498370]
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/ERT-354?page=com.atlassian.jira.plugin.sy... ]
Gorkem Ercan updated ERT-354:
-----------------------------
Story Points: 10
> ASTParser does not parse expressions like `var a = b;` correctly. [EBZ#498370]
> ------------------------------------------------------------------------------
>
> Key: ERT-354
> URL: https://issues.jboss.org/browse/ERT-354
> Project: Eclipse Release Train
> Issue Type: Task
> Components: JSDT
> Reporter: Friendly Jira Robot
> Labels: General, bzira
>
> The AST generated by org.eclipse.wst.jsdt.core.dom.ASTParser.createAST() is incorrect.
> For the expression `var a = b`, the AST does not recognize `a` as the variable, instead representing the statement as `var b`
> E.g. (Parentheses indicate the ASTNode's toString())
> Statement: var b = 15;
> AST:
> [...]
> VariableDeclarationStatement (var b=20)
> InferredType
> VariableDeclarationFragment (b=20)
> SimpleName (b)
> NumberLiteral (20)
> Statement: var b = a;
> AST:
> [...]
> VariableDeclarationStatement (var a)
> InferredType
> VariableDeclarationFragment (a)
> SimpleName (a)
> The problem is not present for other node types (e.g. Assignment), not is it present when the right-hand-side contains an expression (e.g. `var c = b + a`)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 8 months