Bug 500465 - Wrong generated brace after Enter
Summary: Wrong generated brace after Enter
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Victor Rubezhny CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-30 00:19 EDT by Angelo ZERR CLA
Modified: 2018-11-22 17:32 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Angelo ZERR CLA 2016-08-30 00:19:43 EDT
If we have this contant:

```
class A {// here we typer Enter
  f() {
  }
}
```

"Enter" generates a wrong brace:

```
class A {

} // here wrong brace is generated
  f() {
  }
}
```

It the same issue than https://github.com/angelozerr/typescript.java/issues/72 for typescript.java
Comment 1 Jérôme Marant CLA 2017-03-29 10:25:24 EDT
Hi,

I'm having the same inconvenience. Is this problem being worked on, please ?

Regards,
Comment 2 Victor Rubezhny CLA 2017-03-29 12:32:52 EDT
I cannot reproduce this problem using WTP M6 (Oxygen).
Comment 3 Jérôme Marant CLA 2017-04-01 15:16:22 EDT
Thanks. I can confirm.
BTW, variable completion is broken in Oxygen WTP. But since it is ongoing development so I guess it's going to be fixed.