Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 518039

Summary: [lsp] Exception when trying to enter javadoc parameters
Product: [ECD] Orion Reporter: Remy Suen <remy.suen>
Component: ClientAssignee: Remy Suen <remy.suen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: unspecified   
Target Milestone: 15.0   
Hardware: All   
OS: All   
Whiteboard:

Description Remy Suen CLA 2017-06-09 03:52:50 EDT
1. Try to use @param in a javadoc declaration.
2. Exceptions will fly in the browser console.

contentAssist.js:770 Uncaught TypeError: excludedStyles.test is not a function
    at http://localhost:8081/orion/editor/contentAssist.js:770:31
    at Array.some (native)
    at ContentAssist.<anonymous> (http://localhost:8081/orion/editor/contentAssist.js:769:36)
    at Array.forEach (native)
    at ContentAssist._triggerListener (http://localhost:8081/orion/editor/contentAssist.js:737:21)
    at TextView._dispatchEvent (http://localhost:8081/orion/editor/eventTarget.js:82:12)
    at TextView.dispatchEvent (http://localhost:8081/orion/editor/eventTarget.js:62:9)
    at TextView.onModify (http://localhost:8081/orion/editor/textView.js:2759:16)
    at TextView._modifyContent (http://localhost:8081/orion/editor/textView.js:6632:9)
    at TextView._doContent (http://localhost:8081/orion/editor/textView.js:4917:16)
Comment 1 Remy Suen CLA 2017-06-09 03:57:28 EDT
Fix pushed to the java-lsp branch.

https://github.com/eclipse/orion.client/commit/958b8fc47bf267f46a7a902e10b2c95305669f66