yzhengfei / ai-coding

0 stars 0 forks source link

Can not scroll in the chat side menu and screen flickering a lot while GPT respond #54

Closed beshoo closed 1 month ago

beshoo commented 2 months ago

Dear support , i do have the latest version of PHPSTROM, and the latest version of ai-coding image

image

I have this problem : image

yzhengfei commented 2 months ago

Hi, please provide all the plugins you have installed (no need to include screenshots of PhpStorm's built-in plugins). I am unable to reproduce this issue on both Windows and Mac systems. I suspect that one of the plugins you installed has modified IDEA's Editor information, causing problems with the Editor height that I obtain. I will install all the plugins you have installed to see if I can reproduce this issue.

image

image

beshoo commented 2 months ago

image

beshoo commented 2 months ago

Why are you a fan of this menu, I told you before it is easy to make a sidebar like all AI plugins! this way you solve flickering problems. 100% and for sure you will solve scrolling " If some plugin play with the environment " , the overlay you are making is not good , it is not user-friendly!

Check this video https://dl.dropboxusercontent.com/scl/fi/odmjaglcs208svs8arfk7/Untitled-Project.mp4?rlkey=7k9sof60c88n0amzlce6z2ib0&dl=0

beshoo commented 2 months ago

check Codeium:

image

yzhengfei commented 2 months ago

Hi, thank you for your feedback. Your persistence has touched me. I will be restructuring the interaction experience in a future version. In the meantime, you can try this version to see if the scrolling issue still occurs. I will redesign the interaction experience based on your feedback.

Here’s some explanation:

AI Coding-2024.1.12.1.zip

image

beshoo commented 2 months ago

Hi The scrolling problem seems to be solved with this update, but the screen's flickering while generating the code is not. please watch the video.

Thank you for the update!

beshoo commented 2 months ago

image

yzhengfei commented 2 months ago

Issue 1: The icon menu obstruction problem does not have a better solution at the moment. I've reviewed the source code for the IDEA Editor, and it doesn't provide an API to disable this feature. image

Issue 2: The flickering issue doesn't occur on Mac. I'll continue to investigate and see if there's a way to resolve it.

If any new problems arise, contact me. Thank you.

beshoo commented 2 months ago

Hi. I just updated to the latest AI coding, and it seems you did not include AI Coding-2024.1.12.1.zip patch in it.

image Because I can not scroll now ! with this update Please confirm

yzhengfei commented 2 months ago

Hello, AI Coding-2024.1.12.1.zip has some compatibility issues that are still being resolved. I've had some other matters to attend to recently. I will notify you here when there are new developments. I hope to solve this problem in the next version. Thank you.

beshoo commented 2 months ago

Even with the new update , flickering still happens , less than before.

On Sun, Sep 1, 2024, 12:12 PM yzhengfei @.***> wrote:

Hello, AI Coding-2024.1.12.1.zip has some compatibility issues that are still being resolved. I've had some other matters to attend to recently. I will notify you here when there are new developments. I hope to solve this problem in the next version. Thank you.

— Reply to this email directly, view it on GitHub https://github.com/yzhengfei/ai-coding/issues/54#issuecomment-2323246656, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT232FMXVJ5LVOLNGYSLZULK6PAVCNFSM6AAAAABMGRQCMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRTGI2DMNRVGY . You are receiving this because you authored the thread.Message ID: @.***>

yzhengfei commented 2 months ago

Even with the new update , flickering still happens , less than before. On Sun, Sep 1, 2024, 12:12 PM yzhengfei @.> wrote: Hello, AI Coding-2024.1.12.1.zip has some compatibility issues that are still being resolved. I've had some other matters to attend to recently. I will notify you here when there are new developments. I hope to solve this problem in the next version. Thank you. — Reply to this email directly, view it on GitHub <#54 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT232FMXVJ5LVOLNGYSLZULK6PAVCNFSM6AAAAABMGRQCMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRTGI2DMNRVGY . You are receiving this because you authored the thread.Message ID: @.>

I've found one of the causes of the flickering issue, and it will be fixed in the next version.

yzhengfei commented 2 months ago

Hi, try this version. I've added a chat window to the sidebar. Looking forward to your feedback!

AI Coding-2024.1.14.zip

beshoo commented 2 months ago

Thank you for this update, but now when I click on the image

Nothing happened!

While I do have commands prompt

image

PS: Why did you remove the cookie collector from the setting, now we have to go to get it by hand! PS: How can we ask any question to the AI, no place to chat/type qustions in the sidebar window

yzhengfei commented 2 months ago

Check if there is an error message in the lower right corner of Idea when clicked. If there is, click to report it. If there is no error reported, I will troubleshoot the cause later.

In the case of Bing Copilot without a login status, you can ask four times per conversation, which is basically sufficient. When the number of conversation times is used up, create a new conversation. If there are special requirements, you can just paste it from the browser. If necessary, I will add it back later.

beshoo commented 2 months ago

The error: https://github.com/yzhengfei/ai-coding/issues/71

I mean that I can not chat or ask anything there is no place to ask a question, am not referring to the count of chat usually it is 30 ..

image

Regarding the "If necessary, I will add it back later." please read cookies collector

yzhengfei commented 2 months ago

Thanks! I have received the error report and I roughly know the specific reason. It will take some time to fix it. You can install and use the AI Coding-2024.1.12.1.zip version first. It's really strange. I specially installed phpstorm on the virtual machine's Windows system and tested it without any problems. 😂

beshoo commented 2 months ago

virtual machine is not the correct approach, You need the real windows on a real PC! You are welcome to test via anydesk on my pc

On Thu, Sep 5, 2024 at 4:47 PM yzhengfei @.***> wrote:

Thanks! I have received the error report and I roughly know the specific reason. It will take some time to fix it. You can install and use the AI Coding-2024.1.12.1.zip version first. It's really strange. I specially installed phpstorm on the virtual machine's Windows system and tested it without any problems. 😂

— Reply to this email directly, view it on GitHub https://github.com/yzhengfei/ai-coding/issues/54#issuecomment-2331729764, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT27E2ZV7TEH7YLUA4RTZVBOFJAVCNFSM6AAAAABMGRQCMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZRG4ZDSNZWGQ . You are receiving this because you authored the thread.Message ID: @.***>

yzhengfei commented 2 months ago

It is very necessary to have a PC with Windows on it. The cause of the problem is known. Wait for me to optimize a version. Thank you for your support.

yzhengfei commented 2 months ago

AI Coding-2024.1.14.zip

Please test this version again. Thanks

image

beshoo commented 2 months ago

AI Coding-2024.1.14.zip This is the best version you ever made See, I told you a long time ago, to use the sidebar. Now everything works No flickering, I can scroll to the bottom with no problem.

Now I don't know if that can be possible, to make something like a copilot, to autocomplete the code! but I believe it is hard and slow!

But waw now it is almost perfect!

beshoo commented 2 months ago

image Click what?

yzhengfei commented 2 months ago

AI Coding-2024.1.14.zip This is the best version you ever made See, I told you a long time ago, to use the sidebar. Now everything works No flickering, I can scroll to the bottom with no problem.

Now I don't know if that can be possible, to make something like a copilot, to autocomplete the code! but I believe it is hard and slow!

But waw now it is almost perfect!

Code autocompletion is currently supported, but only by some AI providers. You can refer to the following steps for specific settings.

Note: Code autocompletion is still in beta. While coding, the context surrounding your cursor will be passed to the AI. However, currently only the Java language is processed. For other languages, only the 200 lines of code surrounding the cursor in the current file and other open tabs will be passed to the AI. In the future, I will gradually integrate other languages based on the actual usage of the plugin.

AI providers that support code autocompletion

image

Here's an example using Anthropic

Fill in the necessary information required by the AI provider

image

Click the Code completions tab. The plugin provides several templates by default. For Anthropic, select the Generic template.

Select the configured AI provider.

Note: When selecting, choose the AI provider under Code completions. It's easy to select the wrong one when there are many AI providers. I will optimize this interaction experience later. image

Congratulations, you can now use the code autocompletion feature!

image

How to disable the code autocompletion feature

image