Commit Graph
2143 Commits
Author SHA1 Message Date
Tagir Valeev 9d2e6b5af7 Unnecessary null-check removed 2018-01-06 16:34:32 +07:00
Roland Illig 6eb55b72cd Fix UI typo in RepositoryAttachDialog 2018-01-02 20:23:44 +03:00
nik c8145d9c29 project configuration: fix NPE in 'Convert to Repository Library' 2017-12-18 11:19:49 +03:00
Dmitry Avdeev b24d4bf84f IDEA-180874 Set click counters for New, Open and Import Project actions
ability to track actions not registered in xml
2017-12-15 19:00:07 +03:00
Anna.Kozlova 9b70569521 copy downloaded files to the requested dir (IDEA-183740) 2017-12-13 15:53:20 +01:00
Vladimir Krivosheev 62810115a0 deprecate AbstractCollection in favour of XCollection 2017-12-11 17:40:03 +01:00
Alexey Kudravtsev e07afa8f5c Date/Time in javadocs considered useless for readability 2017-12-06 15:11:04 +03:00
Vassiliy.Kudryashov d1b0d1dea4 Project Structure: get rid of needless tooltips 2017-12-06 13:43:08 +03:00
nik f481f3e845 project configuration: suggest to remove obsolete library files
When a library is converted to a repository library its JAR files may become obsolete so IDEA suggests to remove them.
2017-11-27 12:52:47 +03:00
nik 827b8594b2 project configuration: improve 'Convert to Repository Library' action
Allow excluding transitive dependencies when searching for a library in repositories, before the library files are downloaded and compared with the existing files.
2017-11-27 12:52:47 +03:00
nik 123d1b29be project configuration: improve 'Convert to Repository Library' action
Hide 'Synchronize' actions in 'Library Diff' dialog (it makes no sense because content of a repository library cannot be modified).
2017-11-23 16:56:37 +03:00
nik 7669d445b8 project configuration: improve 'Convert to Repository Library' action
Add button 'Change Coordinates...' to 'Replace Library' dialog which allow user to try again with different coordinates.
2017-11-23 16:56:37 +03:00
Alexey Kudravtsev 61f4f87b6f cleanup 2017-11-23 16:17:46 +03:00
Tagir Valeev c0ffcc1c3f Stream API call chains simplified 2017-11-22 15:15:01 +07:00
nik 3a79d231f0 project configuration: avoid infinite loops when deleting library root
Avoid infinite loop even if 'Library.ModifiableModel::removeRoot' always returns true because of a bug (see IDEA-182159). If there are several identical roots in a library it should be ok to remove them one by one.
2017-11-20 18:05:07 +03:00
nik ec5e010a2e ModuleDeleteProvider cleanup: don't create unnecessary ModifiableRootModel 2017-11-17 12:46:37 +03:00
nik 98e4a215b1 project configuration: show error message if no files were downloaded while converting to repository library
And allow to try again with different coordinates. Previously diff with empty directory was shown in such cases and it may be confusing.
2017-11-16 14:22:03 +03:00
nik 73915509ca project configuration: fix refreshing VFS for downloaded libraries
File watcher don't watch temp directories so we need to use non-recursive refresh here to ensure that files will be marked as dirty (see RefreshSessionImpl.scan, line 144). We don't need recursive refresh here anyway because JAR files are copied directly to the directory.
2017-11-14 18:11:55 +03:00
nik 65ce8a5f79 cleanup: use lateinit to avoid not-null assertions 2017-11-14 18:11:55 +03:00
nik 86f90042cf create project from sources: handle circular symlinks
Break infinite recursion if there is a symlink pointing to a parent directory (IDEA-178796).
2017-11-02 13:11:42 +03:00
nik 37b9dd0b49 create java project from sources: fix package name detection
Package statement in package-info.java file may have annotations which should be ignored (IDEA-180764).
2017-11-02 11:32:39 +03:00
Konstantin Bulenkov cd07b0ffe0 use ExtendableTextField to merge browse button 2017-11-01 23:41:32 +01:00
Konstantin Bulenkov 04d19da7e4 use ExtendableTextField to merge browse button 2017-11-01 23:41:30 +01:00
nik 956890d0ef ui: fix layout of 'Edit Repository Library' properties dialog
Use card layout to ensure that content of the dialog doesn't jump and there is enough space for all panels (IDEA-181512 fixed).
2017-11-01 15:52:52 +03:00
Eugene Zhuravlev 9434a9f3ce preserve name and id attributes on editing remote repository list (IDEA-179424) 2017-10-25 14:00:45 +02:00
Dmitry Avdeev 56ba726ea3 IDEA-180587 New Project window: correct vertical alignment for "Project SDK" combobox 2017-10-19 13:27:53 +03:00
nik 94ffbb25aa tests: do not run cleanup of incorrect repository libraries in tests
It makes no sense and tests may report memory leaks because of that (IDEA-180424).
2017-10-12 11:10:11 +03:00
Alexey Kudravtsev 4994c31d39 cleanup 2017-10-11 14:18:56 +03:00
nik 632fd799c7 'Project Structure' dialog: suggest prefix for new module names
If a module group is selected in 'Project Structure' dialog use its name as a prefix for module name if 'New Module' action is invoked (see also IDEA-179968).
2017-10-05 18:43:33 +03:00
nik a496c82a8f project configuration: do not set module groups for new modules (IDEA-179968) 2017-10-05 18:43:33 +03:00
Alexey Kudravtsev 15671bb5eb cleanup 2017-10-05 12:41:40 +03:00
nik 3e6980dc7c Project Structure dialog: show actual module name if 'flatten modules' option is selected (IDEA-179583) 2017-09-29 09:49:09 +03:00
nik d92b2473e1 Project Structure dialog: keep module name after changing selection (IDEA-179580) 2017-09-29 09:47:51 +03:00
Anna.Kozlova 0a9c875608 avoid 'null' string in version; cleanup to showAndGet(IDEA-CR-24915) 2017-09-28 19:35:39 +02:00
Anna.Kozlova ff5f84987c add external library: show dialog with download suggestion (IDEA-CR-24915) 2017-09-28 17:32:23 +02:00
Alexey Kudravtsev dd8d43edae IDEA-164682 Removing sdk leads to exception
Rewritten SDK roots storage to use virtual file pointers to fix exceptions on load.
Corresponding virtual file pointer's listener is used for informing ProjectRootManagerComponent of changed roots directly,
eliminating need for all roots enumeration on each vfp change to determine if the "rootsChanged" event should be fired,
which is good for performance.
2017-09-27 18:23:00 +03:00
Anna.Kozlova 2385b9b775 download external dependency for idea model
remove junit 5 from distribution
2017-09-27 15:47:03 +02:00
Tagir Valeev 96f952c60c Collections.addAll applied; some more warnings fixed 2017-09-27 16:07:55 +07:00
Alexey Kudravtsev 2df193d143 cleanup 2017-09-26 17:31:45 +03:00
Gregory.Shrago 32e8d3b4e2 lambda-friendly factories 2017-09-23 05:01:41 +03:00
Alexey Kudravtsev 5d461e1178 renamed createMap() to create() to keep the old createMap() signature for some lugging plugins compatibility 2017-09-21 14:30:45 +03:00
Dmitry Avdeev 57b22e8509 EA-102449 - NPE: NewModuleAction.createModuleFromWizard 2017-09-19 15:14:47 +03:00
stsypanov c844f5731b get rid of excess usage of Arrays.asList(T...)
GitHub pull request: https://github.com/JetBrains/intellij-community/pull/625
2017-09-15 15:17:27 +07:00
nik a666267179 project structure: detect JAR files containing native libraries only as classes roots (IDEA-135750)
FileTypeBasedRootFilter refactored to DescendentBasedRootFilter to allow this.
2017-09-14 20:00:48 +03:00
nik 046bcb798a convert to repository library: add test for multiple maven coords
Also test is rewritten to create a mock JAR instead of using real library, so it won't fail when library version changes.
2017-09-14 20:00:48 +03:00
Eugene Zhuravlev db01809a21 repository library creation dialog: do not disable OK button initially (IDEA-177111) 2017-09-07 15:19:58 +03:00
nik 1db28ad354 repository libraries: add option to exclude transitive dependencies (IDEA-178557) 2017-09-07 12:28:59 +02:00
Yaroslav Pankratyev 46b888e173 Merge branch 'ypankratyev/devkit_new_service_action' 2017-08-29 16:16:59 +07:00
Alexey Kudravtsev a9445a125e notnull, cleanup 2017-08-24 16:38:45 +03:00
Alexey Kudravtsev f02a1cdd7d notnull, cleanup 2017-08-24 16:38:44 +03:00