66 Commits

Author SHA1 Message Date
Yann Cébron
0a4ac6f6d7 code samples: gradle 6.5 2020-06-22 15:17:14 +02:00
Yann Cébron
2507511d17 gradle-intellij-plugin 0.4.21 2020-05-13 10:49:39 +02:00
JohnHake
62f1dd02a2 [build.gradle] change to sinceBuild and untilBuild for 201 2020-05-12 15:04:48 -07:00
JohnHake
2f211997c5 [code samples] correct buildSearchableOptions 2020-05-08 12:03:14 -07:00
Yann Cébron
4cc7df8d65 [simple language plugin] reference on externalizing idea.home.path 2020-05-08 17:19:22 +02:00
Yann Cébron
0085bc9eb9 [simple language plugin] add missing copyrights 2020-05-08 12:27:27 +02:00
JohnHake
6d3afaccc4 [code samples] disable building searchable options IJSDK-792 2020-05-07 13:04:17 -07:00
Yann Cébron
415c622c57 gradle-intellij-plugin 0.4.20 2020-05-06 19:48:29 +02:00
Yann Cébron
0f33aa6c29 code samples: build.gradle cleanup 2020-04-24 14:58:26 +02:00
Yann Cébron
cc85d4802e build.gradle: use testImplementation instead of deprecated testCompile 2020-04-24 11:28:07 +02:00
Jakub Chrzanowski
8976bc4900 [Code Samples Inspection] Java > Java language level migration aids > Java 8 > Statement lambda can be replaced with expression lambda 2020-04-16 12:01:49 +02:00
Jakub Chrzanowski
6fe750e8f1 [Code Samples Inspection] Java > Java language level migration aids > Java 8 > Anonymous type can be replaced with lambda 2020-04-16 12:00:10 +02:00
Jakub Chrzanowski
115c3153d3 [Code Samples Inspection] Java > Code style issues > Field may be 'final' 2020-04-16 11:57:35 +02:00
Jakub Chrzanowski
6cef512fe3 [Code Samples Inspection] Proofreading > Typo 2020-04-16 11:31:29 +02:00
Jakub Chrzanowski
e8beed4f07 [Code Samples Inspection] Java > Internationalization > Incorrect string capitalization 2020-04-16 11:21:20 +02:00
Jakub Chrzanowski
155da20ced [Code Samples Inspection] Redundant suppression 2020-04-16 11:13:02 +02:00
JohnHake
92d0e89714 [simple language] fix parsing test failures
regenerate files after TPV-5209
2020-04-13 09:59:20 -07:00
Jakub Chrzanowski
ff6544a3fe TPV-5209 http -> https 2020-04-13 12:09:48 +02:00
JohnHake
42569d0d34 [code samples] Update to 2020.1 IntelliJ Platform IJSDK-802 2020-04-09 11:12:46 -07:00
Yann Cébron
15546e0a63 gradle-intellij-plugin 0.4.18 2020-04-02 11:40:17 +02:00
JohnHake
c9f8567168 [code samples] update to 2019.3.4 platform 2020-03-27 13:55:09 -07:00
Yann Cébron
ef27d1d1fc gradle-intellij-plugin 0.4.17 2020-03-24 11:20:17 +01:00
JohnHake
137a0e9f6e IJSDK-424 2020-03-18 18:42:50 -07:00
Yann Cébron
f428d37db5 [simple language] SimplePsiImplUtil: cleanup 2020-03-06 17:18:21 +01:00
Yann Cébron
6e6f3d7193 [code samples] remove explicit type 2020-03-06 17:14:43 +01:00
Yann Cébron
b52341f6fa [simple language plugin] SimpleStructureViewElement: cleanup 2020-03-06 17:02:10 +01:00
Yann Cébron
88a03f4c25 [code samples] add missing @NotNull 2020-03-06 16:59:29 +01:00
JohnHake
bb86791741 New Copyright in code samples 2020-02-19 21:51:48 -08:00
John Hake
4f7d478769
Merge pull request #251 from olada/patch-1
Fix typo
2020-02-16 12:03:39 -08:00
David
1b04b36700
Fix typo 2020-02-16 14:33:03 +01:00
JohnHake
5e88e10f90 No "_" in <id> 2020-02-15 20:13:54 -08:00
Jakub Chrzanowski
2e85ac7f35 IJSDK-786 Convert code sample "run_configuration" to Gradle 2020-02-14 11:28:52 +01:00
JohnHake
d3a7850018 Clarify EPs 2020-02-13 13:43:25 -08:00
JohnHake
479ebabe33 Incorporate PR247 2020-02-12 12:40:28 -08:00
JohnHake
b6a9cff1ba Draft Complete 2020-02-12 12:24:49 -08:00
JohnHake
c83e24d8bd Checkpoint IJSDK-479B 2020-02-11 19:35:37 -08:00
JohnHake
605d747a2e Incorporate Review 2020-02-10 09:15:27 -08:00
JohnHake
65dd82041f Delete DevKit, add Gradle simple_language_plugin 2020-02-05 20:39:11 -08:00
JohnHake
a4688028c5 Add simple_language and updates to simple_language_plugin 2020-02-05 19:28:43 -08:00
mongolyy
4fdc2770f7
Add override annotation 2019-12-26 16:07:28 +09:00
Dmitry Jemerov
88ca00034e Avoid "leaf token" warning in SimpleLineMarkerProvider 2019-10-11 14:05:51 +02:00
JohnHake
56ff3418e2 Fix text ranges 2019-10-07 13:39:02 -07:00
JohnHake
9b03c3b52a Fixed missing <depends> elements, refactored obsolete kotlin_demo. 2019-06-13 16:59:30 -07:00
John Hake
753b73daef Cleanup build warnings, updated since-build, removed ModuleComponent. (#154)
* Cleanup build warnings, updated since-build, removed ModuleComponent.

* Refactor facet_basics for functionality/clarity. Incorporate feedback.

* Incorporate additional feedback.
2019-03-11 19:13:44 +01:00
Yann Cébron
da7f650d6a Simple Language Plugin: cleanup plugin.xml 2018-12-18 09:42:02 +01:00
Steve Ramage
c551dd0d48
Update Simple.flex
Changed the fallback character from . to [^] since this serves as a basis of other lexers.
2018-08-22 18:26:49 -07:00
Dmitry Jemerov
e994ab2ed3 Fix nullability issues in SimpleStructureViewElement (IJSDK-333) 2018-03-19 12:18:43 +01:00
Vitalii Dmitriev
10efd969a9
Remove passing a file extension explicitly.
Hello!

In this code, the `SimpleFileType` instance passed as the first argument and the `"simple"` file extension as the second parameter.

As far as I can see in FileTypeManagerImpl:263:
```java
@Override
public void consume(@NotNull FileType fileType) {
  register(fileType, parse(fileType.getDefaultExtension()));
}
```
There is no need to declare it explicitly as it is taken by calling `SimpleFileType.#getDefaultExtension()` by default, so this parameter is redundant.

To make tutorial more simple, I suggest this removal: seeing the second parameter is a bit confusing when we're passing the same value, returned from `getDefaultExtension()`.
Since the tutorial shows the basics, not a flexibility of an API, the parameter can be removed.

Thanks!
2018-02-13 23:12:24 +03:00
Matt Ellis
752347cf5e Update custom language tutorial 2017-10-12 12:11:42 +01:00
Ian Lesperance
a725cd52f8 Explicitly depend on SimpleLanguage.INSTANCE (#34)
The use of `Language.findInstance()` implicitly depended on the fact that
`SimpleLanguage.INSTANCE` was referenced at some earlier point in time. In this
case, that happens because the instantiation of `SimpleParserDefinition`
triggers the instantiation of `COMMENTS`, which relies on
`SimpleTypes.COMMENT`.

When basing one's work on this sample project, however, one may run into
issues. Specifically, the absence of a custom comment token type will mean a
failure to correctly instantiate the singleton language object. Making the
dependence on `SimpleLanguage.INSTANCE` explicit prevents that issue from
occurring.
2017-02-16 00:12:29 +03:00