Skip to content

Commit

Permalink
Improve RubyMine support (#51)
Browse files Browse the repository at this point in the history
* Ruby, rdoc, slim, erb

* Update changelog
  • Loading branch information
mskelton authored May 9, 2019
1 parent eda2f71 commit 5422479
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 46 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

#### 2.9.0

- Improves syntax highlighting for the following languages:
- Ruby
- ERB
- RDoc
- Slim

#### 2.8.0

- Improves syntax highlighting for the following languages:
Expand Down
88 changes: 42 additions & 46 deletions scripts/config/theme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,29 @@ inheriting-attributes:
REGEXP.REDUNDANT_ESCAPE: DEFAULT_VALID_STRING_ESCAPE
ReSharper.STRING_ESCAPE_CHARACTER_2: DEFAULT_VALID_STRING_ESCAPE
REST.INLINE: DEFAULT_IDENTIFIER
RHTML_COMMENT_ID: HTML_COMMENT
RUBY_BAD_CHARACTER: BAD_CHARACTER
RUBY_COMMENT: DEFAULT_DOC_COMMENT
RUBY_CONSTANT_DECLARATION: DEFAULT_CONSTANT
RUBY_CONSTANT: DEFAULT_CONSTANT
RUBY_ESCAPE_SEQUENCE: DEFAULT_VALID_STRING_ESCAPE
RUBY_GVAR: DEFAULT_GLOBAL_VARIABLE
RUBY_INVALID_ESCAPE_SEQUENCE: DEFAULT_INVALID_STRING_ESCAPE
RUBY_LINE_CONTINUATION: DEFAULT_COMMA
RUBY_LOCAL_VAR_ID: DEFAULT_LOCAL_VARIABLE
RUBY_METHOD_NAME: DEFAULT_INSTANCE_METHOD
RUBY_NUMBER: DEFAULT_NUMBER
RUBY_PARAMDEF_CALL: DEFAULT_STATIC_METHOD
RUBY_PARAMETER_ID: DEFAULT_PARAMETER
RUBY_SPECIFIC_CALL: DEFAULT_STATIC_METHOD
RUBY_WORDS: DEFAULT_STRING
SASS_COMMENT: CSS.COMMENT
SLIM_COMMENT: DEFAULT_DOC_COMMENT
SLIM_FILTER: DEFAULT_LABEL
SLIM_PARENTHS: DEFAULT_PARENTHS
SLIM_RUBY_CODE: DEFAULT_TEMPLATE_LANGUAGE_COLOR
SLIM_STATIC_CONTENT: TEXT
SLIM_STRING_INTERPOLATED: DEFAULT_STRING
SQL_OUTER_QUERY_COLUMN: SQL_COLUMN
SQL_SYNTHETIC_ENTITY: DEFAULT_PREDEFINED_SYMBOL
Static method access: STATIC_METHOD_ATTRIBUTES
Expand Down Expand Up @@ -492,6 +514,12 @@ attributes:
foreground: purple
italic: theme
PY.STRING: green
RDOC_DIRECTIVE: fountainBlue
RDOC_EMAIL: purple
RDOC_HEADINGS: fountainBlue
RDOC_IDENTIFIER: coral
RDOC_KEYWORD: purple
RDOC_URL: malibu
REGEXP.BRACES: whiskey
REGEXP.BRACKETS: whiskey
REGEXP.CHAR_CLASS: fountainBlue
Expand Down Expand Up @@ -524,45 +552,18 @@ attributes:
REST.INTERPRETED:
background: 3c4b33
REST.SECTION.HEADER: fountainBlue
RHTML_COMMENT_ID:
foreground: 59626f
italic: theme
RHTML_EXPRESSION_END_ID: be4f44
RHTML_EXPRESSION_START_ID: be4f44
RHTML_OMIT_NEW_LINE_ID: be4f44
RHTML_SCRIPTLET_END_ID: be4f44
RHTML_SCRIPTLET_START_ID: be4f44
RUBY_COMMENT:
foreground: dark
italic: theme
RUBY_CONSTANT: whiskey
RUBY_CONSTANT_DECLARATION: whiskey
RUBY_CVAR: df6a73
RUBY_ESCAPE_SEQUENCE: fountainBlue
RUBY_EXPR_IN_STRING: be5046
RUBY_GVAR: df6a73
RUBY_HASH_ASSOC: a6b2c0
RHTML_EXPRESSION_END_ID: chalky
RHTML_EXPRESSION_START_ID: chalky
RHTML_OMIT_NEW_LINE_ID: chalky
RHTML_SCRIPTING_BACKGROUND_ID: {}
RHTML_SCRIPTLET_END_ID: chalky
RHTML_SCRIPTLET_START_ID: chalky
RUBY_EXPR_IN_STRING: coral
RUBY_HEREDOC_CONTENT: green
RUBY_HEREDOC_ID: green
RUBY_INTERPOLATED_STRING: green
RUBY_INVALID_ESCAPE_SEQUENCE:
foreground: 68e868
background: '481515'
RUBY_IVAR: df6a73
RUBY_KEYWORD: purple
RUBY_LINE_CONTINUATION: a6b2c0
RUBY_LOCAL_VAR_ID: lightWhite
RUBY_METHOD_NAME: malibu
RUBY_NTH_REF: coral
RUBY_NUMBER: whiskey
RUBY_OPERATION_SIGN: a6b2c0
RUBY_PARAMDEF_CALL: lightWhite
RUBY_PARAMETER_ID: lightWhite
RUBY_HEREDOC_ID: purple
RUBY_NTH_REF: whiskey
RUBY_REGEXP: fountainBlue
RUBY_SPECIFIC_CALL: malibu
RUBY_STRING: green
RUBY_SYMBOL: fountainBlue
RUBY_WORDS: green
RUNTIME_ERROR:
effect_color: ff8c00
error_stripe_color: error
Expand All @@ -575,16 +576,11 @@ attributes:
SLIM_BAD_CHARACTER:
foreground: 272b33
background: f2777a
SLIM_CLASS: df6a73
SLIM_COMMENT:
foreground: 59626f
italic: theme
SLIM_DOCTYPE_KWD: df6a73
SLIM_FILTER: df6a73
SLIM_ID: df6a73
SLIM_INTERPOLATION: green
SLIM_STRING_INTERPOLATED: green
SLIM_TAG: df6a73
SLIM_CLASS: whiskey
SLIM_DOCTYPE_KWD: coral
SLIM_ID: fountainBlue
SLIM_INTERPOLATION: coral
SLIM_TAG: coral
SLIM_TAG_ATTR_KEY: whiskey
STATIC_FINAL_FIELD_ATTRIBUTES: whiskey
STATIC_METHOD_IMPORTED_ATTRIBUTES: malibu
Expand Down

0 comments on commit 5422479

Please sign in to comment.