File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
plugins/toolkit/jetbrains-rider/src/software/aws/toolkits/jetbrains/settings Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ // Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ package software.aws.toolkits.jetbrains.settings
5
+
6
+ import com.intellij.openapi.project.Project
7
+ import com.jetbrains.rider.projectView.solution
8
+ import software.aws.toolkits.jetbrains.protocol.awsSettingModel
9
+
10
+ class LambdaGutterMarkSettingsDuplicate (private val project : Project ) : LambdaSettingsChangeListener {
11
+ override fun samShowAllHandlerGutterIconsSettingsChange (isShow : Boolean ) {
12
+ project.solution.awsSettingModel.showLambdaGutterMarks.fire(isShow)
13
+ }
14
+ }
Original file line number Diff line number Diff line change @@ -16,4 +16,14 @@ class RiderSyncSettings : StartupActivity {
16
16
override fun runActivity (project : Project ) {
17
17
project.solution.awsSettingModel.showLambdaGutterMarks.fire(LambdaSettings .getInstance(project).showAllHandlerGutterIcons)
18
18
}
19
+ fun runActivity2 (project : Project ) {
20
+ project.solution.awsSettingModel.showLambdaGutterMarks.fire(LambdaSettings .getInstance(project).showAllHandlerGutterIcons)
21
+ }
22
+ fun foo () {
23
+ print (" FOO!" )
24
+ }
25
+
26
+ fun bar () {
27
+ print (" BAR!" )
28
+ }
19
29
}
You can’t perform that action at this time.
0 commit comments