Skip to content

Commit 38161bd

Browse files
authored
Make Dart constructor calls pop out in light mode. (#3327)
* Make Dart constructor calls pop out in light mode. Constructors are already nicely visible in Darkula mode.
1 parent 56d1c62 commit 38161bd

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

resources/META-INF/plugin.xml

+1
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,7 @@
909909
<projectStructureDetector implementation="io.flutter.project.FlutterProjectStructureDetector"/>
910910
<colorSettingsPage implementation="io.flutter.logging.FlutterLogColorPage"/>
911911
<additionalTextAttributes scheme="Default" file="colorSchemes/FlutterLogColorSchemeDefault.xml"/>
912+
<additionalTextAttributes scheme="Default" file="colorSchemes/FlutterCodeColorSchemeDefault.xml"/>
912913
<search.optionContributor implementation="io.flutter.sdk.FlutterSearchableOptionContributor"/>
913914
</extensions>
914915

resources/META-INF/plugin_template.xml

+1
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@
298298
<projectStructureDetector implementation="io.flutter.project.FlutterProjectStructureDetector"/>
299299
<colorSettingsPage implementation="io.flutter.logging.FlutterLogColorPage"/>
300300
<additionalTextAttributes scheme="Default" file="colorSchemes/FlutterLogColorSchemeDefault.xml"/>
301+
<additionalTextAttributes scheme="Default" file="colorSchemes/FlutterCodeColorSchemeDefault.xml"/>
301302
<search.optionContributor implementation="io.flutter.sdk.FlutterSearchableOptionContributor"/>
302303
</extensions>
303304

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version='1.0'?>
2+
<!--
3+
~ Copyright 2019 The Chromium Authors. All rights reserved.
4+
~ Use of this source code is governed by a BSD-style license that can be
5+
~ found in the LICENSE file.
6+
-->
7+
8+
<list>
9+
<!--<option name="TEMPLATE_CONFIG_NAME">-->
10+
<!--<value>-->
11+
<!--<option name="FOREGROUND" value="008000"/>-->
12+
<!--<option name="BACKGROUND" value="e3fcff"/>-->
13+
<!--<option name="FONT_TYPE" value="1"/>-->
14+
<!--</value>-->
15+
<!--</option>-->
16+
17+
<!--
18+
Customizations to the regular Dart color scheme to make Flutter UI as code
19+
more readable.
20+
21+
All tweaks added here need to be acceptable for regular Dart code as they
22+
will apply to all Dart code not just Flutter code.
23+
-->
24+
<option name="DART_CONSTRUCTOR">
25+
<value>
26+
<option name="FOREGROUND" value="#2196f3"/>
27+
</value>
28+
</option>
29+
</list>

0 commit comments

Comments
 (0)