Commit Graph

12 Commits

Author SHA1 Message Date
Daniil Tsaryov
89d8e858ff IDEA-301689 [micronaut] Data: MongoDB: support 'ISODate', 'Date' in JSON queries
GitOrigin-RevId: acd3a80f9d28633819e4cc67cd83bf55106a01b5
2022-12-09 10:51:47 +00:00
Daniil Tsaryov
3056a721f1 IDEA-289918 [spring] Mark JsonReferenceLiteralMixin with ContributedReferenceHost
GitOrigin-RevId: 3bd5312cd4ec2d2987cbc2a8975425363bfc9449
2022-10-19 09:09:04 +00:00
Daniil Tsaryov
6ff851cd3e IDEA-289918 [spring] Data: MongoDB: provide the references between the JSON query keys and the document fields
GitOrigin-RevId: d1b9a14e1f466f0e611250099fb14d8d22e103f0
2022-10-17 17:48:38 +00:00
Daniil Tsaryov
772caba669 IDEA-248869 [json] Introduce 'parameter literal' element type to support parameter as a property name
GitOrigin-RevId: 61b2d4ca684503a3a016ee11c14aebe9517c01b6
2022-02-15 14:38:19 +00:00
Daniil Tsaryov
c1f5e66af2 IDEA-248869 [json] Introduce 'parameter' element type
GitOrigin-RevId: 90c701d9022b7b2377f486e1d97bce235f905b2e
2022-02-10 10:25:40 +00:00
Sergey Simonchik
ec5f02f021 json: allow empty .jsonl files (WEB-49403)
Also, allow empty .json files to make creating a new JSON file more pleasant.

GitOrigin-RevId: 707361a11b025917c06758f5c058c144f18eee4f
2021-02-08 20:30:56 +00:00
Anton Lobov
d891c576f7 WEB-34928 JSON Schema reference breaks other references to JSON properties
remove the special "reference" that delegates navigation to schema properties and replace it with a goto-provider
1) it never worked correctly (i.e., rename is not handled properly, etc.)
2) it prevents other references from functioning
2018-09-21 13:03:12 +02:00
Mikhail Golubev
849760597d IDEA-169058 Match symbols "^<>=" as part of a fake identifier in JSON grammar
It contributes to better auto completion of node.js package versions
starting with these characters, since it's no longer necessary to wrap
such versions in quotes first (similarly to what has been done before
for package names).
2017-03-13 17:55:23 +03:00
Mikhail Golubev
3cea313480 Modify JSON grammar to match more general text as IDENTIFIER tokens
It simplifies implementation of completion contributors that
are supposed to give aid in writing various configuration files
making it's possible to start typing some structured content
of a string literal (in particular, name of npm package) not
putting it in quotes first and without need to deal with a series
of TokenType.BAD_CHARACTERs in PSI.

Additionally, in the standard compliance inspection IDENTIFIERS are now
reported as "illegal tokens", since, striclty speaking, they're no
longer just identifiers (though the name is quite confusing now).
2017-01-19 15:07:59 +03:00
Mikhail Golubev
b0d1c1f1bc Fix typo in the name of IDENTIFIER token type in JSON grammar
I re-generated JFlex lexer and GrammarKit parser accordingly. I had to
adjust the macro for WHITE_SPACE token, though, since GrammarKit
generates weird "WHITE_SPACE=\s" for some reason.
2016-11-08 17:02:54 +03:00
Gregory.Shrago
23dc04d2a4 GK 1.4.3: minor grammar fix 2016-10-18 22:22:08 +03:00
Mikhail Golubev
bfee2d9f69 Move json.bnf out of the source root to exclude it from idea.jar 2015-12-17 13:43:22 +03:00