Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
RAVEENSR committed Nov 21, 2017
1 parent 3aa87a6 commit 45b8ac8
Show file tree
Hide file tree
Showing 18 changed files with 272 additions and 186 deletions.
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,6 @@ IntelliJ Platfom.

Please refer the [Getting Started](getting-started) section.

### Running siddhi files in IDEA

1) Go to Create New Project ->select Siddhi and click Next.

2) Click configure and select Home Directory for Siddhi SDK. Siddhi sdk is located in
siddhi-sdk/modules/siddhi-launcher/target.

3) Click Next and give a project name.

4) Then create a new file (ex: Test.siddhi) and run the file using Edit Configurations->Defaults->Siddhi and choose the location of the siddhi file and press OK.

If you want to use an extension with the siddhi it can be done by adding the necessary dependency jar files into
siddhi-sdk/modules/siddhi-launcher/target/siddhi-sdk-1.0.0-SNAPSHOT/lib/ directory.
(Most of the extensions' dependency jars are packed in default)

## How to Contribute

* Please report issues at <a target="_blank" href="https://github.com/wso2/siddhi-plugin-idea/issues">GitHub Issue
Expand All @@ -78,5 +63,3 @@ siddhi-sdk/modules/siddhi-launcher/target/siddhi-sdk-1.0.0-SNAPSHOT/lib/ directo
* We are committed to ensuring support for this extension in production. Our unique approach ensures that all support leverages our open development methodology and is provided by the very same engineers who build the technology.

* For more details and to take advantage of this unique opportunity contact us via <a target="_blank" href="http://wso2.com/support?utm_source=gitanalytics&utm_campaign=gitanalytics_Jul17">http://wso2.com/support/</a>.


2 changes: 1 addition & 1 deletion config/findbugs/excludeFilter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
<Class name="org.wso2.siddhi.plugins.idea.SiddhiModuleBuilder"/>
<Bug pattern="HE_INHERITS_EQUALS_USE_HASHCODE"/>
</Match>
</FindBugsFilter>
</FindBugsFilter>
2 changes: 1 addition & 1 deletion getting-started/sample-program/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Now you should have a new Siddhi file with the default app annotation.

![alt text](images/Figure-3-3.png)

4. Click **+** button and select **Siddhi** to add a siddhi run/debug configuration.
4. Click **+** button and select **Siddhi** to add a siddhi ***run/debug configuration***.

![alt text](images/Figure-3-4.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,20 +286,22 @@ public class SiddhiParserDefinition implements ParserDefinition {
FULL, UNIDIRECTIONAL, YEARS, MONTHS, WEEKS, DAYS, HOURS, MINUTES, SECONDS, MILLISECONDS, FALSE, TRUE,
STRING, INT, LONG, FLOAT, DOUBLE, BOOL, OBJECT, AGGREGATION, AGGREGATE, PER);

public static final TokenSet COMMENTS = PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE,
SINGLE_LINE_COMMENT, MULTILINE_COMMENT);
public static final TokenSet WHITESPACE = PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE, SPACES);
public static final TokenSet STRING_LITERALS = PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE,
STRING_LITERAL);
public static final TokenSet BAD_CHARACTER = PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE,
UNEXPECTED_CHAR);
public static final TokenSet SEMICOLON = PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE, SCOL);
public static final TokenSet COLON = PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE,
SiddhiQLParser.COL);
public static final TokenSet COMMA = PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE,
SiddhiQLParser.COMMA);
public static final TokenSet SYMBOLS = PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE,
AT_SYMBOL, HASH);
public static final TokenSet COMMENTS =
PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE, SINGLE_LINE_COMMENT, MULTILINE_COMMENT);
public static final TokenSet WHITESPACE =
PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE, SPACES);
public static final TokenSet STRING_LITERALS =
PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE, STRING_LITERAL);
public static final TokenSet BAD_CHARACTER =
PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE, UNEXPECTED_CHAR);
public static final TokenSet SEMICOLON =
PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE, SCOL);
public static final TokenSet COLON =
PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE, SiddhiQLParser.COL);
public static final TokenSet COMMA =
PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE, SiddhiQLParser.COMMA);
public static final TokenSet SYMBOLS =
PSIElementTypeFactory.createTokenSet(SiddhiLanguage.INSTANCE, AT_SYMBOL, HASH);

@Nonnull
@Override
Expand Down
Loading

0 comments on commit 45b8ac8

Please sign in to comment.