@@ -37,15 +37,16 @@ class MagoConfigurable(val project: Project) : Configurable {
3737 var myPanel = panel {
3838 row {
3939 browserLink(" Download Mago" , " https://github.com/carthage-software/mago" )
40- browserLink(" Report a plugin bug" , " https://github.com/j-plugins/mago-plugin/issues" )
41- browserLink(" Request a plugin feature" , " https://github.com/j-plugins/mago-plugin/issues" )
40+ browserLink(" Documentation" , " https://mago.carthage.software/guide/getting-started" )
41+ browserLink(" Report bug" , " https://github.com/j-plugins/mago-plugin/issues" )
42+ browserLink(" Request feature" , " https://github.com/j-plugins/mago-plugin/issues" )
4243
4344 cell(JBLabel (" Debug" , AllIcons .Toolwindows .ToolWindowDebugger , SwingConstants .RIGHT ))
4445 .align(AlignX .RIGHT )
4546 .resizableColumn()
4647 cell(OnOffButton ())
47- .bindSelected(settings::debug)
48- .align(AlignX .RIGHT )
48+ .bindSelected(settings::debug)
49+ .align(AlignX .RIGHT )
4950 }
5051 group(MagoBundle .message(" settings.options.title" )) {
5152 row {
@@ -72,7 +73,7 @@ class MagoConfigurable(val project: Project) : Configurable {
7273 )
7374 }
7475 }
75- group(MagoBundle .message(" settings.inspections .title" )) {
76+ group(MagoBundle .message(" settings.analyzer .title" )) {
7677 row {
7778 cell(
7879 PhpInspectionsUtil .createPanelWithSettingsLink(
@@ -95,6 +96,8 @@ class MagoConfigurable(val project: Project) : Configurable {
9596 inspectionProfileManager.currentProfile
9697 .setToolEnabled(getInspectionShortName(), it)
9798 })
99+ browserLink(" Documentation" , " https://mago.carthage.software/tools/analyzer/overview" )
100+ .align(AlignX .RIGHT )
98101 }.layout(RowLayout .PARENT_GRID )
99102 row {
100103 textField()
@@ -109,6 +112,8 @@ class MagoConfigurable(val project: Project) : Configurable {
109112 cell(OnOffButton ())
110113 .label(MagoBundle .message(" settings.enabled" ))
111114 .bindSelected(settings::formatterEnabled)
115+ browserLink(" Documentation" , " https://mago.carthage.software/tools/formatter/overview" )
116+ .align(AlignX .RIGHT )
112117 }.layout(RowLayout .PARENT_GRID )
113118 row {
114119 textField()
@@ -123,6 +128,8 @@ class MagoConfigurable(val project: Project) : Configurable {
123128 cell(OnOffButton ())
124129 .label(MagoBundle .message(" settings.enabled" ))
125130 .bindSelected(settings::linterEnabled)
131+ browserLink(" Documentation" , " https://mago.carthage.software/tools/linter/overview" )
132+ .align(AlignX .RIGHT )
126133 }
127134 .layout(RowLayout .PARENT_GRID )
128135 .visible(true )
@@ -134,6 +141,8 @@ class MagoConfigurable(val project: Project) : Configurable {
134141 cell(OnOffButton ())
135142 .label(MagoBundle .message(" settings.enabled" ))
136143 .bindSelected(settings::guardEnabled)
144+ browserLink(" Documentation" , " https://mago.carthage.software/tools/guard/overview" )
145+ .align(AlignX .RIGHT )
137146 }
138147 .layout(RowLayout .PARENT_GRID )
139148 .visible(true )
0 commit comments