devchat-ai / devchat

Automate your dev tasks with AI-powered scripts, from your IDE's chat panel.
https://www.devchat.ai
Apache License 2.0
342 stars 39 forks source link

Feat: Implement Cross-IDE Interface for Text Selection and Visible Range Retrieval #263

Closed yangbobo2021 closed 7 months ago

yangbobo2021 commented 7 months ago

This pull request introduces a new interface within the devchat-core module, addressing the requirements outlined in issue #262.

Changes

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.