Skip to content

[CLOSED] Language Server Protocol Support for Brackets #11952

@core-ai-bot

Description

@core-ai-bot

Issue by jhasubhash
Tuesday Dec 04, 2018 at 13:37 GMT
Originally opened as adobe/brackets#14606


This covers the first cut of Language Server Protocol Support for Brackets.

Basic core implementation to:

  • Initiate/Stop a Language Server
  • Interact with Language Server
    • Completions
    • Signature Help
    • Diagnostics
    • Jump To Dec/Decl/Impl
    • Symbols
    • References
    • Synchronization Events (Text Document didOpen, didChange etc.)
    • Custom Request/Notification (so the developer can use commands not exposed in the initial implementation)
  • Bidirectional Request/Notification system for communication between Brackets and Language Server
  • Abstraction of LSP from Brackets (as far as possible)
  • Creation of Language Client that works as the handle to Language Server from Brackets side
  • Support for all communication types: IPC, Pipe, Socket and Standard I/O

TODO:

  • Move vscode-languageserver-protocol to Thirdparty
  • Tooling Manager
    • CodeHints
    • ParameterHints
    • Diagnostics
    • Jump to Def/Decl/Impl
    • Priority
    • Translate brackets events to LSP events
    • Default handlers for all the above Tooling Interfaces
  • Project level event handling
    • Project Switch
    • Reload with Extensions
  • Grunt modifications for build generation
  • UI
  • Tests

This feature can be experienced with the reference Language Client implementation for PHP here : adobe/brackets#14671


jhasubhash included the following code: https://github.com/adobe/brackets/pull/14606/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions