Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Separate Export for LSP Services #1258

Merged
merged 5 commits into from Feb 13, 2024
Merged

Commits on Feb 12, 2024

  1. Copy the full SHA
    08d9bad View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. added an export * from 'vscode-languageserver-textdocument'; to 'do…

    …cuments.ts for convenience
    
    * the overhead is just very few kilobytes
    * changed all imports of 'TextDocument' to point to langium
    sailingKieler committed Feb 13, 2024
    Copy the full SHA
    06bd069 View commit details
    Browse the repository at this point in the history
  2. introduced 'utils/cancellation.ts' doing only "export * from 'vscode-…

    …jsonrpc/lib/common/cancellation.js';"; updated related imports
    
    aims at providing cancellation related types and symbols with smallest possible overhead while avoiding code clones
    sailingKieler committed Feb 13, 2024
    Copy the full SHA
    2f5e1d2 View commit details
    Browse the repository at this point in the history
  3. updated to version of eslint offering rule 'no-restricted-imports', a…

    …dded linting rule preventing imports from 'vscode-jsonrpc'
    sailingKieler committed Feb 13, 2024
    Copy the full SHA
    329217b View commit details
    Browse the repository at this point in the history
  4. replaced imports from 'vscode-languageserver' by imports from 'vscode…

    …-languageserver-types' in langium's core modules (non-lsp, non-grammar)
    sailingKieler committed Feb 13, 2024
    Copy the full SHA
    64ab0b4 View commit details
    Browse the repository at this point in the history