forked from rabix/benten
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Running Benten with IntelliJ | ||
|
||
## Install | ||
|
||
1. Install Benten. | ||
2. Find the location of `benten-ls` (you will need that later.) | ||
3. Install the **LSP Support** plug-in: <https://plugins.jetbrains.com/plugin/10209-lsp-support> | ||
4. Open the IntelliJ Settings, and navigate to [ Languages & Frameworks > Language Server Protocol > Server Definitions ]. | ||
5. Add an LSP entry as per screenshot below, entering the location of `benten-ls` found in step 2. | ||
|
||
![](../media/2021.11.13/lsp-definition-intellij.png) | ||
|
||
6. Finally, now navigate to [ Editor > TextMate Bundles ], click on the `+` (plus) sign, and select the directory of the `vscode-client` of Benten. You should see a new entry after you confirm your settings. | ||
|
||
![](../media/2021.11.13/lsp-editor.png) | ||
|
||
That's it, now you should be ready to open a CWL file with syntax highlighting and auto-complete. | ||
|
||
![](../media/2021.11.13/lsp-intellij.png) | ||
|
||
>NOTE: Language Server Protocol is not natively supported in IntelliJ, | ||
>so the installation notes here may need to be updated if the LSP Plug-in changes | ||
>or if IntelliJ changes its API. | ||
## References: | ||
|
||
- Robot Framework, “PyCharm with LSP”: https://forum.robotframework.org/t/pycharm-with-lsp/161 | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.