[jbosstools-issues] [JBoss JIRA] (JBIDE-19184) Threadlock when JS autocomplete turned on
ZERR Angelo (JIRA)
issues at jboss.org
Wed Feb 18 03:51:49 EST 2015
[ https://issues.jboss.org/browse/JBIDE-19184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041191#comment-13041191 ]
ZERR Angelo commented on JBIDE-19184:
-------------------------------------
Tern takes time when there are a lot of JS files. I have written a wiki page about this problem at https://github.com/angelozerr/tern.java/wiki/Tern-Performance
Since 0.9.0, MyEclipse has contributed to synchronize tern files on background. So when completion takes too long time, Eclipse doesn't freeze. See https://github.com/angelozerr/tern.java/wiki/New-and-Noteworthy-0.9.0#async-tern-completion
To provide this feature, tern was a lot refactored and so it's very hard to move this feature to 0.8.x. I'm really sorry guys for that -(
This async feature is the first step to manage a lot of JS files. There are other issues like
* improving tern script path (support of exclude path, improve JSDT -> tern script path) See https://github.com/angelozerr/tern.java/issues/150
* use condense tools https://github.com/angelozerr/tern.java/issues/193
So 0.9.0 will provide the async completion and linter support (ESLint, JSHint, etc). See https://github.com/angelozerr/tern.java/wiki/Tern-Linter
If I have time, I will try to improve tern script path.
> Threadlock when JS autocomplete turned on
> -----------------------------------------
>
> Key: JBIDE-19184
> URL: https://issues.jboss.org/browse/JBIDE-19184
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml/html source editing, upstream
> Affects Versions: 4.2.2.Final
> Environment: JBDS 8.0.2
> Reporter: Mustafa Musaji
> Assignee: Victor Rubezhny
> Priority: Critical
> Fix For: 4.2.3.Beta1, 4.3.0.Alpha2
>
> Attachments: threaddump_jdk1.7.0_71_1422011702000.txt
>
>
> Seeing a thread lock when using large JS projects when trying to autocomplete. Please refer to attached thread dump.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jbosstools-issues
mailing list