Commit Graph
222362 Commits
Author SHA1 Message Date
Mikhail Golubev b65b315dae PY-29717 Add missing tests on parameter formatting 2018-06-09 15:59:38 +03:00
Mikhail Golubev 67ebed5232 PY-29717 Add links to the containing function in the header for parameters
Also, display shorter function names in "Documentation is copied from"
section of the table.
2018-06-09 15:59:38 +03:00
Mikhail Golubev 17c690d0ab PY-29717 Unify headers for properties and attributes
* normalize capitalization
* get rid of excess <code/> tags inside <pre/>
* use the same way to get links to classes
* always show fully qualified names of definition classes
* don't add base classes for definition classes
2018-06-09 15:59:38 +03:00
Mikhail Golubev f94e80c996 PY-29717 Display qualified name/path of a module for a top-level definition 2018-06-09 15:59:38 +03:00
Mikhail Golubev 530c7d2d74 PY-29717 Display qualified names of classes above methods
Use "containing class" type of link only as a fallback for local classes
2018-06-09 15:59:37 +03:00
Mikhail Golubev 505efb9982 PY-29717 Remove excess trailing spaces and line breaks from plain text docstrings 2018-06-09 15:59:37 +03:00
Mikhail Golubev 4bcb3778cd PY-29717 Remove unused inner class 2018-06-09 15:59:37 +03:00
Mikhail Golubev 6b48a72c62 PY-29717 Initialize TypeEvalContext once for the whole PyDocumentationBuilder 2018-06-09 15:59:37 +03:00
Mikhail Golubev 25988c466a PY-29717 Still mention "Copied from" even if we can't reference the actual source 2018-06-09 15:59:37 +03:00
Mikhail Golubev ca372eb8ca PY-29717 Fix docstring inheritance for constructors and local classes
Also, add more tests on this feature in general.
2018-06-09 15:59:37 +03:00
Mikhail Golubev bfbf0a083a PY-29717 Add proper links on methods 2018-06-09 15:59:37 +03:00
Mikhail Golubev 1bc66f1853 PY-29717 Choose property's definition and docstring to display
applying with the following precedence rules:
Docstring: doc parameter of property() call, docstring of the actual
accessor, docstring of the getter.
Definition: actual accessor, getter.
2018-06-09 15:59:36 +03:00
Mikhail Golubev e31bfd0fce PY-29717 Always display sections in the consistent order 2018-06-09 15:59:36 +03:00
Mikhail Golubev 47327bbd2e PY-29717 Display information about property access type in sections 2018-06-09 15:59:36 +03:00
Mikhail Golubev 8785973ba3 PY-29717 Update Quick Doc format for properties 2018-06-09 15:59:36 +03:00
Mikhail Golubev 36c3fae697 PY-29717 Quick Doc for parameters adheres to new format 2018-06-09 15:59:36 +03:00
Mikhail Golubev bf2ee59a28 PY-29717 Move message about copied docstring to sections 2018-06-09 15:59:36 +03:00
Mikhail Golubev 065ce992dc PY-29717 Wrap both prolog and body in <div class="definition"> block 2018-06-09 15:59:36 +03:00
Mikhail Golubev c3246e9286 PY-29717 Display variable type inline with their name in PEP 526 format
Thanks to it we also started to display types for class and instance
attributes. Also, moved reassignment chain to sections part of Quick
Documentation and display it only when it actually makes sense.
2018-06-09 15:59:35 +03:00
Mikhail Golubev 407ed5f127 PY-29717 Display inferred function type together with its signature 2018-06-09 15:59:35 +03:00
anstarovoyt 4c6ccf0d54 platform: customize label font 2018-06-09 15:43:09 +03:00
Egor Ushakov 3141768ea8 EA-122261 - IOOBE: LineSet.findLineIndex 2018-06-09 15:08:35 +03:00
anstarovoyt d1a937019b platform: quickfixes in tooltips add common color 2018-06-09 14:12:06 +03:00
anstarovoyt 69881fe700 platform: register flag to provider 2018-06-09 13:47:58 +03:00
anstarovoyt ef98a0ccb9 platform: update icon for "more" action in tooltips 2018-06-09 13:44:59 +03:00
anstarovoyt 84047bf9d4 platform: fixes in tooltips
better hide / show / show fixes behavior
enable / disable for options instead of "nothing to do"
2018-06-09 13:44:58 +03:00
anstarovoyt 8a08eb919e platform: show / hide buttons is a part of the renderer 2018-06-09 13:44:58 +03:00
Tagir Valeev 5f5ad9b647 Add "Make inferred annotation explicit" action for parameters to annotation gutter
Fixes IDEA-193480 Unable to add annotations to parameters from the gutter icon
2018-06-09 17:35:41 +07:00
Konstantin Aleev 6d5971e7a4 RunDashboard: show stopped via Exit action configurations as finished 2018-06-09 13:28:26 +03:00
Dmitry Batkovich 1a7f807ebd replace deprecated code 2018-06-09 12:57:56 +03:00
Mikhail Sokolov a349761c8c IDEA-193398 SE multiselection 2018-06-09 12:53:40 +03:00
Mikhail Sokolov 1a73d13442 IDEA-193398 2018-06-09 12:53:40 +03:00
Mikhail Sokolov 563aee6852 IDEA-193398 2018-06-09 12:53:39 +03:00
Dmitry Batkovich ec1749c35b open inspection settings even read/write tool settings failed for unknown reason 2018-06-09 12:51:03 +03:00
Dmitry Batkovich 6cd524b129 simplify InspectionProfileImpl constructor call 2018-06-09 12:51:03 +03:00
Dmitry Batkovich 33ea6d3402 remove useless code 2018-06-09 12:51:03 +03:00
Nikita Skvortsov 87586fb054 watch for ".gradle" scripts, not "gradle" dirs IDEA-193631 2018-06-09 12:30:30 +03:00
Tagir Valeev cda259d255 CharsetObjectCanBeUsedInspection: remove qualifier in static import
Fixes IDEA-193573 IDEA doesn't recornize static import on replacing by StandardCharsets
2018-06-09 16:20:46 +07:00
Sergey Simonchik aee389ebae use isSystemCompatible (IDEA-CR-33396) 2018-06-09 12:12:39 +03:00
Kirill Likhodedov d4251f79b1 vcs: fix tests since content roots inside project are not traversed for vcs roots
Follow-up: 80a4d34
2018-06-09 11:33:41 +03:00
Kirill Likhodedov d18d913fa4 vcs: cleanup: simplify 2018-06-09 11:33:40 +03:00
Egor Ushakov a667a7cf44 EA-122082 - TDDE: TraceableDisposable.throwDisposalError 2018-06-09 10:56:50 +03:00
Kirill Likhodedov 80a4d348a8 vcs: don't scan for vcs roots of content roots, which are under project dir
If a content root is located inside the project base dir, its roots will already be scanned.
On the other hand, if there are a lot of modules, scanning each of it produces a lot of extra work.

Relates to IDEA-174636
2018-06-09 10:42:18 +03:00
Tagir Valeev f042e70b7a NullableNotNullManager#getNullability created and used 2018-06-09 14:37:24 +07:00
Tagir Valeev 91453c1649 Used Nullability instead of Nullness where possible
Nullness is still necessary to preserve compatibility with Kotlin plugin until they migrate
Renamings: (nullness, nullity) -> nullability
2018-06-09 14:29:28 +07:00
Tagir Valeev c8384a57e1 Usage of checkBases-consuming methods reduced 2018-06-09 14:29:27 +07:00
Tagir Valeev ee554a876c NullableNotNullManager: findEffectiveNullabilityAnnotationInfo, findEffectiveNullability
Removed isContainer* methods; more nullability refactoring
2018-06-09 14:29:26 +07:00
Tagir Valeev 49b710611c NullableNotNullManager: getNullable, getNotNull removed
NullableStuffInspectionBase#getPresentableAnnoName: findEffectiveNullabilityAnnotation used
2018-06-09 14:29:25 +07:00
Tagir Valeev 69cc61e6dc Nullability enum introduced; Nullness deprecated 2018-06-09 14:29:24 +07:00
Tagir Valeev 9d99c3840c findEffectiveNullabilityAnnotation: type-check is moved outside of cache 2018-06-09 14:29:24 +07:00