Commit Graph

13 Commits

Author SHA1 Message Date
Alex Hoppen
25cd302cad Remove dependency of LanguageServerProtocol on SKSupport
Apart from removing unnecessary imports, the following changes were
performed:
- Move CancellationToken from SKSupport to LanguageServerProtocol
- Move CustomCodable to its own module
  - CustomCodable belongs in LanguageServerProtocol but moving it there
    causes compilation to fail. As a workaround, move it to its own
    module
2019-11-13 12:02:14 -08:00
Bruno Rocha
9eb2fe4453 Clean implementation 2019-10-04 12:34:09 -03:00
Bruno Rocha
a84eaaa478 Apply review comments (LSPAnyCodable/Cleaning) 2019-10-03 11:37:24 -03:00
Ben Langmuir
2c460cb2d5 Move custom PositionRange encoding into a property wrapper
This lets us use the `Range<Position>` without manually converting back
and forth in the majority of cases. See the note on HoverResponse for
the behaviour with Optional that makes us have to provide a custom
Codable implementation in two places that used to be synthesized.
2019-10-02 14:38:40 -07:00
Bruno Rocha
7180d66e60 Avoid using decoders for retrieving dictionary data 2019-09-24 17:21:32 -03:00
Bruno Rocha
e71965fc7d Inject metadata at commands 2019-09-24 17:21:32 -03:00
Bruno Rocha
cef91670f5 Add ExecuteCommand/ApplyEdit 2019-09-24 17:21:32 -03:00
Bruno Rocha
a60c50d1db Make CodeAction wrapper types an enum 2019-06-19 22:57:40 -03:00
Bruno Rocha
24119a373c Remove CodeAction @escaping compiler workaround 2019-06-19 22:00:18 -03:00
Bruno Rocha
7a97393945 Make CommandArguments an enum 2019-06-19 22:00:18 -03:00
Bruno Rocha
69b6663005 Add CodeActions/Command (Rework) 2019-06-19 22:00:18 -03:00
Bruno Rocha
0a248b67bf Rework the Command architecture 2019-06-19 21:57:58 -03:00
Bruno Rocha
5406e861b0 Add codeActions API 2019-06-19 21:57:58 -03:00