Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enter keypress ignored when inside two braces #150

Closed
lorenzodallavecchia opened this issue Feb 14, 2017 · 2 comments
Closed

Enter keypress ignored when inside two braces #150

lorenzodallavecchia opened this issue Feb 14, 2017 · 2 comments

Comments

@lorenzodallavecchia
Copy link
Contributor

Given the following simple TypeScript source.

export function foo() {}

If you press Enter when between the two braces, sometimes nothing happens: the enter key is completely ignored.

@lorenzodallavecchia
Copy link
Contributor Author

Ok, I found out what's causing this.

The bug happens only when launching typescript.IDE from sources.
In addition, whenever you press Enter, the following exception is logged.

java.lang.NoClassDefFoundError: jdk/nashorn/internal/runtime/ECMAException

The fix for this problem is to add -Dorg.osgi.framework.bundle.parent=ext to the launch configuration used for launching typescript.IDE from sources.
See this StackOverflow querstion for more information.

@lorenzodallavecchia
Copy link
Contributor Author

A note about this should be included in the workspace setup guide when it is done. See #60.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant