80 Commits

Author SHA1 Message Date
JohnHake
b8e599da74 [simple language] add fixes from PR275 2020-05-11 17:27:02 -07:00
Yann Cébron
2e09d0c622 Custom Language Tutorial: mention gradle-grammarkit-plugin 2020-05-08 12:31:24 +02:00
Yann Cébron
92b7982699 grammar_and_parser.md: link to GK docs, highlight Simple.bnf block 2020-05-08 12:23:27 +02:00
Ganesh Satpute
3972d055c4
Corrected the file name in plugin.xml (#278)
When run the project as per documentation gives an error 
```
2020-04-28 20:13:40,701 [   5378]  ERROR - Types.impl.FileTypeManagerImpl - Incorrect name specified in <fileType>, should be Simple File, actual Simple file [Plugin: org.example.SimplePlugin] 
```
Corrected the file name.
2020-04-28 16:54:00 +02:00
Yann Cébron
7bead165bc fix title capitalization 2020-04-22 15:02:27 +02:00
Yann Cébron
8a65dfe12a blank lines around code blocks 2020-04-22 12:54:06 +02:00
Yann Cébron
bd6691fcda fix some upsource:// links 2020-04-21 15:43:28 +02:00
Yann Cébron
c5cd7aa83e lexer_and_parser_definition.md: missing '.' 2020-04-14 16:26:34 +02:00
Jakub Chrzanowski
ff6544a3fe TPV-5209 http -> https 2020-04-13 12:09:48 +02:00
JohnHake
80129a7641 New Copyright in markdown files 2020-02-19 22:25:03 -08:00
JohnHake
7672f6fbf8 Fix for Link Checker 2020-02-17 00:09:53 -08:00
JohnHake
d3a7850018 Clarify EPs 2020-02-13 13:43:25 -08:00
JohnHake
034dceba8c Editorial cleanup 2020-02-12 18:40:06 -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
fe88cf3f03 Changes driven by plugin revisions 2020-02-10 09:40:22 -08:00
Yann Cébron
530a7b74c1 fix upsource:// links formatting, #2 2019-12-02 14:36:54 +01:00
Yann Cébron
6d70fb2d49 fix upsource:// links formatting 2019-12-02 14:20:06 +01:00
magical-l
3ed72d718e
Update annotator.md
若startOffset不+1,则会包含“website”左侧的冒号;若endOffset不-1,则会包含“website”右侧的引号,两种情况都怪怪的。
if we don't +1 for the 'startOffset', then the colon at the left side of "website" will be included; if we don't -1 for the 'endOffset', then the quote mark at the right side of "website" will be included, and both of them are strange.
--------
另,github仓库的源码(https://github.com/JetBrains/intellij-sdk-docs/blob/master/code_samples/simple_language_plugin/src/com/simpleplugin/SimpleAnnotator.java)有误,如下:
btw,the source code in the repository in github(https://github.com/JetBrains/intellij-sdk-docs/blob/master/code_samples/simple_language_plugin/src/com/simpleplugin/SimpleAnnotator.java) is wrong as below:

```
if (properties.size() == 1) {
          TextRange range = new TextRange(element.getTextRange().getStartOffset() + 7,
                                          element.getTextRange().getStartOffset() + 7);
//new TextRange时endOffset跟startOffset相同。
//endOffset is the same as startOffset while new TextRange.
```
2019-10-01 15:27:37 +08:00
Yann Cébron
1ab901ab8c Language and Filetype: clarify using fileType EP vs FileTypeFactory in 2019.2 2019-07-31 16:15:10 +02:00
Yann Cébron
75bdbf3983 fileType EP: mention "pattern" 2019-07-02 15:47:58 +02:00
John Hake
0a5c351b95
Revert "IJSDK-473" 2019-06-17 21:08:02 -07:00
Yann Cébron
159311bf2c prerequisites.md: use upsource:// link (IJSDK-77) 2019-04-15 15:15:50 +02:00
Yann Cébron
3bd0e6406d Custom Language Tutorial - 4.2.: remove download JFlex image, reword 2019-04-12 17:18:20 +02:00
Yann Cébron
fc1273db5b Custom Language Tutorial - 1. Prerequisites: remove plugin manager image 2019-04-12 17:11:56 +02:00
Yann Cébron
44c17d1b6a SDK Docs: update links, use HTTPS where possible 2019-03-12 11:44:02 +01:00
Yann Cébron
e15d969a3b prerequisites.md: fix links 2019-01-21 11:03:29 +01:00
JohnHake
e5170569d5 ijsdk-461: Replaced redundant content with links to existing content. Deleted redundant images. 2018-09-06 16:59:51 -07:00
retlat
09d25bd18c Fix package name. 2017-11-18 16:23:42 +09:00
Sebastien Vermeille
0922c3c4c1 Update language_and_filetype.md (#54)
That way we know where to place this xml string... I added it in <extensions-points> and of course it doesn't work :/
2017-10-21 12:37:22 +03:00
Matt Ellis
752347cf5e Update custom language tutorial 2017-10-12 12:11:42 +01:00
Matt Ellis
9fc3662cd5 Fix code in annotator tutorial 2017-10-11 17:07:14 +01:00
Matt Ellis
2201846559 Fix tutorial to remove type created in later step 2017-10-06 15:40:24 +01:00
Matt Ellis
1ade5f3c30 Remove next/previous links 2017-10-06 14:55:28 +01:00
Matt Ellis
07309d85be Clarify class name usage and generation 2017-09-29 17:24:48 +01:00
fmodesto
66a8f42fd2 Update snippet code (#45)
* Update snippet code

This makes reference to a future code, requires `com.simpleplugin.psi.impl.SimplePsiImplUtil` which is not implemented until step 6.

* Update grammar_and_parser.md
2017-08-19 11:33:19 +01:00
Matt Ellis
e7619a1b0a Fix broken links (#42)
Also update to sdkdocs-template@e14eae811df1a8e81c9d408cd3bcf0d7b4bc3954
2017-07-14 11:16:58 -06:00
Yann Cébron
328ff227e5 reference_contributor.md: cleanup 2016-11-18 13:46:59 +09:00
Yann Cébron
ae6efb153c quick_fix.md: cleanup 2016-11-18 13:44:27 +09:00
Yann Cébron
c81083a9e4 psi_helper_and_utilities.md: cleanup 2016-11-18 13:42:16 +09:00
Yann Cébron
e08d28e550 lexer_and_parser_definition.md: cleanup 2016-11-18 13:38:50 +09:00
Yann Cébron
2b8e505ea9 grammar_and_parser.md: cleanup 2016-11-18 13:36:52 +09:00
Yann Cébron
5c0352ae0d go_to_symbol_contributor.md: cleanup 2016-11-18 13:34:28 +09:00
Yann Cébron
c0d88ac10b formatter.md: cleanup 2016-11-18 13:33:12 +09:00
Yann Cébron
c6ed530ac9 commenter.md: cleanup 2016-11-18 13:30:52 +09:00
cheptsov
9bbb721615 IJSDK-203 Confusing grammar and no info on comments and whitespaces (documentation fix) 2016-11-03 17:02:57 +01:00
Yann Cébron
404f3f4577 IJSDK-76 Optimize screenshot file sizes 2016-10-27 10:46:40 +02:00
Breandan Considine
784b8cd31e Fixes #IJSDK-133, we can't reference the complete grammar file until later in the tutorial 2016-03-21 18:15:30 -04:00
Breandan Considine
b8fb86ac63 Fix broken links and remove author template 2016-03-21 17:29:12 -04:00
Breandan Considine
778cfa08a8 Fix broken links and cross reference more sample code 2016-03-21 16:47:39 -04:00