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

AutoDev Terminal improvment #135

Closed
phodal opened this issue Apr 4, 2024 · 0 comments
Closed

AutoDev Terminal improvment #135

phodal opened this issue Apr 4, 2024 · 0 comments
Assignees

Comments

@phodal
Copy link
Member

phodal commented Apr 4, 2024

No description provided.

phodal added a commit that referenced this issue Apr 4, 2024
phodal added a commit that referenced this issue Apr 4, 2024
This commit introduces a new extension module for terminal support, including a plugin and an action to generate shell scripts using AI. The `ext-terminal` module is added to the project and its dependencies are configured. The `plugin.xml` file is updated to include the `cc.unitmesh.terminal` module, and a new file `cc.unitmesh.terminal.xml` is created with the necessary plugin configuration.

Additionally, the `QuickAssistantAction` class is modified to include a new action for generating shell scripts, and the `autodev-core.xml` file is updated to add this action to the appropriate group. The `settings.gradle.kts` file is also updated to include the `ext-terminal` module in the project setup.
phodal added a commit that referenced this issue Apr 4, 2024
This commit introduces a new feature to the terminal extension, allowing users to generate shell scripts using AI. It modifies the `GenShellAction` class to include a popup window for input and output, and adds necessary imports and functions to handle the AI-generated script. The commit also includes copyright and license information for the new code.
phodal added a commit that referenced this issue Apr 4, 2024
The commit improves the shell command input popup by ensuring that the popup is shown relative to the correct component and that the focus is correctly restored to the original component after the popup is closed.
phodal added a commit that referenced this issue Apr 4, 2024
The commit addresses compatibility issues with version 222 by removing the import of `TerminalToolWindowManager` and adjusting the action performed to handle the tool window management differently.
phodal added a commit that referenced this issue Apr 4, 2024
This commit introduces a new feature to the terminal extension that provides users with shell command suggestions. When a user types a command in the terminal, the action will display a popup with suggested commands based on the user's input. This feature aims to enhance the user experience by providing quick and relevant suggestions, reducing the time and effort required to execute common commands. The implementation includes refactoring the rename lookup manager listener to use a custom rename lookup element and improving the shell command input popup by using more appropriate imports and methods from the UIUtil class.
phodal added a commit that referenced this issue Apr 4, 2024
This commit introduces a new feature that provides users with shell command suggestions based on their input. The suggestions are displayed in a popup window, offering a convenient way for users to execute common commands without having to remember them fully. The feature is implemented using a Velocity template to generate the suggestion message, which is then passed to a live-like-me (LLM) factory to stream the command output in real-time. This commit also includes the addition of a new resource file for the English localization of the suggestion message.
phodal added a commit that referenced this issue Apr 4, 2024
The shell command suggestion feature now directly writes plain messages to the widget, eliminating the need for a StringBuilder and improving performance and readability.
phodal added a commit that referenced this issue Apr 4, 2024


The ShellSuggestContext now includes today's date and the user's operating system, enhancing the context for more accurate and relevant suggestions.
phodal added a commit that referenced this issue Apr 4, 2024
phodal added a commit that referenced this issue Apr 4, 2024
…ggestCommand method to support new UI context #135
phodal added a commit that referenced this issue Apr 4, 2024
…context and add TerminalUtil class for message sending #135

The commit introduces a new class, `TerminalUtil`, which provides a utility method for sending messages to the terminal. It also refactors the `suggestCommand` method to use the new `TerminalUtil` class and to support the new UI context. Additionally, the commit updates the build script to include the new source and resource directories for the `241` platform version, and renames the `NewTerminalUiUtil` class to `TerminalUtil`.
phodal added a commit that referenced this issue Apr 4, 2024
…context and add TerminalUtil class for message sending #135

This commit refactors the suggestCommand method in ShellCommandSuggestAction to support a new UI context. It also introduces the TerminalUtil class for sending messages, improving the extensibility and usability of the terminal extension.
phodal added a commit that referenced this issue Apr 5, 2024
phodal added a commit that referenced this issue Apr 5, 2024
… UI context and add TerminalUtil class for message sending #135.
phodal added a commit that referenced this issue Apr 5, 2024
… UI context and add TerminalUtil class for message sending #135.
phodal added a commit that referenced this issue Apr 5, 2024
… UI context and add TerminalUtil class for message sending #135.
phodal added a commit that referenced this issue Apr 5, 2024
… UI context and add TerminalUtil class for message sending #135.
@phodal phodal closed this as completed Apr 5, 2024
@phodal phodal self-assigned this Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant