202 Commits

Author SHA1 Message Date
John Hake
34326f2432 Themes documentation IJSDK-491 (#143)
* Initial theme

* JSON theme construction and integration with sdk project. Added theme documentation.

* Added images and review feedback

* Added internal mode and internal actions documentation

* More feedback

* Removed stub internal menu entries.

* Reduced use of images, clarified IntelliJ Platform, IDE.

* OlyaB feedback and compress images

* Moved json file to resources folder

* 19.1 -> 2019.1

* Strong note about availability of Custom UI Themes

* Removed reference to UiDefaultsHardcodedKeys.java

* Added IJSDK-567 content + cautioning UI Control keys may be deprecated.

* Better SVG icons, clarify macOS scroll bar name attributes.

* Generalize IntelliJ references, soften description of High Contrast scheme file as reference.

* Updated custom color editor scheme descriptions.

* Corrected position of editor scheme declaration.
2019-03-14 10:43:03 +01:00
John Hake
4baf7c704e 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
JJ Brown
0dca50d851 Removed boilerplate code from example with lambdas
Given the advent of Java 8, anonymous classes for one-line commands are more visual distraction than they are helpful.
I replaced the two used here as action listeners for buttons with equivalent lambdas.
2019-02-23 12:08:10 -06:00
Yann Cébron
3124f8674d gradle_plugin_demo: upgrade to 0.4.2 2019-02-05 21:02:51 +01:00
Yann Cébron
448ac5e1c0 Code Samples: cleanup plugin.xml 2018-12-18 10:34:40 +01:00
Yann Cébron
c19be9cb7b Simple Language Plugin: cleanup plugin.xml 2018-12-18 09:42:02 +01:00
Bouke Versteegh
d374ad22ce Bind ToolWindow to per project object, not global ToolWindowFactory 2018-11-04 22:16:24 +01:00
Alexander Zolotov
537b7f8f01 Upgrade gradle_plugin_demo module 2018-10-17 20:00:39 +03:00
Dmitry Jemerov
a844aada0d Merge pull request #108 from JohnHake/master
Refactor register_actions code and documentation.
2018-08-23 12:14:06 +02:00
Steve Ramage
45e7f3cf97 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
JohnHake
b3cf5b060c Added use of Navigatable object. Updated doc page to suit. 2018-08-20 21:45:50 -07:00
JohnHake
b2b2bd1480 Added display of Psi element to dialog 2018-08-20 09:28:30 -07:00
JohnHake
8346970945 Incorporated feedback from pull request. 2018-08-17 08:21:34 -07:00
JohnHake
9f9925a2ae Refactoring and documentation updates complete. Still needs testing 2018-08-13 18:26:44 -07:00
JohnHake
442df758f6 Updated grouping_action document and associated images. A few tweaks to source files for doc purposes. 2018-08-13 15:32:58 -07:00
JohnHake
57637b6edb Initial refactoring of register_actions. Still has some superflous classes. 2018-08-12 21:13:20 -07:00
JohnHake
41733505ef Fixed accidental deletion of <exclude-output /> 2018-08-07 17:07:07 -07:00
JohnHake
50a6003b4d Refactored psi demo directory & module structure. 2018-08-05 21:40:37 -07:00
JohnHake
c1ef653118 Reformat testData files to default IDE code style. Housekeeping changes to YourTest 2018-08-03 09:38:02 -07:00
Dmitry Jemerov
441cea6a76 Fix test of conditional operator intention 2018-08-02 16:30:24 +02:00
Dmitry Jemerov
08a65f735c "Navigating the PSI" and "PSI References" sections 2018-04-23 15:33:47 +02:00
Dmitry Jemerov
d086363559 Fix nullability issues in SimpleStructureViewElement (IJSDK-333) 2018-03-19 12:18:43 +01:00
Dmitry Jemerov
8837d36e1a Clean up editor tutorial 2018-03-16 16:19:00 +01:00
Dmitry Jemerov
9527b9a41e Update Gradle plugin version and instructions 2018-03-16 12:18:26 +01:00
Yann Cébron
748cc33e9d sample plugins: remove use of "use-idea-classloader" in plugin.xml 2018-03-15 10:51:37 +01:00
Dmitry Jemerov
0caaec2817 Update action system tutorial
Clean up structure, link from necessary places, update sample plugin
code to demonstrate best practices, fix some English
2018-03-11 21:42:15 +01:00
Vitalii Dmitriev
f0c2d8a50c 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
Yao
77113c1a6d remove unused ModuleType/Builder#getBigIcon according to this commit a09fc34ef2 (diff-6180cd1c5f27463e1236dfdea209a49c) (#60) 2017-11-04 18:00:07 +03:00
Matt Ellis
825956dde6 Update custom language tutorial 2017-10-12 12:11:42 +01:00
Ian Lesperance
78fc8cfd63 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
Yann Cébron
c2b516af32 gradle_plugin_demo: cleanup plugin.xml 2016-12-18 19:21:49 +01:00
Ekaterina Prigara
34e74f0676 Updated code snippets in Gradle tutorial 2016-12-05 15:04:01 +01:00
Yann Cébron
d452237c40 plugin descriptors: remove obsolete idea-plugin@version attribute (IDEA-163694) 2016-11-11 17:48:01 +01:00
cheptsov
6bcf8623e5 IJSDK-203 Confusing grammar and no info on comments and whitespaces 2016-11-03 16:45:34 +01:00
cheptsov
e3943a8d71 IJSDK-203 Confusing grammar and no info on comments and whitespaces 2016-11-03 13:23:01 +01:00
Yann Cébron
780bfb2863 sample projects plugin.xml: typos 2016-11-02 21:30:36 +01:00
Yann Cébron
a86e2b4480 sample projects plugin.xml: update confluence to jetbrains.org links 2016-11-02 21:26:45 +01:00
Yann Cébron
31ee8100bc project_model demo: fix plugin name 2016-11-02 21:06:54 +01:00
Yann Cébron
972a3ccf1b project_view_pane demo: fix plugin name/description 2016-11-02 21:05:57 +01:00
cheptsov
b31ca385c9 Fixed broken tests and compilation
Rollbacked some of Breandan's changes
2016-11-02 14:42:59 +01:00
Yann Cébron
189fa4c03b IJSDK-76 Optimize screenshot file sizes 2016-10-27 10:46:40 +02:00
Breandan Considine
7d6ac1b454 Fix broken links and remove author template 2016-03-21 17:29:12 -04:00
Breandan Considine
89638a3694 Prefer wildcard imports to maximize vertical visibility in code samples
Too bad there isn't a way to filter lines with Jekyll Liquid tags
2016-03-21 16:59:17 -04:00
Breandan Considine
615676f911 Fix some platform API change 2016-03-21 16:09:23 -04:00
Breandan Considine
7b03fa6f39 Tidy up code samples and wrap at 80 chars #IJSDK-24 2016-03-21 16:08:47 -04:00
breandan
4773cbe81e Add links to example Kotlin projects for the IntelliJ Platform 2016-01-28 06:52:50 -08:00
breandan considine
e2e94dadb4 First build for GH pages 2016-01-14 19:38:06 -08:00
breandan
9c6f9f06bb Live template tutorial pt. 2 2016-01-12 00:39:50 -08:00
breandan
c1bd6fa8e6 New Live Template tutorial 2016-01-12 00:32:32 -08:00
breandan
d2f6fdd4a7 Leverage caching to speed up Docker builds
Implement technique described here: http://ilikestuffblog.com/2014/01/06/how-to-skip-bundle-install-when-deploying-a-rails-app-to-docker/
2015-12-19 03:35:55 -05:00