Skip to content

Commit

Permalink
Readme fix
Browse files Browse the repository at this point in the history
- up untilBuild
 - fix README.md
 - remove default color overriding
  • Loading branch information
devyatkinalexandr authored Dec 1, 2022
1 parent 7b147fb commit b4c87c4
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 64 deletions.
18 changes: 5 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
# rideplugin

![Build](https://github.com/wavesplatform/ride-intellij-plugin/workflows/Build/badge.svg)
[![Version](https://img.shields.io/jetbrains/plugin/v/PLUGIN_ID.svg)](https://plugins.jetbrains.com/plugin/PLUGIN_ID)
[![Downloads](https://img.shields.io/jetbrains/plugin/d/PLUGIN_ID.svg)](https://plugins.jetbrains.com/plugin/PLUGIN_ID)

## Template ToDo list
- [x] Create a new [IntelliJ Platform Plugin Template][template] project.
- [ ] Get familiar with the [template documentation][template].
- [ ] Verify the [pluginGroup](./gradle.properties), [plugin ID](./src/main/resources/META-INF/plugin.xml) and [sources package](./src/main/kotlin).
- [ ] Review the [Legal Agreements](https://plugins.jetbrains.com/docs/marketplace/legal-agreements.html).
- [ ] [Publish a plugin manually](https://plugins.jetbrains.com/docs/intellij/publishing-plugin.html?from=IJPluginTemplate) for the first time.
- [ ] Set the Plugin ID in the above README badges.
- [ ] Set the [Deployment Token](https://plugins.jetbrains.com/docs/marketplace/plugin-upload.html).
- [ ] Click the <kbd>Watch</kbd> button on the top of the [IntelliJ Platform Plugin Template][template] to be notified about releases containing new features and fixes.
[![Version](https://img.shields.io/jetbrains/plugin/v/20416-ride.svg)](https://plugins.jetbrains.com/plugin/20416-ride)
[![Downloads](https://img.shields.io/jetbrains/plugin/d/20416-ride.svg)](https://plugins.jetbrains.com/plugin/PLUGIN_ID)


<!-- Plugin description -->
The plugin provides support for RIDE language
Expand All @@ -21,14 +12,15 @@ Features:<br>
<li>Syntax validation</li>
<li>Keyword completion</li>
<li>Syntax highlighting and color schemes</li>
<li>Built-in structures, types and functions completion</li>
</ul>
<!-- Plugin description end -->

## Installation

- Using IDE built-in plugin system:

<kbd>Settings/Preferences</kbd> > <kbd>Plugins</kbd> > <kbd>Marketplace</kbd> > <kbd>Search for "ride-lang-idea-plugin"</kbd> >
<kbd>Settings/Preferences</kbd> > <kbd>Plugins</kbd> > <kbd>Marketplace</kbd> > <kbd>Search for "ride"</kbd> >
<kbd>Install Plugin</kbd>

- Manually:
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ platformVersion=2021.3.3
platformPlugins=
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild = 213
pluginUntilBuild = 222.*
pluginUntilBuild = 223.*

# Opt-out flag for bundling Kotlin standard library -> https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library
# suppress inspection "UnusedProperty"
Expand Down
60 changes: 16 additions & 44 deletions src/main/gen/com/wavesplatform/rideplugin/parser/RideParser.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/main/grammars/Ride.bnf
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ index_expr ::= (
) LBRACKET expr RBRACKET (DOT expr)?

private prefix_group ::= if_expr
if_expr ::= IF if_cond (THEN? (expr | closure)) else_if_block* else_block?
| IF LPAREN if_cond RPAREN (THEN? (expr | closure)) else_if_block* else_block? {pin=1}
if_expr ::= IF if_cond (THEN (expr | closure)) else_if_block* else_block?
| IF LPAREN if_cond RPAREN (THEN (expr | closure)) else_if_block* else_block? {pin=1}
if_cond ::= expr
else_if_block ::= ELSE IF if_cond (THEN? (expr | closure))
| ELSE IF LPAREN? if_cond RPAREN? (THEN? (expr | closure)) {pin=2}
else_if_block ::= ELSE IF if_cond (THEN (expr | closure))
| ELSE IF LPAREN? if_cond RPAREN? (THEN (expr | closure)) {pin=2}
else_block ::= ELSE (expr | closure) {pin = 1}

private primary_group ::= simple_ref_expr | paren_expr | literal_expr
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<annotator language="RIDE"
implementationClass="com.wavesplatform.rideplugin.annotator.RideAnnotator"/>

<additionalTextAttributes scheme="Darcula" file="colorScheme/Darcula_Ride.xml"/>
<additionalTextAttributes scheme="Default" file="colorScheme/Default_Ride.xml"/>
<!-- <additionalTextAttributes scheme="Darcula" file="colorScheme/Darcula_Ride.xml"/>-->
<!-- <additionalTextAttributes scheme="Default" file="colorScheme/Default_Ride.xml"/>-->
<lang.commenter language="RIDE"
implementationClass="com.wavesplatform.rideplugin.editor.RideCommenter"/>
</extensions>
Expand Down

0 comments on commit b4c87c4

Please sign in to comment.