Commit Graph
138 Commits
Author SHA1 Message Date
Pavel Dolgov 2d4988586f Javafx: Fix NPE in FXML completion. Test added (IDEA-153746) 2016-03-29 15:52:51 +03:00
Pavel Dolgov 40d8250dbd Javafx: FXML tag name completion fix - don't suggest type parameter of raw collection. Cache property types when computing completion list. Test added, similar tests simplified. (IDEA-153663) 2016-03-29 13:42:44 +03:00
Pavel Dolgov dc6432c9e0 Javafx: Refactor tests: get rid of cumbersome helper method (IDEA-150446) 2016-03-25 16:23:08 +03:00
Pavel Dolgov 3bc362a03d Javafx: Improve completion for property tags: offer names of non-abstract class compatible with the property type. Test added. (IDEA-103596) 2016-03-25 16:23:08 +03:00
Pavel Dolgov 413c43eb5f Javafx: Validate property tags. Check that value provided by property's nested tag(s) is compatible with or convertible to the property type. Show warning for conversion of unrelated types: technically it might work, but usually not in the way the user expects. Validate enum constants provided in fx:value attribute. Tests added. (IDEA-103596) 2016-03-25 15:10:09 +03:00
Pavel Dolgov 4112f22f44 Javafx: FXML inspection that validates event handler methods' signature. Code cleanup, move reused methods to utility class. Tests updated. (IDEA-151694) 2016-03-23 13:51:13 +03:00
Pavel Dolgov b0326abca2 Javafx: Handle wildcard event type in the quick fix that creates event handler method. Add test for that. (IDEA-151694) 2016-03-21 21:21:22 +03:00
Pavel Dolgov bbc9b62df0 Javafx: Simplify tests on event handler methods' signature. Implement quick fix that corrects the event handler method's signature. Move reused code to utility class. Add tests for the quick fix. (IDEA-151694) 2016-03-21 20:50:14 +03:00
Pavel Dolgov 9c7465fb1e javafx: Add properties defined with @NamedArg to the resources for inspection of redundant FXML attributes and tags, don't add to the resources properties having ambiguous definitions (IDEA-102276) 2016-03-18 19:05:59 +03:00
Pavel Dolgov 29826da46c Javafx: FXML inspection that validates event handler methods' signature. Use full generic event type in quickfix that creates event handler method. Use multi-reference for navigating to ambiguous event handler methods. (IDEA-151694) 2016-03-18 15:02:45 +03:00
Pavel Dolgov ae45842678 Javafx: Move RemoveTagIntentionFix to the XMl plug-in for further reuse, don't do code formatting after removing tag to avoid excessive changes. Tests updated 2016-03-11 19:55:01 +03:00
Pavel Dolgov 5bc0d94602 Javafx: Add inspection in FXML to validate that RGB color components are in valid range (IDEA-103956) 2016-03-11 18:22:45 +03:00
Anna Kozlova 245548a97a javafx mock replaced with jar from the jdk on which tests are run 2016-03-10 09:08:15 +01:00
Anna Kozlova e236142e42 javafx: extract common setup for javafx library 2016-03-10 09:08:15 +01:00
Pavel Dolgov f62c7fee85 javafx: Improve comparison of primitive values in the inspection of redundant FXML attributes and tags, test renamed to match the inspection name (IDEA-102276) 2016-03-04 13:23:30 +03:00
Pavel Dolgov 9d0faa9992 javafx: Simplify resources for inspection of redundant FXML attributes and tags, fixed resource reloading after GC, move reused code to utility class (IDEA-102276) 2016-03-03 16:15:59 +03:00
Pavel Dolgov b1a2b1e838 javafx: Inspection of FXML attributes and tags which contain default values and therefore are redundant (IDEA-102276) 2016-03-02 19:59:27 +03:00
Pavel Dolgov c3a34f9372 javafx: Use modern API for sorting completion suggestions, store completion suggestions in cache (IDEA-150446) 2016-02-25 16:48:09 +03:00
Pavel Dolgov bf23fe420b javafx: Rename JavaFxCommonClassNames to JavaFxCommonNames, move Java-related constant from FxmlConstants (which is about FXML) to JavaFxCommonNames (IDEA-150446) 2016-02-24 19:36:01 +03:00
Pavel Dolgov ded93e9573 javafx: Don't highlight as error the built-in "$controller" field and its properties visible in FXML (IDEA-150446) 2016-02-24 17:39:26 +03:00
Pavel Dolgov a94982d8f4 javafx: In FXML fx:id completion offer accessible fields of controller's superclasses, and make sure the field's type fits the tag where fx:id is located (IDEA-142634) 2016-02-17 20:34:37 +03:00
Pavel Dolgov a64610c052 javafx: Added more tests for "Unresolved fx:id reference" inspection quickfix (IDEA-141033) 2016-02-15 16:26:10 +03:00
Pavel Dolgov 6cd5ffbfd7 javafx: "Unresolved fx:id reference" inspection quickfix add @FXML annotation only when needed, and use field visibility from project settings (IDEA-141033) 2016-02-15 15:33:33 +03:00
Anna Kozlova 1880e18fba javafx: accept imports in fx:root tags (IDEA-147975) 2015-11-17 09:34:45 +01:00
Alexey Kudravtsev fdb7afe963 notnull 2015-07-15 16:48:49 +03:00
Anna Kozlova eeded09c18 javafx: unable to coerce check does not make sense for pane's node elements 2015-06-17 20:12:20 +03:00
Anna Kozlova a97341973c EA-69415 - CCE: FxmlReferencesContributor$MyJavaClassReferenceProvider$JavaClassReferenceWrapper.bindToElement 2015-06-15 09:56:01 +03:00
nik 5e1a42ad00 disable JavaFXQuickfixTest on Mac 2015-06-04 21:52:19 +03:00
nik bd3c91a92c disable all JavaFX tests on Mac 2015-06-04 20:54:27 +03:00
nik e6bd840ec1 corrected mistakenly committed local changes 2015-06-04 10:09:22 +03:00
nik 592be88cbd ignore JavaFX tests on Mac properly 2015-06-03 22:02:28 +03:00
nik bb01a50d11 JavaFXHighlightingTest disabled on Mac to avoid crashes 2015-06-03 18:33:51 +03:00
nik 5de81e674e LightFixtureCompletionTestCase moved to testFramework-java to remove dependencies on 'java-tests' from 'javaFX' modules 2015-06-03 18:33:50 +03:00
nik 92008a098c disable all tests from JavaFXCollapseSubtagToAttributeTest on Mac to avoid craches 2015-05-29 11:37:42 +03:00
nik 5e79ca7b39 test which crashes on Mac disabled 2015-05-27 15:48:20 +03:00
Anna Kozlova cf9caecd5e javafx: check coercing according to resolved refs (IDEA-140244) 2015-05-19 11:07:48 +02:00
Anton Makeev 68a23c5b28 TargetElementUtilBase is deprecated, please use TargetElementUtil 2015-05-11 15:07:39 +02:00
Anna Kozlova 4084262831 fix testdata 2015-03-27 12:11:19 +01:00
Anna Kozlova 08b7035592 good code red: accept classes with @NamedArg annotated constructor params (IDEA-136393) 2015-03-26 18:10:24 +01:00
Anna Kozlova ab8e96f1d3 javafx script engines search: ensure resource found 2014-12-12 19:28:59 +01:00
Anna Kozlova 65360b984e javafx: allow short names in fx:root type attribute (IDEA-133988) 2014-12-08 13:18:30 +01:00
Dmitry Avdeev 127db13c12 create ... fixes: sentence capitalization 2014-12-06 12:48:06 +03:00
Dmitry Avdeev 466b4e442b Create from usage: sentence capitalization 2014-12-06 12:06:31 +03:00
Dmitry Avdeev 25275abdc8 sentence capitalization 2014-12-06 11:38:01 +03:00
Anna Kozlova a9bb3f4122 make test more predictable 2014-10-24 18:36:19 +02:00
Anna Kozlova 2ecc4272ac merge unused declaration and unused symbol inspections 2014-10-14 10:24:58 +02:00
Anna Kozlova 84ee551a36 javafx page script fixed 2014-10-06 17:32:57 +02:00
Alexey Kudravtsev 6f123050a0 wait for reformat to finish 2014-08-25 13:05:46 +04:00
Anna Kozlova eeeaab18be javaFX: support event handlers without underlying fields (IDEA-126754) 2014-07-02 16:35:23 +02:00
Konstantin Bulenkov a80e03c783 New plugin description 2014-02-28 16:30:24 +01:00