File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/main/kotlin/com/odoo/odools Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 11package com.odoo.odools
22
3+ import com.intellij.ide.BrowserUtil
34import com.intellij.openapi.fileChooser.FileChooserDescriptor
45import com.intellij.openapi.options.Configurable
56import com.intellij.openapi.ui.TextFieldWithBrowseButton
67import com.intellij.ui.JBColor
8+ import com.intellij.ui.components.ActionLink
79import com.intellij.ui.components.JBLabel
810import javax.swing.JComponent
911import javax.swing.JPanel
@@ -44,13 +46,21 @@ class OdooLSPathConfigurable : Configurable {
4446 <html>
4547 <body style='width: 500px; color: gray;'>
4648 The plugin will use this path to install needed resources and logs.<br>
49+ OdooLS is configures through configuration files. To create one, please refer to our wiki:
4750 </body>
4851 </html>
4952 """ .trimIndent()
5053 )
5154 description.font = description.font.deriveFont(description.font.size2D - 1f )
5255 description.foreground = JBColor .GRAY
5356 container.add(description, gbc)
57+ val externalLink = ActionLink (" The configuration wiki" ) {
58+ BrowserUtil .browse(" https://github.com/odoo/odoo-ls/wiki/3.-Configuration-files" )
59+ }.apply {
60+ setContextHelpIcon()
61+ }
62+ gbc.gridy = 3
63+ container.add(externalLink, gbc)
5464
5565 // outerPanel to keep everything at top of the window
5666 val outerPanel = JPanel (BorderLayout ())
You can’t perform that action at this time.
0 commit comments