Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## Unreleased

## 2.5.0

### Added

- Added `textDocument/documentHighlight` request for Vim and EMACS
([#43](https://github.com/gnikit/fortls/issues/43))

## 2.4.0

### Added
Expand Down
33 changes: 17 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,22 +137,23 @@ An example for a Configuration file is given below

## Implemented server requests

| Request | Description |
| ----------------------------- | ------------------------------------------------------ |
| `workspace/symbol` | Get workspace-wide symbols |
| `textDocument/documentSymbol` | Get document symbols e.g. functions, subroutines, etc. |
| `textDocument/completion` | Suggested tab-completion when typing |
| `textDocument/signatureHelp` | Get signature information at a given cursor position |
| `textDocument/definition` | GoTo definition/Peek definition |
| `textDocument/references` | Find all/Peek references |
| `textDocument/hover` | Show messages and signatures upon hover |
| `textDocument/implementation` | GoTo implementation/Peek implementation |
| `textDocument/rename` | Rename a symbol across the workspace |
| `textDocument/didOpen` | Document synchronisation upon opening |
| `textDocument/didSave` | Document synchronisation upon saving |
| `textDocument/didClose` | Document synchronisation upon closing |
| `textDocument/didChange` | Document synchronisation upon changes to the document |
| `textDocument/codeAction` | **Experimental** Generate code |
| Request | Description |
| -------------------------------- | ------------------------------------------------------ |
| `workspace/symbol` | Get workspace-wide symbols |
| `textDocument/documentSymbol` | Get document symbols e.g. functions, subroutines, etc. |
| `textDocument/completion` | Suggested tab-completion when typing |
| `textDocument/signatureHelp` | Get signature information at a given cursor position |
| `textDocument/definition` | GoTo definition/Peek definition |
| `textDocument/references` | Find all/Peek references |
| `textDocument/documentHighlight` | Same as `textDocument/references` |
| `textDocument/hover` | Show messages and signatures upon hover |
| `textDocument/implementation` | GoTo implementation/Peek implementation |
| `textDocument/rename` | Rename a symbol across the workspace |
| `textDocument/didOpen` | Document synchronisation upon opening |
| `textDocument/didSave` | Document synchronisation upon saving |
| `textDocument/didClose` | Document synchronisation upon closing |
| `textDocument/didChange` | Document synchronisation upon changes to the document |
| `textDocument/codeAction` | **Experimental** Generate code |

## Acknowledgements

Expand Down
1 change: 1 addition & 0 deletions fortls/langserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def noop(request: dict):
"textDocument/signatureHelp": self.serve_signature,
"textDocument/definition": self.serve_definition,
"textDocument/references": self.serve_references,
"textDocument/documentHighlight": self.serve_references,
"textDocument/hover": self.serve_hover,
"textDocument/implementation": self.serve_implementation,
"textDocument/rename": self.serve_rename,
Expand Down