This pull request introduces a new interface within the devchat-core module, addressing the requirements outlined in issue #262.
Changes
A new interface has been created for IDE services to manage text selection and visible range retrieval.
Cross-IDE support has been enhanced, ensuring compatibility with both vscode and IntelliJ.
A unified response format across IDEs is introduced with the LocationWithText type.
This interface aims to provide a seamless integration experience for developers using various IDEs and to enhance the tool's versatility and user-friendliness. It now supports consistent text selection and visible range retrieval functionalities across vscode and IntelliJ.
Detailed documentation on how to utilize the new interface, as well as examples and use cases, will be provided. Unit tests have also been included to ensure the reliability of the new functionality and prevent future regressions.
The implementation takes into account performance implications to maintain a responsive user experience during operation.
This pull request introduces a new interface within the
devchat-core
module, addressing the requirements outlined in issue #262.Changes
LocationWithText
type.This interface aims to provide a seamless integration experience for developers using various IDEs and to enhance the tool's versatility and user-friendliness. It now supports consistent text selection and visible range retrieval functionalities across vscode and IntelliJ.
Detailed documentation on how to utilize the new interface, as well as examples and use cases, will be provided. Unit tests have also been included to ensure the reliability of the new functionality and prevent future regressions.
The implementation takes into account performance implications to maintain a responsive user experience during operation.
Closes devchat-ai/devchat#262.