Commit Graph

103 Commits (fda7a0030981bf551dcc40323918c989e99c2f09)

Author SHA1 Message Date
Evgen Vidolob 7bad057bbe #3220 use document changes instead of full text replacing on organize import operation (#3409)
Signed-off-by: Evgen Vidolob <evidolob@codenvy.com>
2016-12-16 11:00:18 +02:00
Vladyslav Zhukovskyi d15915cf94 Remove deprecated getPath method and use getLocation instead (#3322) 2016-12-09 12:33:45 +02:00
Vitaliy Guliy b768872294 CHE-2463 Improve Panels behaviors in IDE (#3151)
Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>
2016-12-07 17:45:37 +02:00
Mykola Morhun 6dd0c1245e CODENVY-1106: Add ability to prevent window closing in IDE. Handle closing of preferences window correctly. (#3203)
CODENVY-1106: Add ability to prevent window closing in IDE. Handle closing of preferences window correctly.
2016-12-07 17:15:18 +02:00
Kaloyan Raev f1710e6a9b Performance improvements and other fixes in code completion (#3146)
* 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>
2016-11-30 16:17:14 +02:00
Dmitry Kuleshov 5d552906b6 che#2745: added suspend/resume calls for file status watcher during organize imports action (#3088) 2016-11-18 12:25:14 +02:00
Evgen Vidolob 1ef1da278e #3030 rename editor context menu action group variable 2016-11-14 16:53:49 +02:00
Evgen Vidolob 910a327a1b #3030 add editor context menu 2016-11-14 16:33:33 +02:00
Vladyslav Zhukovskii 45135c33f7 Revert changes after #2867 2016-11-09 18:23:41 +02:00
Vladyslav Zhukovskyi c7b4623b61 Get projects after workspace has been already initialized (#2867)
* Get projects after workspace has been already initialized

This commit also includes API reorganization. Move client service implementations from the core-api to the core-app. Code cleanup. Removed dependency to the javax.inject from the core-api to avoid duplicate using @Inject annotation from the com.google.inject and javax.inject. (Client side uses only com.google.inject.Inject annotation)

Created two components:
WsAgentInitializer - which is responsible to initialize workspace component on the client side. Component consumes developer machine object at startup stage.
WsAgentMessageBusProvider - which is responsible to initialize message bus after workspace has been initialized.

API movements:
OAuthServiceClient was moved from the org.eclipse.che.ide.api.auth to the org.eclipse.ide.api.oauth

* Move WsAgentInitizalizer to the core-app

* Add @Override annotation

* Add @Override annotation

* Remove @Singleton annotation

* Remove @Singleton annotation

* Revert javax.inject.Inject annotation

* Update codebase due to changes in the master branch
2016-11-03 15:29:08 +02:00
Evgen Vidolob 9f96c77836 #2459 store and restore IDE state: opened files, opened part and their size (#2880)
* #2459 store IDE state (opened files, opened part and size) and restore IDE state
2016-10-27 11:57:10 +03:00
Artem Zatsarynnyi 2ba8cdfa42 Client command framework improvements (#2730)
Client command framework improvements

1. Introduced contextual commands.
2. Added ${explorer.current.file.parent.path} macro.
3. Cleaned up unused resources.
4. Refactored code in order to simplify it and made it more clear and understandable:

- simplified a way of providing new command types;
- command types api moved to ide-api to avoid unnecessary dependency on machine extension;
- command management extracted from EditCommandsPresenter to the separate facade - CommandManager. So EditCommandsPresenter now doesn't perform several http requests manipulating with commands but only one;
- refactored code related to the obsolete terminology CommandPropertyValueProvider -> Macro;
- macro can provide its description (it will be really useful for showing it in UI);
- macros processing separated from the command execution and extracted to the separate component MacroProcessor since it's used not only for the commands but in debug configurations for example.
2016-10-11 11:35:42 +03:00
Valeriy Svydenko acd9ba49d5 CHE-1857: add ability to rename projects (#2436)
CHE-1857: add an ability to rename project
2016-09-28 10:52:16 +03:00
Oleksii Orel c84340807b CHE-2286: disable menu items until the workspace is not loaded or stopped
Signed-off-by: Oleksii Orel <oorel@codenvy.com>
2016-09-19 10:46:06 +03:00
Anatoliy Bazko c48a69f961 CHE-1287: Support for Language Server Protocol (#2452) 2016-09-16 12:45:02 +03:00
Dmitry Kuleshov 5d267fe305 VFS file watcher based use cases implementations (#2339)
* che#1910: added several new user workflows implementations for VFS

Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
2016-09-07 11:22:22 +03:00
Vladyslav Zhukovskii 1b226c5531 #953: Move command property value providers to core API 2016-08-19 18:18:51 +03:00
Roman Nikitenko cca53a47a3 CHE-1837. Split view for editor
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-08-16 17:57:48 +03:00
Evgen Vidolob cc51c0ef27 #1913 Deprecates some of Editor API classes and interfaces 2016-08-12 12:35:28 +03:00
Valeriy Svydenko 4a98a26f5a CHE-1964: add libraries from containers for building classpath 2016-08-04 14:48:00 +03:00
Valeriy Svydenko 3f234951b4 CHE-1786: fix problems with the tree of changes on Preview window
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-07-29 17:44:29 +03:00
Vladyslav Zhukovskii 6ea81c7012 #1814: Synchronize project instead of parent directory
Project synchronization is more reasonable, because we also retrieve project properties and with actual values we can redraw project correctly in the UI.
2016-07-26 18:01:50 +03:00
Valeriy Svydenko e1575af2de CHE-1825: fix problem with window selection
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-07-26 17:22:07 +03:00
Valeriy Svydenko 1bb6551c02 CHE-1843: change value of 'java.output.folder' attribute
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-07-26 17:08:35 +03:00
Valeriy Svydenko af860c9796 CHE-1523: disallow renaming of the classes and packages
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-07-15 19:10:27 +03:00
Vladyslav Zhukovskii 7c02151e6f CHE-1482: Fix setting up source directory in java project
This PR fix possible NPE in case when node transforms from the folder to the source folder.
2016-07-15 17:05:42 +03:00
Vitalii Parfonov 563daf0c51 CHE-1493: collect path of updated files, skiping moved, fire event for update content (#1732)
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-07-14 17:53:01 +03:00
Valeriy Svydenko 7a41e98599 CHE-1486: fix problem with 'open declaration' action 2016-07-12 20:09:19 +03:00
Vladyslav Zhukovskii e5b98d2bbe CHE-1459: Fix file duplication after refactoring rename
Signed-off-by: Vladyslav Zhukovskii <vzhukovskii@codenvy.com>
2016-07-12 11:18:05 +03:00
Valeriy Svydenko d9ccd8cb77 CHE-1419: add ability to run simple java project which has several source folders
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-07-11 17:31:51 +03:00
Valeriy Svydenko 85c736ed62 CHE-1444: fix problems with updating classpath
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-07-08 22:15:34 +03:00
Vladyslav Zhukovskii 5a77df2426 CHE-1475: Allow open classpath configuration anywhere inside java project 2016-07-08 18:35:28 +03:00
Vladyslav Zhukovskii 39dc621da5 Fix cyclic request sending and possible NPE
`NewFolderAction` - added dialog showing if any error occurred.
`ProjectExplorerPresenter` - fix disappearing maven module after project reconfiguring.
`RevealNodesPersistenceComponent` - reduce count of files which stores into user preference.
`TreeResourceRevealer` - add ability to select node after reveal operation.
`InMemoryResourceStore` - checking resource only by ones prefix path.
`NodeLoader` - revert last changes, because they are redundant.
`NewPackageAction` - prevent potential NPE.
`ProjectClasspathAction` - prevent potential NPE.
`MoveAction` - prevent potential NPE.
`RenameRefactoringAction` - prevent potential NPE.
`GetEffectivePomAction` - prevent potential NPE.
2016-07-08 13:53:14 +03:00
Roman Nikitenko 6c1c543ac6 CHE-1210. Block content assist until project is resolved
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-07-06 15:37:43 +03:00
Vladyslav Zhukovskii d65cd9bd65 Avoid getting possible null pointer exception. 2016-07-05 16:27:57 +03:00
Vladyslav Zhukovskii fa29c3cf2b Reveal new java source file
After new java source file creation the last ones will be revealed in project tree. A part of CHE-907.
2016-07-05 11:11:55 +03:00
Vladyslav Zhukovskii 001b4b87e8 Resource management
Signed-off-by: Vladyslav Zhukovskii <vzhukovskii@codenvy.com>
2016-07-02 18:15:33 +03:00
Valeriy Svydenko 1b528de3a2 CHE-1208: add an ability to configure several source folders
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-06-29 16:11:27 +03:00
Vladyslav Zhukovskii 04ce41b4d2 Add key binding for the Quick Fix action 2016-06-24 10:40:33 +03:00
Valeriy Svydenko ce98aba417 CHE-957: fix a problem with updating content of the compare widget
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-06-23 12:06:43 +03:00
Vitaliy Guliy fa4df431f3 CHE-1228 Add context menu to the consoles tree
Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>
2016-06-15 12:55:43 +03:00
Vitalii Parfonov 2de961ecaf Rename plainJava->javac (#1477)
* Rename plainJava->javac

Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-06-10 17:39:01 +03:00
Anton Korneta 8a94129e16 CODENVY-583: Fix javadoc navigation in https mode 2016-06-08 14:40:29 +03:00
Vladyslav Zhukovskii 8996ed9db1 Move classes related with virtual file to resources package 2016-06-07 15:35:54 +03:00
Vladyslav Zhukovskii 54e591a2d8 Move classes related with data tree structure to dedicate package 2016-06-07 11:25:56 +03:00
Roman Nikitenko a99d15b7b4 CHE-1231. Show/hide error messages after updating pom.xml
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
2016-06-02 12:41:29 +03:00
Mihail Kuznyetsov e4f8fe914e CHE-1260 Enable svg files license checking 2016-06-01 14:56:31 +03:00
Valeriy Svydenko 99f54bb681 CHE-509: show warning dialog if the process of the rename refactoring has some problems
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-06-01 09:58:40 +03:00
Valeriy Svydenko 45b3425450 CHE-1207: add ability to configure library folder by using Project Wizard
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-05-30 18:23:50 +03:00
Alexander V 96cc71775a Optimizing, cleaning deprecations (#1243)
Signed-off-by: <alextrentton@gmail.com>
2016-05-26 11:25:59 +03:00