Commit Graph

206 Commits

Author SHA1 Message Date
Anna Kozlova
2b3482d76b i18n: javafx
GitOrigin-RevId: 965b90ad8ee53204f2598d762bd218fb18a91f24
2020-08-25 09:07:09 +00:00
Anna Kozlova
1c0c6c5dc1 javafx: don't request dollar in imports (IDEA-190964)
GitOrigin-RevId: 9b977b38a4fdd3f13b6c7bc6a246aaebcbf41bbe
2020-07-15 09:54:54 +00:00
Peter Gromov
6d71b92a62 make synthetic enum valueOf/values methods part of PsiClass#getMethods
because all other synthetic methods from records and plugins are also there
inspired by IDEA-CR-57031

GitOrigin-RevId: 9a8b345adaded83fe13980a28db5d9f9acc7450d
2020-01-21 06:38:24 +00:00
Anna.Kozlova
99d01ccd8c don't make raw type equal to anything else (IDEA-192037) 2018-05-17 11:28:24 +02:00
Daniil Ovchinnikov
40a99caac6 fix SIOOBE (EA-116377) 2018-02-28 17:05:35 +03:00
Daniil Ovchinnikov
3b74a37ba5 fix the test: now it is possible to render methods from XML in Groovy 2018-02-28 13:25:15 +03:00
Daniil Ovchinnikov
51395418c1 [jvm-lang] port JavaFX event handler reference fixes 2017-09-07 17:25:49 +03:00
Alexey Kudravtsev
3f2fd61a78 assertion enforced (in tests only for now) that line markers must be registered on leaf elements only instead of composites. The latter may cause highlighting blinking but nobody reads javadoc nowadays. 2017-08-09 13:25:04 +03:00
Nicolay Mitropolsky
7c464c65a1 Update JavaFxEventHandlerReference to new JvmCommonIntentionActionsFactory API (IDEA-172229) 2017-07-05 19:37:24 +03:00
Pavel Dolgov
6c92cb1d43 Javafx: Added test for implicit usages of @FXML-annotated fields/method (IDEA-167778, IDEA-CR-18453) 2017-03-29 13:11:04 +03:00
Pavel Dolgov
ca54c8fa1f Javafx: Added tests for JavaFxColorProvider - number format for JavaFX colors in Java source (IDEA-167948) 2017-02-16 13:20:18 +03:00
Pavel Dolgov
8de4d31a5a Javafx: Added tests for JavaFxColorProvider - check that the color component is in the range (EA-96689) 2017-02-15 14:47:18 +03:00
Pavel Dolgov
40864f8b70 Javafx: Don't mark as an error the FXML attribute corresponding to a constructor argument annotated with @NamedArg (IDEA-165983) 2017-01-12 13:14:33 +03:00
Pavel Dolgov
74e42ee761 Javafx: "Wrap field with JavaFx property" intention - added test for adding/deleting FXML files (IDEA-102430) 2016-10-28 14:59:42 +03:00
Pavel Dolgov
1556430784 Javafx: "Wrap field with JavaFx property" intention - use ProgressIndicator and TransactionGuard when performing the refactoring (IDEA-102430) 2016-10-26 21:34:39 +03:00
Pavel Dolgov
5706a80f78 Javafx: "Wrap field with JavaFx property" intention (IDEA-102430) 2016-10-17 20:13:40 +03:00
Pavel Dolgov
cf47b17b49 Javafx: Migration to JDK 9 (IDEA-157536) 2016-10-07 17:35:35 +03:00
Pavel Dolgov
0024b81709 Javafx: Allow to use fx:id of a node in expressions within the same node - test added (IDEA-161627) 2016-10-06 13:16:30 +03:00
Pavel Dolgov
12d71ce0d4 Javafx: Created inspection that validates attribute values provided in a resource bundle (IDEA-100213) 2016-09-14 14:46:34 +03:00
Pavel Dolgov
c703152ebf Javafx: Support resolution of resource keys (IDEA-100213) 2016-09-13 12:54:59 +03:00
Pavel Dolgov
5813976925 Javafx: Don't show number format error for resource keys (IDEA-160452) 2016-09-12 13:01:25 +03:00
Pavel Dolgov
49fd96c74a Javafx: Rename nested controller field along with the corresponding fx:id attribute or field (IDEA-153810) 2016-06-17 19:39:10 +03:00
Pavel Dolgov
528c63497e Javafx: Resolve $null symbol and ${null} expression in FXML (IDEA-112153) 2016-06-14 16:18:53 +03:00
Pavel Dolgov
85c75a9f79 Javafx: Don't report default tag problem when the default tag is a collection and its contents is also a collection. Move a reused method to utility class. Tests added. (IDEA-153662) 2016-05-18 16:23:02 +03:00
Pavel Dolgov
0777e2e8ab Javafx: Take into account member visibility settings when creating event handler method for FXML. Tests added. (IDEA-151695) 2016-05-13 12:04:12 +03:00
Pavel Dolgov
259435bbc8 Javafx: Highlighting for private event handler methods marked with @FXML (IDEA-151633) 2016-05-12 19:46:18 +03:00
Pavel Dolgov
b185aaf61e Javafx: Update FXML when renaming private event handler method in controller's superclass. Test added. Introduced fixture-based common superclass for rename tests. (IDEA-154116) 2016-05-10 18:02:15 +03:00
Pavel Dolgov
708074dec9 Javafx: Search static property occurrences in FXML using plain text search, remove redundant index. (IDEA-105038, IDEA-105231) 2016-04-28 19:54:53 +03:00
Pavel Dolgov
06c8b177bc Javafx: Rename static FXML property and corresponding static Java method simultaneously. Add index of FXML imports. Add searcher for Java methods referenced in FXML. Move reusable code to base class. Tests added. (IDEA-105038, IDEA-105231) 2016-04-27 18:50:53 +03:00
Pavel Dolgov
3f508d40d6 Javafx: Rename static FXML property and corresponding static Java method simultaneously. Add index of FXML imports. Add searcher for Java methods referenced in FXML. Tests added (IDEA-105038, IDEA-105231) 2016-04-27 18:50:53 +03:00
Pavel Dolgov
2ec46ccccc Javafx: Don't allow renaming built-in $controller property, take two. Fixed boolean getter generation and renaming. Utility methods simplified. Tests added (IDEA-153758, IDEA-153751) 2016-04-22 12:07:00 +03:00
Pavel Dolgov
1cde5021be Javafx: Fix highlighting and completion for css file names in FXML stylesheets property, both attribute and tag. Tests added (IDEA-154244) 2016-04-08 13:00:39 +03:00
Pavel Dolgov
b7fe0c4c96 Javafx: Don't highlight absolute (remote) URL as invalid in FXML. Test added (IDEA-154132) 2016-04-07 19:15:45 +03:00
Pavel Dolgov
ab14d9220f Javafx: Allow fx:value attribute's value to start with $ character. Test added (IDEA-154239) 2016-04-07 16:48:03 +03:00
Pavel Dolgov
6415c4cd8a Javafx: Fixed highlighting and imports of nested classes and enums in FXML. Test added (IDEA-154131) 2016-04-07 12:53:02 +03:00
Pavel Dolgov
fc27b307b4 Javafx: Regression fixed - allow enum constants in fx:value attribute. Tests added 2016-04-06 17:32:26 +03:00
Pavel Dolgov
d449cb57fa Javafx: In FXML completion for event handler take care of superclasses' generic parameters (IDEA-154115) 2016-04-05 18:16:07 +03:00
Pavel Dolgov
e52eb35339 Javafx: In FXML completion for event handler show methods from controller's superclasses (IDEA-154115) 2016-04-05 16:30:33 +03:00
Pavel Dolgov
03e8a8751c Javafx: In FXML event handler inspection provide possibility to change the type of the field mentioned in fx:id to match the event handler signature (IDEA-153637) 2016-04-04 16:04:46 +03:00
Pavel Dolgov
0f7e621918 Javafx: Don't show private methods as unresolved, show them as not accessible from FXML (IDEA-153671) 2016-04-01 17:28:43 +03:00
Pavel Dolgov
e0e5ef5655 Javafx: Validate type of constants and factory methods in FXML attributes fx:constant and fx:factory (IDEA-153811) 2016-04-01 15:17:32 +03:00
Anna.Kozlova
bf5998c1f5 javafx: allow to insert inner class import in tests 2016-04-01 14:11:05 +02:00
Pavel Dolgov
8c21082956 Javafx: In completion for fx:constant attribute offer constants from superclass (IDEA-153813) 2016-04-01 11:28:17 +03:00
Pavel Dolgov
7f9f2761bd Javafx: Regression test added for the RGB color components inspection (IDEA-153647) 2016-03-31 18:51:22 +03:00
Pavel Dolgov
7959524d1b Javafx: In quickfix that creates FXML event handler don't specify unresolved genetic parameters in argument type. Tests added (IDEA-153589) 2016-03-31 18:02:08 +03:00
Pavel Dolgov
77b5d5469c Javafx: Fixed resolving variables and getter chains in FXML property expressions. Tests added (IDEA-153754) 2016-03-30 20:04:28 +03:00
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
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