krasa / GrepConsole

IntelliJ plugin - https://plugins.jetbrains.com/plugin/7125
Apache License 2.0
436 stars 57 forks source link

Grep console can not work in GoLand2020.1 #175

Open fatekiller opened 4 years ago

fatekiller commented 4 years ago

Describe the bug Grep console can not work in GoLand2020.1 Only when Run Kind is File it Can Work, if choose Package, the toolbar does not show.

krasa commented 4 years ago

Works fine for me. image

GoLand 2020.1.3
Build #GO-201.7846.93, built on June 3, 2020
Licensed to GoLand Evaluator
Expiration date: July 5, 2020
Runtime version: 11.0.7+10-b765.53 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1976M
Cores: 4
Registry: ide.completion.variant.limit=500, suggest.all.run.configurations.from.context=true, go.run.processes.with.pty=false, ideFeaturesTrainer.welcomeScreen.tutorialsTree=TRUE
Non-Bundled Plugins: GrepConsole, String Manipulation
johndark commented 4 years ago

Hi, same issue here GoLand 2020.1.3 image-1

It started from 2020 first update. Jetbrains changed run console output.

krasa commented 4 years ago

could you post steps how to reproduce it? OS? Screenshots?

johndark commented 4 years ago

I really have no idea how to reproduce it. I did full reinstall GoLand with cache clear + File->Invalidate Caches / Restart.. same result. go version go1.14.2 windows/amd64 Build #GO-201.7846.93, built on June 3, 2020 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10 Pro x64 1909 16 GB RAM Cores: 4

image-2 image-3 image-4

There is very suspicious cursor in the console, this appeared with the release of version 2020.1 From that moment, the plugin stopped working. And the output in the console very often fails, i.e. information does not go sequentially, but in pieces in different places. Now it’s not as often as in 2020.1, but it still happens. Something like on the screenshot below: image-5

krasa commented 4 years ago

Ok, it is happening because it is not a console, but a terminal.
You can return it back by: ctrl shift A | Registry.... | change go.run.processes.with.pty to false Not sure why my registry options were like that...

johndark commented 4 years ago

Thanks a lot! You saved me :)

adzimzf commented 4 years ago

Thanks you saved my live

binderclip commented 4 years ago

ctrl shift A | Registry.... | change go.run.processes.with.pty to false

for Mac:

cmd shift A | Registry.... | change go.run.processes.with.pty to false

image

hokitlee commented 4 years ago

Thanks a lot! :)

hxy1991 commented 2 years ago

@binderclip Thanks a lot! :)

aint commented 2 years ago

Ok, it is happening because it is not a console, but a terminal. ctrl shift A | Registry.... | change go.run.processes.with.pty to false

@krasa could we add that to the README?

Wangmin362 commented 1 year ago

Ok, it is happening because it is not a console, but a terminal. You can return it back by: ctrl shift A | Registry.... | change go.run.processes.with.pty to false Not sure why my registry options were like that...

thinks, it also work on IDEA when developing golang project

quan-xiansheng commented 1 year ago

cool