* CHE-4288: Frequent 'Unable to initialize IDE' error on AWS
Move the logic for injecting the Orion editor from the
OrionEditorExtension class to the EditorInitializerPromiseHolder. Thus
avoiding the chance for having the initializePromise field with null
value.
* Ensure built-codeEdit.css is injected only once
If injected multiple times, eventually, the last one may be injected
*after* the orion-codenvy-theme.css stylesheet. Thus causing issues to
theming the code editor.
Providing support for occurrences highlighting, with a
restriction due a bug in the io.typefox.lsapi.services 0.3.0
bundle, which assumes that the language server will return
a single occurrence to highlight, instead of a list of
occurrences.
Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
Changelog:
Delete old xterm view.
Move requirejs from plugin Orion to the plugin RequireJs.
Create new plugin with xterm.js.
Mavenize xterm.js build, use for build gulp tasks instead of bash scripts.
Rework GWT code for integration xterm.js.
Fix css styles for integration with GWT css resources and using Eclipse CHE white and dark themes.
Rework terminal resize mechanizm.
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
* Avoid overloading the DOM tree of the ContentAssistWidget
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
* Ensure the code assist widget is closed when applying proposal
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
* Respect isIncomplete flag in the completion result
If the isIncomplete flag is false, i.e. the completion result is
complete, then additional typing for the same word should not trigger a
new completion request. The latest completion result should be reused.
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
* Fix flickering between keystrokes during code completion
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
* Fine tune the rules for making new completion request
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
* Set the correct offset when applying code completion
* Force a completion request message on Ctrl+Space
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
* Fixed retrieval of CompletionItem document via Resolve request
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>