[custom language] IJSDK-829 Update screenshots to display https
Resize images; remove some Liquid {:width=} tags Remove errant newline at end of ParsingTestData.simple
@ -14,4 +14,4 @@ tab : \u0009
|
|||||||
# test for illegal key attempt
|
# test for illegal key attempt
|
||||||
key\
|
key\
|
||||||
with\
|
with\
|
||||||
endofline = test
|
endofline = test
|
@ -32,4 +32,4 @@ Select **Code \| Comment with Line Comment**.
|
|||||||
The line is converted to a comment.
|
The line is converted to a comment.
|
||||||
Select **Code \| Comment with Line Comment** again, and the comment is converted back to active code.
|
Select **Code \| Comment with Line Comment** again, and the comment is converted back to active code.
|
||||||
|
|
||||||
{:width="800px"}
|

|
||||||
|
@ -34,4 +34,4 @@ Run the `simple_language_plugin` in a Development Instance and open the [`test.s
|
|||||||
Erase the property "English" and invoke [Basic Code Completion](https://www.jetbrains.com/help/idea/auto-completing-code.html#invoke-basic-completion).
|
Erase the property "English" and invoke [Basic Code Completion](https://www.jetbrains.com/help/idea/auto-completing-code.html#invoke-basic-completion).
|
||||||
The choice "Hello" is shown:
|
The choice "Hello" is shown:
|
||||||
|
|
||||||
{:width="800px"}
|

|
||||||
|
@ -34,4 +34,4 @@ The `SimpleFindUsagesProvider` implementation is registered with the IntelliJ Pl
|
|||||||
Rebuild the project, and run `simple_language_plugin` in a Development Instance.
|
Rebuild the project, and run `simple_language_plugin` in a Development Instance.
|
||||||
The IDE now supports [Find Usages](https://www.jetbrains.com/help/idea/find-highlight-usages.html) for any property with a reference:
|
The IDE now supports [Find Usages](https://www.jetbrains.com/help/idea/find-highlight-usages.html) for any property with a reference:
|
||||||
|
|
||||||
{:width="800px"}
|

|
||||||
|
@ -44,4 +44,4 @@ Now when a Java file is opened in the Editor, it shows the property's value inst
|
|||||||
This is because `SimpleFoldingBuilder.isCollapsedByDefault()` always returns `true`.
|
This is because `SimpleFoldingBuilder.isCollapsedByDefault()` always returns `true`.
|
||||||
Try using **Code \| Folding \| Expand All** to show the key rather than the value.
|
Try using **Code \| Folding \| Expand All** to show the key rather than the value.
|
||||||
|
|
||||||
{:width="800px"}
|

|
||||||
|
@ -46,4 +46,4 @@ The `SimpleFormattingModelBuilder` implementation is registered with the Intelli
|
|||||||
Add some extra spaces around the `=` separator between `language` and `English`.
|
Add some extra spaces around the `=` separator between `language` and `English`.
|
||||||
Reformat the code by selecting **Code \| Show Reformat File Dialog** and choose **Run**.
|
Reformat the code by selecting **Code \| Show Reformat File Dialog** and choose **Run**.
|
||||||
|
|
||||||
{:width="800px"}
|

|
||||||
|
Before Width: | Height: | Size: 184 KiB After Width: | Height: | Size: 188 KiB |
Before Width: | Height: | Size: 195 KiB After Width: | Height: | Size: 157 KiB |
Before Width: | Height: | Size: 217 KiB After Width: | Height: | Size: 132 KiB |
Before Width: | Height: | Size: 161 KiB After Width: | Height: | Size: 146 KiB |
Before Width: | Height: | Size: 193 KiB After Width: | Height: | Size: 150 KiB |
Before Width: | Height: | Size: 226 KiB After Width: | Height: | Size: 85 KiB |
Before Width: | Height: | Size: 423 KiB After Width: | Height: | Size: 315 KiB |
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 132 KiB |
Before Width: | Height: | Size: 242 KiB After Width: | Height: | Size: 226 KiB |
Before Width: | Height: | Size: 153 KiB After Width: | Height: | Size: 110 KiB |
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 121 KiB |
@ -98,4 +98,4 @@ tab : \u0009
|
|||||||
|
|
||||||
Now open the *PsiViewer* tool window and check how the lexer breaks the content of the file into tokens, and the parser parsed the tokens into PSI elements.
|
Now open the *PsiViewer* tool window and check how the lexer breaks the content of the file into tokens, and the parser parsed the tokens into PSI elements.
|
||||||
|
|
||||||
{:width="900px"}
|

|
||||||
|
@ -49,6 +49,6 @@ Choose "Create Property".
|
|||||||
The IDE opens the `test.simple` file and adds `website.url` as a new key.
|
The IDE opens the `test.simple` file and adds `website.url` as a new key.
|
||||||
Add the new value `jetbrains.com` for the new `website.url` key.
|
Add the new value `jetbrains.com` for the new `website.url` key.
|
||||||
|
|
||||||
{:width="800px"}
|

|
||||||
|
|
||||||
Now switch back to the Java file; the new key is highlighted as valid.
|
Now switch back to the Java file; the new key is highlighted as valid.
|
@ -52,4 +52,4 @@ Rebuild the project, and run `simple_language_plugin` in a Development Instance.
|
|||||||
Open the `test.simple` file and choose **View \| Tool Windows \| Structure**.
|
Open the `test.simple` file and choose **View \| Tool Windows \| Structure**.
|
||||||
The IDE now supports a structure view of the Simple Language:
|
The IDE now supports a structure view of the Simple Language:
|
||||||
|
|
||||||
{:width="800px"}
|

|
||||||
|
@ -43,7 +43,7 @@ Register the factory with the IntelliJ Platform in the plugin configuration file
|
|||||||
Open the example Simple Language [properties file ](/tutorials/custom_language_support/lexer_and_parser_definition.md#run-the-project) (`test.simple`) in the IDE Development Instance.
|
Open the example Simple Language [properties file ](/tutorials/custom_language_support/lexer_and_parser_definition.md#run-the-project) (`test.simple`) in the IDE Development Instance.
|
||||||
The colors for Simple Language Key, Separator, and Value highlighting default to the IDE _Language Defaults_ for Keyword, Braces, Operators, and Strings, respectively.
|
The colors for Simple Language Key, Separator, and Value highlighting default to the IDE _Language Defaults_ for Keyword, Braces, Operators, and Strings, respectively.
|
||||||
|
|
||||||
{:width="800px"}
|

|
||||||
|
|
||||||
## 5.5. Define a Color Settings Page
|
## 5.5. Define a Color Settings Page
|
||||||
The color settings page adds the ability for users to customize color settings for the highlighting in Simple Language files.
|
The color settings page adds the ability for users to customize color settings for the highlighting in Simple Language files.
|
||||||
@ -66,4 +66,4 @@ Register the Simple Language color settings page with the IntelliJ Platform in t
|
|||||||
In the IDE Development Instance, open the Simple Language highlight settings page: **Preferences/Settings \| Editor \| Color Scheme \| Simple**.
|
In the IDE Development Instance, open the Simple Language highlight settings page: **Preferences/Settings \| Editor \| Color Scheme \| Simple**.
|
||||||
Each color initially inherits from a _Language Defaults_ value.
|
Each color initially inherits from a _Language Defaults_ value.
|
||||||
|
|
||||||
{:width="800px"}
|

|
||||||
|
Before Width: | Height: | Size: 335 KiB After Width: | Height: | Size: 219 KiB |