Skip to content

Instantly share code, notes, and snippets.

@AesaKamar
Created June 12, 2023 19:25
Show Gist options
  • Save AesaKamar/676b66038bb420707f96136e0f1325bf to your computer and use it in GitHub Desktop.
Save AesaKamar/676b66038bb420707f96136e0f1325bf to your computer and use it in GitHub Desktop.
A Scala/Terraform specialized color Scheme for IntelliJ
<scheme name="Aesa_IntelliJ_ColorScheme" version="142" parent_scheme="Darcula">
<option name="FONT_SCALE" value="1.0" />
<metaInfo>
<property name="created">2023-06-12T15:23:03</property>
<property name="ide">Idea</property>
<property name="ideVersion">2022.3.2.0.0</property>
<property name="modified">2023-06-12T15:23:33</property>
<property name="originalScheme">Darcula copy4</property>
</metaInfo>
<option name="CONSOLE_FONT_NAME" value="Hasklig" />
<option name="CONSOLE_LIGATURES" value="true" />
<option name="CONSOLE_LINE_SPACING" value="1.0" />
<colors>
<option name="CONSOLE_BACKGROUND_KEY" value="0" />
<option name="GUTTER_BACKGROUND" value="282828" />
</colors>
<attributes>
<option name="BASH.EXTERNAL_COMMAND">
<value>
<option name="FOREGROUND" value="ecc64a" />
</value>
</option>
<option name="BASH.REDIRECTION">
<value>
<option name="FOREGROUND" value="ff502a" />
</value>
</option>
<option name="BASH.VAR_USE">
<value>
<option name="FOREGROUND" value="906bc0" />
</value>
</option>
<option name="CONSOLE_BLACK_OUTPUT">
<value>
<option name="FOREGROUND" value="0" />
</value>
</option>
<option name="CONSOLE_GREEN_BRIGHT_OUTPUT">
<value>
<option name="FOREGROUND" value="5af300" />
</value>
</option>
<option name="CONSOLE_GREEN_OUTPUT">
<value>
<option name="FOREGROUND" value="23c000" />
</value>
</option>
<option name="CONSOLE_WHITE_OUTPUT">
<value>
<option name="FOREGROUND" value="dedede" />
</value>
</option>
<option name="DEFAULT_CLASS_NAME">
<value>
<option name="FOREGROUND" value="d0daeb" />
</value>
</option>
<option name="DEFAULT_CLASS_REFERENCE">
<value>
<option name="FOREGROUND" value="d0daeb" />
</value>
</option>
<option name="DEFAULT_FUNCTION_DECLARATION">
<value>
<option name="FOREGROUND" value="f6b926" />
</value>
</option>
<option name="DEFAULT_LOCAL_VARIABLE">
<value>
<option name="FOREGROUND" value="7cadc6" />
</value>
</option>
<option name="DEFAULT_PARAMETER">
<value>
<option name="FOREGROUND" value="88c69b" />
</value>
</option>
<option name="DEFAULT_PREDEFINED_SYMBOL">
<value>
<option name="FOREGROUND" value="f6b926" />
</value>
</option>
<option name="DEFAULT_REASSIGNED_LOCAL_VARIABLE" baseAttributes="DEFAULT_LOCAL_VARIABLE" />
<option name="ELIXIR_ALIAS">
<value>
<option name="FOREGROUND" value="9fc660" />
</value>
</option>
<option name="ELIXIR_FUNCTION_CALL">
<value>
<option name="FOREGROUND" value="d7c5ac" />
</value>
</option>
<option name="ELIXIR_MACRO_CALL">
<value>
<option name="FOREGROUND" value="f6b926" />
</value>
</option>
<option name="ELIXIR_TYPE">
<value>
<option name="FOREGROUND" value="29bba5" />
</value>
</option>
<option name="ELIXIR_TYPE_PARAMETER">
<value>
<option name="FOREGROUND" value="ad64be" />
</value>
</option>
<option name="HCL.BLOCK_NAME_KEY">
<value>
<option name="FOREGROUND" value="9fc660" />
</value>
</option>
<option name="HCL.BLOCK_SECOND_TYPE_KEY">
<value>
<option name="FOREGROUND" value="29bba5" />
</value>
</option>
<option name="HCL.BLOCK_TYPES_KEY">
<value>
<option name="FOREGROUND" value="29bba5" />
</value>
</option>
<option name="HTML_CODE">
<value />
</option>
<option name="Implicit conversion">
<value>
<option name="EFFECT_COLOR" value="949494" />
<option name="EFFECT_TYPE" value="5" />
</value>
</option>
<option name="KOTLIN_LABEL">
<value />
</option>
<option name="MATCHED_BRACE_ATTRIBUTES">
<value>
<option name="BACKGROUND" value="3b514d" />
<option name="FONT_TYPE" value="1" />
</value>
</option>
<option name="METHOD_CALL_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="d0daeb" />
</value>
</option>
<option name="PY.KEYWORD_ARGUMENT">
<value>
<option name="FOREGROUND" value="aa8000" />
</value>
</option>
<option name="RAINBOW_COLOR0">
<value>
<option name="FOREGROUND" value="1a9d72" />
</value>
</option>
<option name="RAINBOW_COLOR1">
<value>
<option name="FOREGROUND" value="50be86" />
</value>
</option>
<option name="RAINBOW_COLOR3">
<value>
<option name="FOREGROUND" value="306e59" />
</value>
</option>
<option name="RAINBOW_COLOR4">
<value>
<option name="FOREGROUND" value="60a882" />
</value>
</option>
<option name="RECORD_TYPE_KEY">
<value>
<option name="FOREGROUND" value="29bba5" />
</value>
</option>
<option name="Scala Block comment">
<value>
<option name="FOREGROUND" value="808080" />
<option name="FONT_TYPE" value="1" />
<option name="EFFECT_TYPE" value="2" />
</value>
</option>
<option name="Scala Class method call">
<value>
<option name="FOREGROUND" value="d1cfbb" />
</value>
</option>
<option name="Scala For statement value">
<value>
<option name="FOREGROUND" value="c694af" />
</value>
</option>
<option name="Scala Object">
<value>
<option name="FOREGROUND" value="9fc660" />
</value>
</option>
<option name="Scala Object method call">
<value>
<option name="FOREGROUND" value="d1cfbb" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="Scala Pattern value">
<value>
<option name="FOREGROUND" value="c66a62" />
<option name="FONT_TYPE" value="2" />
</value>
</option>
<option name="Scala Trait">
<value>
<option name="FOREGROUND" value="62c5c6" />
</value>
</option>
<option name="Scala Type Alias">
<value>
<option name="FOREGROUND" value="2c8f69" />
</value>
</option>
<option name="Scala Type parameter">
<value>
<option name="FOREGROUND" value="ad64be" />
</value>
</option>
<option name="TEXT">
<value>
<option name="FOREGROUND" value="adbdca" />
<option name="BACKGROUND" value="282828" />
<option name="EFFECT_TYPE" value="5" />
</value>
</option>
<option name="TODO_DEFAULT_ATTRIBUTES">
<value>
<option name="FOREGROUND" value="c0b200" />
<option name="FONT_TYPE" value="2" />
<option name="ERROR_STRIPE_COLOR" value="977ab" />
</value>
</option>
<option name="UNION_TYPE_ENTRY">
<value>
<option name="FOREGROUND" value="9fc660" />
</value>
</option>
</attributes>
</scheme>
@AesaKamar
Copy link
Author

AesaKamar commented Jun 12, 2023

Scala

It makes it easier to identify and differentiate the huge amount of language features and symbol types in Scala, helping to manage the high syntax load

Noteworthy features:

  • Classlike identifiers are differentiated
    • Traits, Objects, and Classes are differentiated in color
  • Variable scopings are differentiated
    • Locally scoped, parameter scoped, class scoped, or for-comprehension scoped variables are differentiated in color
  • Type variable scopings are differentiated
    • Type variables versus type parameters are differentiated in color

image

@AesaKamar
Copy link
Author

AesaKamar commented Jun 12, 2023

HCL

It makes it easier to identify where data is coming from as you develop and maintain modules and define resources
It also helps to understand which parts of the language syntax are resource types, versus which ones are the names of individual resources.

Noteworthy features:

  • variable lookup keywords, which behave like language features, are clearly colored yellow
  • resource type definitions are clearly colored aqua
  • resource names are clearly colored lime

image

@AesaKamar
Copy link
Author

How to use this:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment