[jbosstools-issues] [JBoss JIRA] (ERT-349) Add JavaScript formatting option for anonymous functions [EBZ#315507]
Ilya Buziuk (JIRA)
issues at jboss.org
Tue Jul 26 15:30:00 EDT 2016
[ https://issues.jboss.org/browse/ERT-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilya Buziuk updated ERT-349:
----------------------------
Story Points: 5
> 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)
More information about the jbosstools-issues
mailing list