Skip to content

v1.0.5

Choose a tag to compare

@github-actions github-actions released this 14 Jun 07:46
f2f9320

What's Changed

Generated by Github Copilot

This merge request includes several improvements to LSP (Language Server Protocol) integration and documentation:

LSP Completion Enhancements

  • Added intelligent completion item sorting based on prefix matching (exact match, prefix match with case sensitivity, and case-insensitive matching)
  • Simplified the replace range detection logic for completions
  • Improved completion sorting to show most relevant results first

LSP Server Robustness

  • Added support for text document synchronization kind detection from server capabilities
  • Implemented proper handling of full vs. incremental text synchronization
  • Improved LSP initialization to skip notifications during server startup
  • Enhanced LSP packet reading with better timeout handling and error reporting
  • Fixed completion list parsing to handle both array and object responses from LSP servers

Bug Fixes

  • Fixed UTF-16 offset calculations for proper LSP position encoding
  • Corrected action parameter order in undo/redo operations
  • Improved error handling in LSP notification and response dispatchers (replaced assertions with proper logging)

Documentation Updates

  • Fixed README table formatting for LSP server examples
  • Updated LSP server names and installation commands for accuracy:
    • HTML: html-languageservervscode-html-language-server
    • CSS: css-languageservervscode-css-language-server
    • JSON: json-languageservervscode-json-language-server
    • Makefile: Updated command to use cargo install makefile-lsp
    • VHDL: Updated to vhdl_ls with proper cargo installation

Code Quality

  • Refactored logger functions for better organization
  • Added logger threshold getter function
  • Improved code formatting and consistency throughout

Full Changelog: v1.0.4...v1.0.5